Jump to content

Fatal error: Class 'Tools' not found when install


Recommended Posts

When I want to install prestashop V1.7. It show:

 

Fatal error: Class 'Tools' not found in /home/wwwroot/www.testtest.com/config/config.inc.php on line 52

 

and if i just open install url. It show:

 

Fatal error: Class 'Tools' not found in /home/wwwroot/www.testtest.com/testtestnew/config/defines_uri.inc.php on line 68

 

And I have check the classes/Tools.php is exist. 

 

on the config.inc.php on line 52: code is as below:

Tools::redirectToInstall();

 

 

 

on the defines_uri.inc.php on line 68: code is as below:

Tools::safeDefine('_PS_API_DOMAIN_', 'api.prestashop.com');

 

Why Class Tools can't work right?

I also try to set chmod 777 to all files. But it still don't work OK. 

 

Is there any matter with the php version? Please someone help me. Thanks!

Link to comment
Share on other sites

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