[Koha] Kaha error after instalation

Tomasz Bojczuk mrseelook at o2.pl
Mon Oct 3 00:36:45 NZDT 2005


I install Koha, installer was downloaded additional perl modules, and 
instalation was finished sucessful, but when i running Koha (both with usualy 
user and root rights) i've got 500 internal error after monit  WELCOME TO 
KOHA in my browser (firefox or konqueror). I saw logs, and scripsts, but i 
don't know what i can do. 
Could you help me ??

My sysem is Linux Kubuntu Hoary 5.04

/usr/local/koha/log/opac-error_log says:
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
read_config_file(/etc/koha.conf) returned undef 
at /usr/local/koha/intranet/modules/C4/Context.pm line 229., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] DBD::mysql::st execute 
failed: No database selected at /usr/local/koha/opac/cgi-bin/opac-main.pl 
line 17., referer: http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] DBD::mysql::st 
fetchrow_array failed: fetch() without execute() 
at /usr/local/koha/opac/cgi-bin/opac-main.pl line 20., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] DBD::mysql::db 
selectrow_array failed: No database selected 
at /usr/local/koha/intranet/modules/C4/Context.pm line 364., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] DBD::mysql::db 
selectrow_array failed: No database selected 
at /usr/local/koha/intranet/modules/C4/Context.pm line 364., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] DBD::mysql::db 
selectrow_array failed: No database selected 
at /usr/local/koha/intranet/modules/C4/Context.pm line 364., referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] HTML::Template->new() : 
Cannot open included file /default/en/opac-main.tmpl : file not found. 
at /usr/share/perl5/HTML/Template.pm line 1580, referer: http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
\tHTML::Template::_init_template('HTML::Template=HASH(0x815fb70)') called 
at /usr/share/perl5/HTML/Template.pm line 1177, referer: http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
\tHTML::Template::_init('HTML::Template=HASH(0x815fb70)') called 
at /usr/share/perl5/HTML/Template.pm line 1071, referer: http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
\tHTML::Template::new('HTML::Template', 'filename', 
'/default/en/opac-main.tmpl', 'die_on_bad_params', 0, 'global_vars', 1, 
'path', 'ARRAY(0x8964f24)', ...) called 
at /usr/local/koha/intranet/modules/C4/Output.pm line 77, referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
\tC4::Output::gettemplate('opac-main.tmpl', 'opac', 'CGI=HASH(0x814dd54)') 
called at /usr/local/koha/intranet/modules/C4/Auth.pm line 114, referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] 
\tC4::Auth::get_template_and_user('HASH(0x8922ae8)') called 
at /usr/local/koha/opac/cgi-bin/opac-main.pl line 32, referer: 
http://localhost/
[Sun Oct 02 13:29:00 2005] [error] [client 127.0.0.1] Premature end of script 
headers: opac-main.pl, referer: http://localhost/


Regards
	Tomasz
_______________________________________________
Koha mailing list
Koha at lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha



More information about the Koha mailing list