![]() |
|
Odd too large msg Requested Entity Too Large - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Odd too large msg Requested Entity Too Large (/thread-13398.html) |
Odd too large msg Requested Entity Too Large - steves - 2020-04-27 I have set Odd too large msg Requested Entity Too Large - acrylian - 2020-04-28 These limits have nothing to do with memory issues regarding image processing: https://www.zenphoto.org/news/problems-with-albums-and-images/ Odd too large msg Requested Entity Too Large - steves - 2020-04-28 Thanks, those are helpful! Odd too large msg Requested Entity Too Large - acrylian - 2020-04-28
If you read above you notice that hte file size is not the issue if this is really a processing one. Where exactly do you get this message and using what uploader? On the uploader/browser log (js error) or PHP error? Please post the complete error message if there is more (anonymized naturally). Odd too large msg Requested Entity Too Large - steves - 2020-05-01 The message appears when I try to use the menu option Upload, with the same result using either of the two upload options (http/jQuery). It then starts the upload with a progress bar. Once completed (2 seconds later) it then replaces the whole line where I picked the file with a red box and red text. The complete and exact error msg is: DSCF0030.JPG 4.68MB Error: Request Entity Too Large It has a trash icon at the end which does not appear to do anything. This is all in user land in the browser (same result with Firefox and Chrome). Above all of these is a yellow section that tells me that the maximum size for the total upload is 1GB. Sorry, I figured this was not an unknown error and did not go into enough detail. Odd too large msg Requested Entity Too Large - acrylian - 2020-05-01 Is there any other messge within the browser log (console) or PHP error log? I doubt this is a direct Zenphoto problem. If I understand right you run your own server. There are lots of option to set so I like to point to this quickly googled resourece https://www.keycdn.com/support/413-request-entity-too-large which seems to suggest there might be a server requerst limit in place that is additionally to the PHP limits you mentioned already. I never encountered this specific issue unless using really large/huge images. But I also never manage/configure my own server and lets webhosts do that (our own site runs on fairly normal webspace as well). Odd too large msg Requested Entity Too Large - fretzl - 2020-05-01 I came across this thread in the CentOS forum where a similar issue is solved by [i]increasing SecRequestBodyLimit parameter in mod_security.conf[/i] Odd too large msg Requested Entity Too Large - steves - 2020-05-03 Thanks, interesting, but not sure how to reconcile that you don't have mod_security as a dependency nor do I have it installed. It, I'm guessing, would think there was something wrong and block it. But here with it not being installed makes it not look like the correct why. Looking at log files I see: access.log Here we have the http error 413 (Request entity too large). Odd too large msg Requested Entity Too Large - fretzl - 2020-05-03 Have you checked the link @acrylian mentioned in his anwer above? Odd too large msg Requested Entity Too Large - acrylian - 2020-05-03 As @fretzl mentions the article I linked also refers to a requestBody setting indepently of modsecurity. Your server error is from the access log so it is a server side issue. Also check if you have other security extensions in place like suoshin or others. These are known to cause all kind of issues if set to strict. Odd too large msg Requested Entity Too Large - steves - 2020-05-03 No, I managed to miss that one. Which interestingly was the answer. There is a server default of 1M. I made it 0 for unlimited, and we'll see how that works out. Thank you guys for hanging in there with me!! Odd too large msg Requested Entity Too Large - steves - 2020-05-03 In case my reply was not entirely clear, that was the answer. It now works. My ref to "we'll see how that works out" was in regards to operating with unlimited. Odd too large msg Requested Entity Too Large - acrylian - 2020-05-04 Glad you figured it out! |