Topic: No database credentials found in calendar root

Hello!
I've just installed 4.7.0 version in local and first obtained the message "No database credentials found in calendar root (file: lcconfig.php)".
However, my file lcconfig.php was quite correct.
I edited upgrade470.php and changed the line 138 from:
    if (empty($dbHost) OR empty($dbUnam) OR empty($dbPwrd) OR empty($dbName)) { //no db credentials found
to:
    if (empty($dbHost) OR empty($dbUnam) OR empty($dbName)) { //no db credentials found
because a empty password is quite acceptable for a local site.
And it worked!

Re: No database credentials found in calendar root

Great!
Thanks Gérard, good point.
For the next calendar version I will change the upgrade script too.

Roel