Narcyzo Posted June 24, 2013 Share Posted June 24, 2013 (edited) 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 Edited June 24, 2013 by Narcyzo (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted June 24, 2013 Share Posted June 24, 2013 well, Tools is a default prestashop class, and it is necessary for prestashop. please check classes directory, does the Tools.php exist there? Link to comment Share on other sites More sharing options...
Narcyzo Posted June 24, 2013 Author Share Posted June 24, 2013 I've just solved, thanks! Link to comment Share on other sites More sharing options...
vekia Posted June 25, 2013 Share Posted June 25, 2013 hello please let us know where the problem was, your advice will be really helpfull for other merchants Link to comment Share on other sites More sharing options...
Narcyzo Posted June 26, 2013 Author Share Posted June 26, 2013 (edited) I've just replaced files under : /classes/ - (all .php files) /classes/controller override/controllers/front /controllers/front with the original files from the install package, and just works! Edited June 26, 2013 by Narcyzo (see edit history) Link to comment Share on other sites More sharing options...
prostrona Posted August 25, 2014 Share Posted August 25, 2014 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. 1 Link to comment Share on other sites More sharing options...
sworld Posted August 26, 2016 Share Posted August 26, 2016 Same Problem here and thanks lot for the Solution In the end, overwrite all files in /config/ and and now it works. Link to comment Share on other sites More sharing options...
damianAktywwwni Posted December 3, 2020 Share Posted December 3, 2020 Same Problem here and thanks lot for the Solution x2 In the end, overwrite all files in /config/ and and now it works. 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