Jump to content

Products, Modules & Performance not working in NO DEBUG MODE

Recommended Posts


I'm working on a shop. When I quit DEBUG MODE, I get a 500 ERROR message when accessing menus Modules, Products & Performance on the BO. The shop works fine on localhost in MAMP, but not when uploaded to the server.

I also have a problem -even in debug mode- updating some parts of the products files - "a small red popup says "Configuration could not be updated." NO error is recorded on logs.

I guess it must be something on server configuration, but I cannot find what's really happening. I didn't find a solution so far in this forum, so I throw the question again: can somebody help me with this?

Please, I'm in a hurry

Share this post

Link to post
Share on other sites



Solved for me. I deleted the folders dev and prod that are in root inside the folder "var". Now everything goes softly ;) I can quit DEBUG MODE, I have no problems updating products, etc. 


To see where your shop is recording the cache files, take a look at around line 69 in config/defines.inc.php, where it says:

if (!defined('_PS_CACHE_DIR_')) {
    $prestashopCacheDir =  _PS_ROOT_DIR_
.'/var/cache/'.(_PS_MODE_DEV_ ? 'dev': 'prod'). DIRECTORY_SEPARATOR;

  • Like 3

Share this post

Link to post
Share on other sites

Thank you for this info! I had the same problem and everything works like a dream after following your advice

Share this post

Link to post
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


Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More