PDA

View Full Version : Fatal Error?


Eagle9615
07-12-2016, 10:35 PM
Went to access my site and got a blank page with this error:


Fatal error: Uncaught exception 'Exception' with message 'Fatal Error: Class PDO either does not exist, or has its include path misconfigured!' in /home/projectf/public_html/classes/class_loader.php:83 Stack trace: #0 [internal function]: Loader->load('PDO') #1 /home/projectf/public_html/classes/class_database.php(21): spl_autoload_call('PDO') #2 /home/projectf/public_html/classes/class_loader.php(81): include('/home/projectf/...') #3 [internal function]: Loader->load('Database') #4 [internal function]: spl_autoload_call('Database') #5 /home/projectf/public_html/classes/class_mysidia.php(218): class_exists('Database') #6 /home/projectf/public_html/classes/class_mysidia.php(164): Mysidia->loadDb() #7 /home/projectf/public_html/classes/class_initializer.php(109): Mysidia->__construct() #8 /home/projectf/public_html/classes/class_initializer.php(45): Initializer->initialize() #9 /home/projectf/public_html/index.php(68): Initializer->__construct() #10 /home/projectf/public_html/index.php(78): IndexController::main() #11 {main in /home/projectf/public_html/classes/class_loader.php on line 83

I haven't touched anything in the cPanel between the last time I was able to access it (about 1 week ago) and now.


Link to site (http://projectfauna.mysidiahost.com/)

Hall of Famer
07-12-2016, 10:59 PM
Your site is back to normal. For some reason there was a php.ini file in your public_html folder, which seems to be the cause of malfunctioning. I removed this php.ini file and everything is now working properly.

Eagle9615
07-12-2016, 11:24 PM
That was a quick reply, thank you :)

Hall of Famer
07-13-2016, 10:51 AM
You are very welcome. Strangely that php.ini file seemed to have been there ever since January 2016, but you were only unable to access it recently. I will investigate further and see how this file got there in the first place.

Eagle9615
07-17-2016, 07:49 PM
That's odd... I always seem to get hit with the weirdest problems and bugs. Thanks for looking into it, I'd be curious to know why it just now caused an issue as well.