lazy123 Posted May 27, 2017 Posted May 27, 2017 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 10So 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!
wolstech Posted May 27, 2017 Posted May 27, 2017 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.
lazy123 Posted May 27, 2017 Author Posted May 27, 2017 Gotcha, I've seen the wrong. Thank you for your help!
Luigi123 Posted May 28, 2017 Posted May 28, 2017 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.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now