I have localhost SS 3.4 project, which works fine. Same project on the server works fine with one exception. I can't access the CMS (nor set the page to dev mode) I get server error, which logs as problem with DB connection:
Warning at framework/model/connect/MySQLiConnector.phpline 77: mysqli::mysqli(): (HY000/2005): Unknown MySQL server host ''
and:
Error at framework/model/connect/DBConnector.php line 55: Uncaught SS_DatabaseException: Couldn't connect to MySQL database | Unknown MySQL server host ''
Which is strange because the page uses the DB connection all the time to render content... Any idea how to figure this out?
_ss_environment.phpor you just misconfigured db config. - wmkcomposer installon the server, it "just" installs what you require in the .lock file - without checking any dependencies. - wmk