Koha.conf error with Install Script & other bug
Hello, I think I'm run across a problem which explains some problems other might be having (Items not displaying, etc), but I'm probibly wrong here. When I try to search the database, rather do ANYTHING with the database, authentication always fails and spits this error out in the logs. ~[ DBI->connect(koha:localhost) failed: Access denied for user: kohaadmin@localhost' (Using password: NO) at /usr/lib/perl5/site_perl/5.6.1/i586-linux/C4/Database.pm line 41 Can't call method "prepare" on an undefined value at /usr/lib/perl5/site_perl/5.6.1/i586-linux/C4/Search.pm line 1010, <KC> line 4. ]~ But yet my /etc/koha.conf clearly shows that I have my admin account specified and the password too database=koha hostname=localhost user=kohaadmin password=******** Wahhhh... Ah hold on, I found it. The install script creates /etc/koha.conf with the variable 'password=' when it should be 'pass=' Changing that fixes the problems with searching/accessing the database. (don't you love it when you solve your own problems) Now I just have issues with the Admin pages, all but the Categories page. This is what is shown in the error logs ~[ Too many arguments for C4::Output::mklink at /usr/local/www/koha/cgi-bin/koha/admin/currency.pl line 236, near "'')" ]~ And aqbooksellers.pl doesnt exist... if you didn't know Thanks much. --CJ -- #!~ CJ Lynce - Systems Specialist #!~ Twinsburg Public Library #!~ cjlynce@twinsburg.lib.oh.us #!~ v.330.425.4268x19 f.330.425.3622 #!~ http://www.twinsburg.lib.oh.us
On Mon, 2002-06-17 at 16:02, CJ Lynce wrote:
Hello,
[snip]
But yet my /etc/koha.conf clearly shows that I have my admin account specified and the password too
database=koha hostname=localhost user=kohaadmin password=********
Wahhhh... Ah hold on, I found it. The install script creates /etc/koha.conf with the variable 'password=' when it should be 'pass=' Changing that fixes the problems with searching/accessing the database. (don't you love it when you solve your own problems)
Ahh yes thats exactly it :) Thanks for spotting that, ill work on getting a fixed installer.pl out as soon as possible.
Now I just have issues with the Admin pages, all but the Categories page. This is what is shown in the error logs
~[ Too many arguments for C4::Output::mklink at /usr/local/www/koha/cgi-bin/koha/admin/currency.pl line 236, near "'')" ]~
Patch for this should be up soon as well. Thanks Chris -- Chris Cormack chris@katipo.co.nz Programmer 025 500 579 Katipo Communications www.katipo.co.nz
participants (2)
-
Chris Cormack -
CJ Lynce