[Koha-bugs] [Bug 9941] Web installer should not die with stacktrace when database does not exist

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Apr 13 06:09:11 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9941

--- Comment #8 from Chris Cormack <chris at bigballofwax.co.nz> ---
(In reply to comment #7)
> One question. I normally access the web installer by just browsing to the
> root of the Koha intranet site. If I do that I get the following error:
> 
> Software error:
> 
> Unknown database 'koha3' at /home/koha/kohaclone/C4/Context.pm line 803.
> BEGIN failed--compilation aborted at /home/koha/kohaclone/C4/Auth.pm line 63.
> Compilation failed in require at /home/koha/kohaclone/mainpage.pl line 25.
> BEGIN failed--compilation aborted at /home/koha/kohaclone/mainpage.pl line
> 25.
> For help, please send mail to the webmaster (webmaster at kohadev), giving this
> error message and the time and date of the error.
> 
> Is it possible to display the same "Unable to connect to database. Please
> check your database configuration in koha-conf.xml" message for this case?

It is, but that isn't the webinstaller throughing that error :) So that might
be better on it's bug.

Something like make C4::Context handle dbh errors more nicely

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list