Jump to content

Why so often internal server errors 500?


Recommended Posts

Hi guys,

I run an online shop based on prestashop 1.7 and as I can see, even if the shop runs really well and I can't complain, in the back office I often get intenal server errors.... for example: when i clear the cache, or maybe when I'm resetting a module or trying to configure a new one...

It's really common for my shop to get this error. Sometimes, I refresh the page and the problem is solved but other times it's necessary to contact the host company, and hope that they can find he problem. Sometimes is a folder to delete, some other times is a module folder to delete... for examble acqually I have my backoffice down due to internal server error, the error shows up while i was trying to reset a module (due to module malfunction). And actually is everything down, the hosting assistance don't seems to be able to find a solution and the server log only display this error that, for me, is not understandable:

[error] [client 151.67.234.5] - www.jollyrogerbay.it - AH01071: Got error 'PHP message: PHP Fatal error: require(): Failed opening required '/web/htdocs/www.jollyrogerbay.it/home/shop/var/cache/prod/ContainerIsvlu27/removed-ids.php' (include_path='/web/htdocs/www.jollyrogerbay.it/home/shop/vendor/pear/pear_exception:/web/htdocs/www.jollyrogerbay.it/home/shop/vendor/pear/console_getopt:/web/htdocs/www.jollyrogerbay.it/home/shop/vendor/pear/pear-core-minimal/src:/web/htdocs/www.jollyrogerbay.it/home/shop/vendor/pear/archive_tar:.:/php7.2/lib/php') in /web/htdocs/www.jollyrogerbay.it/home/shop/var/cache/prod/ContainerIsvlu27/appProdProjectContainer.php on line 1682\n', referer MYBACKOFFICEURL?controller=AdminSearchConf&token=558898ff21966aa376ff5fd998000b7e&conf=4&conf=4&conf=4&conf=4&conf=4&conf=4

Link to comment
Share on other sites

On 2/15/2022 at 1:44 PM, JBW said:

This error is due to a corrupted cache. You can clear the error by renaming /var/cache to /var/cache_old on your server.

This fix, totally solved the problem. Thanks really a lot, mate. Now I'm able to solve this problems everytime they occur, avoiding contact my hosting company, thank you very very much 

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...