Toflar/easy_themes — Issue #21: "Could not connect to database" @ install.php
Author: Toflar
Created: 2012-01-27 13:39:26+00:00
State: closed
Labels: Completed, Defect

Hi Yanick,

I've noticed some kind of odd behaviour when I transferred a complete Contao installation from my local development machine to another server.

After transferring my complete Contao directory (with installed EasyThemes) and after replacing the localconfig.php with a freshly downloaded one, I called /contao/install.php and got the notice that the system could not connect to database. To make this perfectly clear: there are no settings in the localconfig.php file at this time.

After deleting /system/modules/easy_themes folder completly the install-script workes fine, and it works also fine on copying the easythemes-folder back to server after doing the database settings.

I presume that easy_themes tries to parse the themes folder at this time - and so it crashes. Maybe it's a good idea to check if easy_themes is called from install-script and do nothing in this case.

I'm quite sure that you can reproduce this issue for yourself - if there are further tests needed, just drop me a line.

Best regards,
Carolina.

*--- Originally created by on 25.09.2010 19:43.*