Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
Report any technical problems you discover and discuss solutions.
  • Page:
  • 1

TOPIC:

Upload file size problem 1 year 3 months ago #7237

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
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.

Upload file size problem 1 year 3 months ago #7238

  • tom
  • tom's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 1159
  • Thank you received: 255
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.

Upload file size problem 1 year 3 months ago #7239

  • ronm
  • ronm's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 757
  • Thank you received: 217
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.

Upload file size problem 1 year 2 months ago #7313

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
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.

Upload file size problem 1 year 2 months ago #7317

  • Javier
  • Javier's Avatar Topic Author
  • Offline
  • New Member
  • New Member
  • Posts: 12
  • Thank you received: 0
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.

Upload file size problem 1 year 2 months ago #7318

  • tom
  • tom's Avatar
  • Away
  • Administrator
  • Administrator
  • Posts: 1159
  • Thank you received: 255
Thank you for getting back on this and gving the solution. Much appreciated!

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

  • Page:
  • 1
Moderators: ronmjultenjjs
Time to create page: 0.047 seconds
Copyright © 2022 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search