• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue PrestaShop 1.7 -> AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Class 'Tools'

LorisMod

New Pleskian
PrestaShop 1.7.6.0 has the problem with Server Plesk Onyx ver 17.8.11 CentOS Linux 7.6.1810 and FPM.

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 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

PrestaShop Insues:
Class 'Tools' not found in /public_html/classes/db/Db.php:794 · Issue #12667 · PrestaShop/PrestaShop
 
Looking at the PrestaShop bug report, I'm not sure this is a Plesk issue. In any case, it might be helpful to see your exact PHP configuration, disabled functions list, etc.
 
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.
 
I had experience the same problem. I have the same Onyx version but in a Debian distribution.

After read a lot of threads, i find the problem is associated with FPM or FastCGI option of the php configuration in the domain. The error happens with FPM but not with FastCGI. The rest of configurations are the same. So the problem is Plesk related i guess.
 
The strange thing is that if the page in error 500 is reloaded, the cache cleaning is then performed correctly.
 
I found the solution, the drive was 0 byte empty, deleted var/cache/dev manually and it wend back working again. prestashop 1.7.
 
Hi is this issue sorted out ? I have the same error as above ! I never had this issue before but I think something related to plesk or prestashop update !
 
Nope what did solve it is schanging from FPM to CGfast . But I had it before working with FPM , I am not sure if it is some plesk update causing it or it is prestashop but doubt it as it was working with the latest version . The only thing I had to do is create new instance in Amazon and install another new fresh prestashop latest installation and that's me with that error ! Your help will be appreciated . Thanks
 
Back
Top