Jump to content

PS 8.1.4 in backend, Positions menu item > error 500


Recommended Posts

Hi you all

My backend returns me an error 500 when I click on Design/Positions... Frontend works apparently without problems.
Theme is the standard Classic theme of PS, I maybe disabled some blocks in footer or somewhere else but using backend UI (not hard modifications directly on files)
What can I do?
(I have ftp access to server) 

Immagine 2024-09-13 165300.png

Link to comment
Share on other sites

Thank you Krystian
I entered via plesk php settings related to my domain and I have:
2048Mb as memory_limit
30sec as max_execution_time

I don't think it's a "hardware/configuration limit" that crashes the page, it seems something else: Error 500 page appears after few seconds from click on menu, is not a timeout or similar...

I had that response from apache when I made a php script with a division-by-0 bug, here PrestaShop behaviour is similar, as for an out-of-bounds array or a NULL unexpected value during page load (I wish I explained correctly my idea)... but what/how to check?

Link to comment
Share on other sites

Quote

Make sure to go to cpanel or plesk panel whatever your using and click on Apache and nginx settings for your domain.com you are using and insert this code click apply .

<IfModule mod_security2.c>

SecResponseBodyLimit 546870912

</IfModule>

insert it in your Additional directives for HTTP and HTTPS

Thank you ps8modules but I can't find where to write that directive on my Plesk  panel....  the only Apache related page shows me activated modules, no way to write anything here, so I tried to edit htaccess in site root adding that rows but it crashes entire front and backend (error 500)..
 

Link to comment
Share on other sites

I was happy to help 😉
It will certainly be good to increase other parameters in the same setting, at the very bottom.

image.png.e33fe38024dcf20883aa3d03aa1b4fee.png

 

If you have a more powerful VPS, you can set more in the Additional HTTP/HTTP directives:

<IfModule mod_fcgid.c>
	FcgidMaxRequestsPerProcess 500000
	FcgidIOTimeout 300000
	FcgidBusyTimeout 3600
	FcgidMaxRequestLen 1073741824
	FcgidProcessLifeTime 7200
	FcgidMaxProcessesPerClass 40
	FcgidIdleTimeout 30000
	FcgidProcessLifeTime 30000
</IfModule>

<IfModule mod_security2.c>
	SecRequestBodyLimit 2147483647
	SecRequestBodyNoFilesLimit 2147483647
	SecResponseBodyLimit 546870912
</IfModule>

 

Edited by ps8modules (see edit history)
  • Thanks 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...