Jump to content

Class 'Tools' not found in /classes/db/Db.php:794


Arteinfo

Recommended Posts

Shop Parameters -> Traffic & SEO -> Set up URLs -> Save
Blank Page Error 500

Advanced Parameters -> Performance -> Clear Cache
Blank Page Error 500

The error with Plesk 17.5.3 and 17.8.11 occurs with FPM served by Apache, using FastCGI, prestashop 1.7.5.2 and 1.7.6.0 does not generate the error. How to solve and use FPM?

Error Apache
AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Tools' not found in /var/www/vhosts/ideepercasa.shop/httpdocs/classes/db/Db.php:794\nStack trace:\n#0 /var/www/vhosts/ideepercasa.shop/httpdocs/config/alias.php(47): DbCore->escape('configuration', false)\n#1 /var/www/vhosts/ideepercasa.shop/httpdocs/config/alias.php(52): pSQL('configuration')\n#2 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/Configuration.php(155): bqSQL('configuration')\n#3 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/Configuration.php(209): ConfigurationCore::loadConfiguration()\n#4 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/PrestaShopAutoload.php(171): ConfigurationCore::get('PS_DISABLE_OVER...')\n#5 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/PrestaShopAutoload.php(130): PrestaShopAutoload->generateIndex()\n#6 [internal function]: PrestaShopAutoload->load('Tools')\n#7 /var/www/vhosts/ideepercasa.shop/httpdocs/config/config.inc.php(85): spl_autoload_call('Tools')\n#8 /var/www/vhosts/ideepercasa.shop/httpdocs/admIdeePerC...\n', referer: http://ideepercasa.shop/admIdeePerC...n=nKU1MdK7nzGCr62FQutwe15gL23OFGIu28qXZO8FPLE

Error PrestaShop debug
Fatal error: Uncaught Error: Class 'Tools' not found in /var/www/vhosts/ideepercasa.shop/httpdocs/classes/db/Db.php:794 Stack trace: #0 /var/www/vhosts/ideepercasa.shop/httpdocs/config/alias.php(47): DbCore->escape('configuration', false) #1 /var/www/vhosts/ideepercasa.shop/httpdocs/config/alias.php(52): pSQL('configuration') #2 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/Configuration.php(155): bqSQL('configuration') #3 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/Configuration.php(209): ConfigurationCore::loadConfiguration() #4 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/PrestaShopAutoload.php(171): ConfigurationCore::get('PS_DISABLE_OVER...') #5 /var/www/vhosts/ideepercasa.shop/httpdocs/classes/PrestaShopAutoload.php(130): PrestaShopAutoload->generateIndex() #6 [internal function]: PrestaShopAutoload->load('Tools') #7 /var/www/vhosts/ideepercasa.shop/httpdocs/config/config.inc.php(85): spl_autoload_call('Tools') #8 /var/www/vhosts/ideepercasa.shop/httpdocs/admIdeePerCasa/index.php(40): require('/var/ww in /var/www/vhosts/ideepercasa.shop/httpdocs/classes/db/Db.php on line 794

 

https://github.com/PrestaShop/PrestaShop/issues/12667

Link to comment
Share on other sites

It's a very strange problem, I did some tests, I have 2 servers with identical versions of Plesk and CentOS, the same updates and the same configurations. On one PrestaShop 1.7.5.2 and 1.7.6.0 does not present the problem. So I can rule out that this is a server configuration problem. The only difference between the two servers is hardware, the one in which I have the problem has SSD disks, actually I know that on 5 Plesk servers I only check on the two with SSD disk, but it can also be a coincidence.

Link to comment
Share on other sites

  • 5 years later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...