somchay Posted August 17, 2017 Share Posted August 17, 2017 Hi when i enable debug mod occur Notice on line 429 in file /public_html/app/cache/dev/classes.php [8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php70) failed: Permission denied (13) and i don't have /php/sessions/ea-php70 files in cpanel prestashop 1.7.2 Link to comment Share on other sites More sharing options...
gabdara Posted August 17, 2017 Share Posted August 17, 2017 From the first screenshot it seems that one of the carts in your store is looking for an address with id 9 that it cannot find. What you could do is to go to your database (using phpmyadmin or anything else) in table ps_cart and look after columns id_address_delivery and id_address_invoice where you can find the id 9 and replace it with 0. Or you could go to table ps_address and create a new address that will have the id 9. If after you do one of the above you still get the error, pay attention to the first line where it says Invalid address #, there might be other addresses missing as well with other ids and you should do the same for those too. As for the Session error, it sounds like a bad server configuration. 1 Link to comment Share on other sites More sharing options...
charafi Posted December 19, 2017 Share Posted December 19, 2017 i activate debug mode and got this notice also : Notice à la ligne 93 du fichier /home2/migarose/public_html/vendor/symfony/symfony/src/Symfony/Component/HttpFoundation/Session/Storage/Proxy/SessionHandlerProxy.php[8] SessionHandler::gc(): ps_files_cleanup_dir: opendir(/var/cpanel/php/sessions/ea-php70) failed: Permission denied (13) i also get this error please can i have a help here please !!! NB: the site is working normally and i am using a CDN cloudflare Link to comment Share on other sites More sharing options...
marcin_jaworski Posted March 28, 2018 Share Posted March 28, 2018 In front \classes\controller\FrontController.php change this: private function initDebugguer() { if (true === _PS_MODE_DEV_) { Debug::enable(); } } To private function initDebugguer() { if (true === _PS_MODE_DEV_) { Debug::enable(error_reporting()); } } Now in \config\defines.inc.php you can set php errors level http://php.net/manual/pl/function.error-reporting.php For example you can set: if (_PS_MODE_DEV_ === true) { @ini_set('display_errors', 'on'); //@error_reporting(E_ALL | E_STRICT); @error_reporting(E_ALL ^ E_NOTICE); define('_PS_DEBUG_SQL_', true); } else { @ini_set('display_errors', 'off'); define('_PS_DEBUG_SQL_', false); } 1 Link to comment Share on other sites More sharing options...
Designinfo.in Posted July 29, 2019 Share Posted July 29, 2019 I have this same error, changed the path file to /tmp in php.ini yet the same error is showing. 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