Report any technical problems you discover and discuss solutions.

Upload file size problem

Plus d'informations
il y a 5 ans 5 mois #7237 par Javier
Upload file size problem a été créé par 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 5 mois #7238 par tom
Réponse de tom sur le sujet 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.

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 5 mois #7239 par ronm
Réponse de ronm sur le sujet 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/

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 4 mois #7313 par Javier
Réponse de Javier sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 4 mois #7317 par Javier
Réponse de Javier sur le sujet 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

Connexion ou Créer un compte pour participer à la conversation.

Plus d'informations
il y a 5 ans 4 mois #7318 par tom
Réponse de tom sur le sujet Upload file size problem
Thank you for getting back on this and gving the solution. Much appreciated!

Connexion ou Créer un compte pour participer à la conversation.

Modérateurs: ronmjultenJohnSmith
Temps de génération de la page : 0.167 secondes
Copyright © 2026 The Xerte Project.
Xerte logo Apereo logo OSI Logo