Compolux Posted May 29, 2014 Share Posted May 29, 2014 Hello, I try switch on "Caching" in menu (Advanced Parameters-Performance) but my e-shop is down. I´m not able to sign in to prestashop admin and switch off "caching". Is some possibility how to fix this problem? I´m able to go to my database. I´m using prestashop 1.6 and address of my shop is www.i-svitidla.cz Thank you Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 turn on error reporting, will see what's going on then Link to comment Share on other sites More sharing options...
Compolux Posted May 29, 2014 Author Share Posted May 29, 2014 turn on error reporting, will see what's going on then How to turn on error reporting pls? I have no permision to admin website. Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 you don't need access to bo in this case you have to access to prestashop filesystem, so connect to your FTP service open: config/defines.inc.php find this line: define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); Link to comment Share on other sites More sharing options...
Compolux Posted May 29, 2014 Author Share Posted May 29, 2014 you don't need access to bo in this case you have to access to prestashop filesystem, so connect to your FTP service open: config/defines.inc.php find this line: define('_PS_MODE_DEV_', false); change to look like this: define('_PS_MODE_DEV_', true); So I done it. Where Can I see some report pls? Link to comment Share on other sites More sharing options...
vekia Posted May 29, 2014 Share Posted May 29, 2014 okay so now try to open your back office do you see some error messages then? Link to comment Share on other sites More sharing options...
Compolux Posted May 29, 2014 Author Share Posted May 29, 2014 (edited) . Edited May 29, 2014 by Compolux (see edit history) Link to comment Share on other sites More sharing options...
Compolux Posted May 29, 2014 Author Share Posted May 29, 2014 (edited) There is problem, when I try to go to backoffice page, it s no possible. Page is only loading, but nothing happend it s same like my e-shop page. So after many minutes, there is this warning: "Fatal error: Uncaught MySQL server has gone away<br /><br /><pre> SELECT domain, domain_ssl FROM ps_shop_url WHERE main = 1 AND id_shop = 1 LIMIT 1</pre> thrown in /data23/isvitidla/html/classes/db/Db.php on line 635" And after them: [PrestaShopDatabaseException] MySQL server has gone away SELECT su.physical_uri, su.virtual_uri, su.domain, su.domain_ssl, t.id_theme, t.name, t.directory FROM ps_shop s LEFT JOIN ps_shop_url su ON (s.id_shop = su.id_shop) LEFT JOIN ps_theme t ON (t.id_theme = s.id_theme) WHERE s.id_shop = 1 AND s.active = 1 AND s.deleted = 0 AND su.main = 1 LIMIT 1 at line 635 in file classes/db/Db.php 629. WebserviceRequest::getInstance()->setError(500, '[SQL Error] '.$this->getMsgError().'. From '.(isset($dbg[3]['class']) ? $dbg[3]['class'] : '').'->'.$dbg[3]['function'].'() Query was : '.$sql, 97);630. }631. else if (_PS_DEBUG_SQL_ && $errno && !defined('PS_INSTALLATION_IN_PROGRESS'))632. {633. if ($sql)634. throw new PrestaShopDatabaseException($this->getMsgError().'<br /><br /><pre>'.$sql.'</pre>');635. throw new PrestaShopDatabaseException($this->getMsgError());636. }637. }638. 639. /** DbCore->displayError - [line 325 - classes/db/Db.php] - [1 Arguments] DbCore->query - [line 547 - classes/db/Db.php] - [1 Arguments] DbCore->getRow - [line 199 - classes/shop/Shop.php] - [1 Arguments] ShopCore->setUrl - [line 133 - classes/shop/Shop.php] ShopCore->__construct - [line 388 - classes/shop/Shop.php] - [1 Arguments] ShopCore::initialize - [line 94 - config/config.inc.php] require - [line 34 - admin/index.php] - [1 Arguments] Edited May 29, 2014 by Compolux (see edit history) Link to comment Share on other sites More sharing options...
Compolux Posted May 29, 2014 Author Share Posted May 29, 2014 So my problem is fixed. I tried to connect to backoffice. After many errors I was connected there - but the connestion was very, very slowly, and disable "Caching". 1 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