Jump to content

Fatal error: Class 'Tools


antoniocavally

Recommended Posts

Why not post more details about your problem here. This is what the forum is here for. The error is very clear what the problem is, it cannot find the Tools class within the /var/www/siti_consegnati/BestChoice.it/config directory.

Edited by Ch0cu3r
Link to comment
Share on other sites

The actual PHP code from where the error is coming from. The error is from the file named config.inc.php on line 84.

 

So

  1. Post lines 1 - 90 here from config.inc.php, we don't have your code in front of us so we cant tell you what to do other than ask for more details.
  2. Before posting code make sure you sensor out any sensitive data, like username, passwords.
  3. Do you know where Tools class is located?
Edited by Ch0cu3r
Link to comment
Share on other sites

The code tries to make an object based on a class, but it can't find the class definition.

 

So, somewhere in one of your files there should be something that looks like this, or similar:

 

class Tools {

  // stuff

}
It is obviously not in config.inc.php, so either config.inc.php expects a file that defines it to be included, or else config.inc.php is included in some other file and that other file is expected to include it, so that config.inc.php can access it. I'm guessing this is some 3rd party script you picked up and can't get working. So, my guess is the include(s) are there, but you aren't pointing to the proper path/to/file/to/include.

 

So we can't really help you with what your file paths should be, short of having full access to your files on your server.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.