aefandes Posted January 12, 2023 Share Posted January 12, 2023 When I login to the control panel of my store (1.7.6.4), it takes a long time before showing the panel. Once I have logged in it works at the correct speed and the public web is also fine, it's just the time to enter. what can be happening? It has never been like this before and nothing has been changed. Link to comment Share on other sites More sharing options...
corrigerunbug Posted January 12, 2023 Share Posted January 12, 2023 Hello, You need to activate debug mode and check if you don’t have any error. Link to comment Share on other sites More sharing options...
aefandes Posted January 13, 2023 Author Share Posted January 13, 2023 When activate debug mode i get this error: Fatal error: Uncaught Error: Class 'Tools' not found in /furanet/sites/asalvo.com/web/htdocs/classes/db/Db.php:794 Stack trace: #0 /furanet/sites/asalvo.com/web/htdocs/config/alias.php(47): DbCore->escape('configuration', false) #1 /furanet/sites/asalvo.com/web/htdocs/config/alias.php(52): pSQL('configuration') #2 /furanet/sites/asalvo.com/web/htdocs/classes/Configuration.php(155): bqSQL('configuration') #3 /furanet/sites/asalvo.com/web/htdocs/classes/Configuration.php(209): ConfigurationCore::loadConfiguration() #4 /furanet/sites/asalvo.com/web/htdocs/classes/PrestaShopAutoload.php(171): ConfigurationCore::get('PS_DISABLE_OVER...') #5 /furanet/sites/asalvo.com/web/htdocs/classes/PrestaShopAutoload.php(130): PrestaShopAutoload->generateIndex() #6 [internal function]: PrestaShopAutoload->load('Tools') #7 /furanet/sites/asalvo.com/web/htdocs/config/config.inc.php(85): spl_autoload_call('Tools') #8 /furanet/sites/asalvo.com/web/htdocs/admin735cmplmg/index.php(40): require('/furanet/sites/...') #9 {main} thrown in /furanet/sites/asalvo.com/web/htdocs/classes/db/Db.php on line 794 Link to comment Share on other sites More sharing options...
Knowband Plugins Posted January 13, 2023 Share Posted January 13, 2023 Try delete or rename the DEV & PROD folders in /var/cache/ issue will be resolved. Its look like cache issue. Link to comment Share on other sites More sharing options...
aefandes Posted January 17, 2023 Author Share Posted January 17, 2023 I have deleted the two folders, but it still takes a long time to login. Link to comment Share on other sites More sharing options...
El Patron Posted January 17, 2023 Share Posted January 17, 2023 enable mysql slow log, google if you do not know how or maybe you can ask your hosting provider to do it. generally long response times (but not always) is related to long mysql calls, slow log would show you this, generally we use a 2 second threshold. knowing how to do this will help you debug in the future but also can help improve your front office performance.... 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