Jump to content

[solved] Fatal error: Class 'Tools'


Recommended Posts

Hello,

 

I'm getting some error when I try to access my PS website:

Fatal error: Class 'Tools' not found in /home/cipriann/shopintimo.es/classes/shop/Shop.php on line 302

Also in /admin shows me the same error.

 

I opened shop.php at line 302 and I got this:

 

if (!($id_shop = Tools::getValue('id_shop')) || defined('_PS_ADMIN_DIR_'))

 

What to do? Website name: shopintimo.es

 

 

post-556533-0-39759900-1372106037_thumb.png

Edited by Narcyzo (see edit history)
Link to comment
Share on other sites

  • 1 year later...
I had a similar problem in PrestaShop 1.6. One day shop has stopped working. The same message: Fatal error: Class 'Tools'....

 

None of the proposed solutions did not help me. 

 

In the end, overwrite all files in /config/ and and now it works.

  • Like 1
Link to comment
Share on other sites

  • 2 years later...
  • 4 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...