Demian wrote:


> Are you sure you edited the appropriate config.ini (i.e. local/config/vufind/config.ini, rather than config/vufind/config.ini)?  That might explain why manually entering the SQL failed.


No, I edited the wrong config file. Confused myself by choosing 'local' as the name for any local modifications and so expecting the 'local' directory to be empty. I should have picked a more unique name.


>However, I’m not sure why “skip credentials” would give you an error message.  That’s supposed to generate all the SQL commands without connecting to the database so that you >can copy and paste them.  It does make use of the database connection object in order to do escaping properly… so one possible explanation might be that you’re missing the Mysqli >extension to PHP, and that is the cause of all the exceptions.  If that’s the case, we should probably make the code smarter so that it can offer a more targeted explanation of the >issue.


That was the real problem. It needs a try/catch round the getAdapterFromConnectionString() call on line 326; the catch should set the flashMessenger and return $view - no point continuing if there is no mysql.


Do you know why the FlashMessenger tends to print error messages twice? I've seen this in other ZF applications.


Thanks for the help!