Jump to content
JoseGut

Products, Modules & Performance not working in NO DEBUG MODE

Recommended Posts

Hi,

I'm working on a 1.7.4.2 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

Hi,

 

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;
    define('_PS_CACHE_DIR_',$prestashopCacheDir);

  • 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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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