Hi everyone and thanks,

Well, a step forward.  Now I am getting "production mode - trapped fatal error" on port 8080.  I killed the koha database, and went through the koha installation again.

I am not sure what the problem may be.  "Make test" went without error.

If I use koha.mydomain.org:8080 I get the error message I just mentioned.
If I use localhost:8080 I get the apache default "it works" page.

I tried a manual install of CGI::Session, and while it went OK, it did not fix the problem, as you can see below.  (During installation of CGI::Session, tests indicated that it could not attach to the mysql db, but this did not stop the installation.)

I get these errors in koha-error_log (there are no new errors in koha-opac-error_log):

[Tue May 27 15:50:39 2008] [error] [client 198.xxx.xxx.5] [Tue May 27 15:50:39 2008] mainpage.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Language
s.pm line 318.
[Tue May 27 15:50:39 2008] [error] [client 198.xxx.xxx.5] [Tue May 27 15:50:39 2008] mainpage.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 319.
<snip>
[Tue May 27 15:50:40 2008] [error] [client 198.xxx.xxx.5] [Tue May 27 15:50:40 2008] install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Context.pm line 38.
[Tue May 27 15:50:40 2008] [error] [client 198.xxx.xxx.5] [Tue May 27 15:50:40 2008] install.pl: Can't locate object method "generate_id" via package "CGI::Session::ID::" (perhaps you forgot to load "CGI::Session::ID::"?) at /usr/local/share/perl/5.8.8/CGI/Session.pm line 74.

I created the koha database and kohaadmin user in phpmyadmin.  The password for kohaadmin is the same as the makefile suggests.

Thanks,

Steve


On Sun, May 25, 2008 at 6:19 PM, Garry Collum <gcollum@gmail.com> wrote:
Oops.  I replied to Stephen, but didn't reply to the list.

I did a "from scratch" install on Debian yesterday and actually documented what I did.

The 8080 error is easy.  Just add "Listen 8080" to your apache2.conf or httpd.conf file.

The second problem seems to have been fixed when I either added the CGI::Simple perl module or downloaded and compiled the most current CGI::Session module from CPAN.  I also downloaded DBI and DBD::mysql, but I believe it was one of the CGI modules that fixed the problem.

I also thought that it was because the table structure had not been created, so I found the SQL file within the source code that creates the table structure and created.  No dice.  I didn't get the same error but I got a similar one.  I dropped the database and recreated it.  Then I did the steps above.

Garry



On Sun, May 25, 2008 at 4:23 PM, Steven Owley <steveno@ohionet.org> wrote:
Hello everyone,

Happy to be part of this list; hope to be of help as well as asking for it.

I have installed koha 3 on debian etch.  Getting no response on 8080 and this error on 80:

[Sun May 25 16:03:14 2008] [error] [client 69.xxx.xxx.x] [Sun May 25 16:03:14 2008] maintenance.pl: DBD::mysql::db selectrow_array failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/lib/C4/Context.pm line 455., referer: http://198.xxx.xxx.x/cgi-bin/koha/maintenance.pl

I've dug around a bit, but I don't see a definitive answer to this problem, though it does not seem uncommon.  Do I need to reinstall something?  I am guessing that my installation of DB::mysql is somehow wrong.

Thanks,

Steve


_______________________________________________
Koha mailing list
Koha@lists.katipo.co.nz
http://lists.katipo.co.nz/mailman/listinfo/koha





--
Steven Owley
Technology Specialist
Ohionet 614-486-2966 x19