Jump to content

Recommended Posts

Posted

Okay, it's like my title.

I've an error while running my (tbh not mine XD) PHP script online.

On error_log, it showed :

PHP Fatal error: Class 'DBController' not found in /home/kiansie/public_html/order/index.php on line 10

So I don't know what to do, because it's not my server. But when I run it in my localhost, it's appearing it content correctly.

 

Here is the script on line 10.

$db_handle = new DBController();

I hope for your help.

Thank you!

Posted

PHP doesn't know what a DBController is, so its failing. The class is probably declared in an include that it can't find.

 

Odds are there's a path in a config file that's set wrong somewhere. Check to see if there's paths in your software's configuration file. If so, they need to be edited to point to the correct locations on our servers as opposed to on your computer.

Posted

Moved to Customer Service.

 

Gald we can help. :)

 

If you have any questions or if you need help anything, feel free to post it on the forums.

 

Marking this Thread as Solved.

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