[Koha] 500 error, Koha.itemtypes & default user?

anson at treebay.org anson at treebay.org
Tue Jul 11 02:12:04 NZST 2006


Hi All,

getting a 500 error after installing koha - saw the post from mariana
lopez about reinstalling apache?  Has anyone else seen this & figured it
out (without doin' that??)

first error is Koha.itemtypes doesn't exist, and according to mysql that's
true, although 60 other tables were created=?

my default login and password don't seem to work either.   can i go in to
mysql and create another user through phpmyadmin?



Here's a readout from the opac-error-log

[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] File does not
exist: /usr/local/koha/opac/htdocs/favicon.ico
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] DBD::mysql::st
execute failed: Table 'Koha.itemtypes' doesn't exist at
/usr/local/koha/opac/cgi-bin/opac-main.pl line 17.
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] DBD::mysql::st
fetchrow_array failed: fetch() without execute() at
/usr/local/koha/opac/cgi-bin/opac-main.pl line 20.
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] DBD::mysql::db
selectrow_array failed: Table 'Koha.systempreferences' doesn't exist at
/usr/local/koha/intranet/modules/C4/Context.pm line 366.
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] DBD::mysql::db
selectrow_array failed: Table 'Koha.systempreferences' doesn't exist at
/usr/local/koha/intranet/modules/C4/Context.pm line 366.
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] DBD::mysql::db
selectrow_array failed: Table 'Koha.systempreferences' doesn't exist at
/usr/local/koha/intranet/modules/C4/Context.pm line 366.
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
HTML::Template->new() : Cannot open included file
/usr/local/koha/opac/htdocs/opac-tmpl/default/en/opac-main.tmpl : file not
found. at /usr/lib/perl5/site_perl/5.8.5/HTML/Template.pm line 1632
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
\tHTML::Template::_init_template('HTML::Template=HASH(0x5c1f50)') called
at /usr/lib/perl5/site_perl/5.8.5/HTML/Template.pm line 1205
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
\tHTML::Template::_init('HTML::Template=HASH(0x5c1f50)') called at
/usr/lib/perl5/site_perl/5.8.5/HTML/Template.pm line 1099
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
\tHTML::Template::new('HTML::Template', 'filename',
'/usr/local/koha/opac/htdocs/opac-tmpl/default/en/opac-main.tmpl',
'die_on_bad_params', 0, 'global_vars', 1, 'path', 'ARRAY(0x1469a10)', ...)
called at /usr/local/koha/intranet/modules/C4/Output.pm line 77
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
\tC4::Output::gettemplate('opac-main.tmpl', 'opac', 'CGI=HASH(0x505380)')
called at /usr/local/koha/intranet/modules/C4/Auth.pm line 114
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253]
\tC4::Auth::get_template_and_user('HASH(0x147e2d0)') called at
/usr/local/koha/opac/cgi-bin/opac-main.pl line 32
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] Premature end of
script headers: opac-main.pl
[Mon Jul 10 07:31:45 2006] [error] [client 24.51.110.253] File does not
exist: /usr/local/koha/opac/htdocs/favicon.ico


Thanks, Anson



More information about the Koha mailing list