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. Quote Link to comment 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. Quote Link to comment 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.