Jump to content

Uncaught Error: Class 'Tools' not found


Recommended Posts

Hello,
I renamed the tools.php file on the server by mistake, and now, even though I have replaced the file,  Prestashop can not find it. Below is what I was attempting to do and the error on the server I am getting.

I was made a change to the tools.php file on my website using version 1.6.1.11...

public static function addonsRequest($request, $params = array())
    {
        if (!self::$is_addons_up) {
            return false;
        }

to 

public static function addonsRequest($request, $params = array())
    {
        return false;

I changed the name of the existing file on the server to tools-backup.php and then uploaded my updated tools.php file. 

Now I am getting a HTTP 500 Server error and the error log is printing the following: 

PHP Fatal error: Uncaught Error: Class 'Tools' not found in /home1/cb4430/public_html/upscalehobbies.com/config/config.inc.php:80

However the file is there.  Not sure what I can do to correct this. 

Thanks

CB

Edited by cb4430 (see edit history)
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...