Jump to content

[SOLVED] Prestashop 1.7 HTTP error 500, can't get out of maintenance mode


Recommended Posts

Hi! I am in a difficult situation. I migrated my old prestashop to 1.7.6 and at first everything was just fine. Then I started to get HTTP error 500 in some changes I tried to make. Now I am stucked in back office home page and can't open almost any other pages. The front is working ok, but I can't even turn the maintenance mode off. Can somebody help me to find out what could be wrong?

Edited by Tirppis (see edit history)
Link to comment
Share on other sites

Like JBW said, in order to deactivated the debug mode... change the defines.inc.php file  (you will find it in on your server in public_html/config)

 

You will find there a line like:

 

if(!defined('_PS_MODE_DEV_')){

define('_PS_MODE_DEV_',true);

}

Change true to false and your backoffice will work normally.

Link to comment
Share on other sites

Actually I found out there was some changes in PHP options (by the webhost). I allowed intl and opcache and now some of the pages are working. But i still keep getting HTTP error. And if I try to clear cache I get:

(1/1) OutOfMemoryException

Error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 1613824 bytes)

in ContainerBuilder.php line 1603

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