Everything went smoothly as usual in my local machine, but as soon as I moved the website to the client server, it wouldn’t run normally, instead it gives me the dreaded error message:
Error displaying the error page: Application Instantiation Error
After a small search on Google, I found that all people were saying to check that the database connection credentials were correct in configuration.php, in fact, I’m not new to this thing but I checked again…
public $host = 'localhost'; public $user = 'me'; public $password = 'P0L1C3'; public $db = 'my_db';
To my big surprise, the error was with the server not having the mysqli extension, this is rather inconvenient in 2013, and to add insult to irony, magic quotes were turned on, anyways, I got things to work “normally” after changing the $dbtype from mysqli to mysql:
public $dbtype = 'mysql';
Sad but true…
## PS.
If –like me– you were migrating a website, don’t forget to change the $log_path
and $tmp_path
near the end of the configuration file.
Leave a Reply