Jump to content

Edit History

cb4430

cb4430

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

cb4430

cb4430

Hello,
I renamed the tools.php file on the server, and now Prestashop can not find it even though I have replaced the file. Below is what I was attempting to do, and I am not sure how I get prestashop to find the tools.php file again. 

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

cb4430

cb4430

Hello,

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

×
×
  • Create New...