[Koha] Koha 2.2, browser wants to download mainpage.pl or opac-main.pl

Marty ontariowolf64 at yahoo.com
Tue Dec 15 15:35:24 NZDT 2009


ok, I am back to Koha 2.2.9 because everything went bezerk here with 3.0

Reinstalling 2.2.9 went very smooth compared to 3.0, but when I type the koha address in the browser, the browser opens a window that says 'opening mainpage.pl You have chosen to open mainpage.pl which is a: PL file from: http://debian:8080
What should Iceweasel do with this file?
I don't want it to open it or save it to disk.

cgi.load is enabled in apache

I need help!

Marty

koha-error_log output:
[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at
 /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] DBI connect(':','',...) failed: Access denied for user 'www-data'@'localhost' (using p$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] Can't call method "prepare" on an undefined value at /usr/local/koha/intranet/modules/$[Mon Dec 14 21:16:30 2009] [error] [client 127.0.1.1] Premature end of script
 headers: mainpage.pl

opac-access_log output;
127.0.1.1 - - [14/Dec/2009:20:56:43 -0500] "GET / HTTP/1.1" 304 -
127.0.1.1 - - [14/Dec/2009:20:56:43 -0500] "GET /cgi-bin/koha/opac-main.pl HTTP/1.1" 500 692

opac-error_log output;
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] DBI connect(':','',...) failed: Access denied for user 'www-data'@'localhost' (using password: NO) at /usr/local/koha/intranet/modules/C4/Context.pm line 411
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] read_config_file(/etc/koha.conf) returned undef at /usr/local/koha/intranet/modules/C4/Context.pm line 229.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] DBI connect(':','',...) failed: Access denied for user 'www-data'@'localhost' (using password: NO) at /usr/local/koha/intranet/modules/C4/Context.pm line 411
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] Can't call method "prepare" on an undefined value at /usr/local/koha/opac/cgi-bin/opac-main.pl line 17.
[Mon Dec 14 20:56:44 2009] [error] [client 127.0.1.1] Premature end of script headers: opac-main.pl




      __________________________________________________________________
Yahoo! Canada Toolbar: Search from anywhere on the web, and bookmark your favourite sites. Download it now
http://ca.toolbar.yahoo.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.katipo.co.nz/pipermail/koha/attachments/20091214/bfcbde71/attachment.htm 


More information about the Koha mailing list