Report any technical problems you discover and discuss solutions.

Upload file size problem

  • Javier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 5 months ago #7237 by Javier
Upload file size problem was created by Javier
Hello Xerte guys,

I'm having some issues with the media upload plugin (elfinder). When I try to upload a 32Mb file this message popup 'Enable to connect to backend' and in the browser debug console shows "Failed to load resource: the server responded with a status of 413 (Request Entity Too Large) /u2c/tk300900/editor/elfinder/php/connector.php". It works fine with up to 12Mb files. I have increased some values in Php.ini as per previous posts and internet search recommendations:

file_uploads = On
max_input_time = 300
max_execution_time = 300
memory_limit = 200M
post_max_size = 200M
upload_max_filesize = 200M
max_file_uploads = 200

but it still doesn't work.

Maybe some of you has face this problem before and found some solutions.

Thank you in advance for any suggestion.

Javier Martinez

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #7238 by tom
Replied by tom on topic Upload file size problem
Just to make sure:

Did you restart apache after changing the values in the php.ini file? If yes, make sure you have the correct php.ini file (the one used by apache, not the one used by the command line version.

Please Log in or Create an account to join the conversation.

More
5 years 5 months ago #7239 by ronm
Replied by ronm on topic Upload file size problem
Is this a Windows server or Linux?
If the latter did you restart Apache after making those changes?

Xerte developer & trainer
e-learning & m-learning consultant
mitchellmedia.co.uk | xerteacademy.com | learningapps.co.uk
Note: Support here is voluntary and meant for users to support each other.
Need direct commercial support with Xerte? mitchellmedia.co.uk/contact/

Please Log in or Create an account to join the conversation.

  • Javier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #7313 by Javier
Replied by Javier on topic Upload file size problem
Sorry for the late response. The system is a Windows Server 2019 with IIS version 10 and the server and IIS have been restarted several times. USER_FILES folder has r/w permission for Users. Any other ideas?

Thanks,

Javier

Please Log in or Create an account to join the conversation.

  • Javier
  • Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 4 months ago #7317 by Javier
Replied by Javier on topic Upload file size problem
Hi guys,
Finally I found the solution for the upload file size problem. It was related to the IIS default settings limiting the uploading file size. I poste it below in case other people face the same problem:
In your web.config file add/modify the following properties
1) maxRequestLength (Kilobytes)
2) maxAllowedContentLength (Bytes)

<system.web>
<!--The default size is 4096 kilobytes (4 MB). MaxValue is 2147483647 KB (2 TB)-->
<!-- 100 MB in kilobytes -->
<httpRuntime maxRequestLength="102400" />
</system.web>
<system.webServer>
<security>
<requestFiltering>
<!--The default size is 30000000 bytes (28.6 MB). MaxValue is 4294967295 bytes (4 GB)-->
<!-- 100 MB in bytes -->
<requestLimits maxAllowedContentLength="104857600" />
</requestFiltering>
</security>
</system.webServer>

Thanks,

Javier

Please Log in or Create an account to join the conversation.

More
5 years 4 months ago #7318 by tom
Replied by tom on topic Upload file size problem
Thank you for getting back on this and gving the solution. Much appreciated!

Please Log in or Create an account to join the conversation.

Moderators: ronmjultenJohnSmith
Time to create page: 0.150 seconds
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo