[Koha] Koha.conf error with Install Script & other bug

CJ Lynce cjlynce at twinsburg.lib.oh.us
Mon Jun 17 16:02:03 NZST 2002


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 at 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 at twinsburg.lib.oh.us
#!~ v.330.425.4268x19 f.330.425.3622	
#!~ http://www.twinsburg.lib.oh.us





More information about the Koha mailing list