basic279 Posted August 16, 2012 Share Posted August 16, 2012 Hello guys, I developed a website in OpenCart locally. Now, i have uploaded it to my web-hosting server. The front end of the e-shop loads properly but when i try to load backoffice or admin area, i am getting Error: Could not load database file mysql! my code is: // DB define('DB_DRIVER','mysql'); define('DB_HOSTNAME','localhost'); define('DB_USERNAME','kla_user'); define('DB_PASSWORD','*****'); define('DB_DATABASE','kla_db'); define('DB_PREFIX','kla_') What could be the possible reason? i asked some friend and he told me that this sort of errors are basically driver errors...have your say and please help me to solve this. Link to comment https://forums.phpfreaks.com/topic/267181-error-could-not-load-database-file-mysql/ Share on other sites More sharing options...
Christian F. Posted August 16, 2012 Share Posted August 16, 2012 Find the error string "Could not load database file" in the code, and you'll find the code that triggers it. Once you've done that, you can start to investigate the problem properly. Link to comment https://forums.phpfreaks.com/topic/267181-error-could-not-load-database-file-mysql/#findComment-1369914 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.