JoseGut Posted September 2, 2018 Share Posted September 2, 2018 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 Link to comment Share on other sites More sharing options...
JoseGut Posted September 3, 2018 Author Share Posted September 3, 2018 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); 3 Link to comment Share on other sites More sharing options...
Donny81 Posted May 1, 2019 Share Posted May 1, 2019 Thank you for this info! I had the same problem and everything works like a dream after following your advice Link to comment Share on other sites More sharing options...
Kevin Padillo Posted September 26, 2019 Share Posted September 26, 2019 This is awesome, works like a charm. I've been working with debug mode enabled since I started working with Prestashop. Thank you very much for this help! Cheers! 🍷🍷🍷 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now