antoniocavally Posted October 1, 2013 Share Posted October 1, 2013 Hello I need help I do not know how to solve problems Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/ Share on other sites More sharing options...
AbraCadaver Posted October 1, 2013 Share Posted October 1, 2013 Hello I need help I do not know how to solve problems You must be from Washington DC? Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452044 Share on other sites More sharing options...
KevinM1 Posted October 1, 2013 Share Posted October 1, 2013 Hello I need help I do not know how to solve problems If you don't know how to explain your problem, what makes you think we'll be able to solve it? A screenshot tells us nothing. Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452066 Share on other sites More sharing options...
.josh Posted October 1, 2013 Share Posted October 1, 2013 based on the screenshot, that config.inc.php file is attempting to make an object of class "Tools" and it can't find the class anywhere. You probably forgot to include the file that defines it or else pointing to wrong path of the file that defines it. Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452071 Share on other sites More sharing options...
Maq Posted October 1, 2013 Share Posted October 1, 2013 Post line 84, like josh said, there's probably something wrong with your include. Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452113 Share on other sites More sharing options...
antoniocavally Posted October 2, 2013 Author Share Posted October 2, 2013 Can you help me ..?.. catany.antonio Skype contact for more detailed thanks !!!! Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452150 Share on other sites More sharing options...
Ch0cu3r Posted October 2, 2013 Share Posted October 2, 2013 (edited) 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 October 2, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452161 Share on other sites More sharing options...
antoniocavally Posted October 2, 2013 Author Share Posted October 2, 2013 What more can I give?.... Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452162 Share on other sites More sharing options...
Ch0cu3r Posted October 2, 2013 Share Posted October 2, 2013 (edited) 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 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. Before posting code make sure you sensor out any sensitive data, like username, passwords. Do you know where Tools class is located? Edited October 2, 2013 by Ch0cu3r Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452166 Share on other sites More sharing options...
trq Posted October 2, 2013 Share Posted October 2, 2013 See here. Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452189 Share on other sites More sharing options...
.josh Posted October 2, 2013 Share Posted October 2, 2013 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. Quote Link to comment https://forums.phpfreaks.com/topic/282607-fatal-error-class-tools/#findComment-1452232 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.