[Koha] A problem inserting

Emiliano Marmonti emarmonti at siu.edu.ar
Fri Nov 29 04:27:07 NZDT 2002


Dear Paul:

  I'm using Koha 1.2.2. I have had a lot of problems installing under Solaris 
because it has a predefined Perl that is much older to work with DBD & DBI (and 
it has no cc compiler). After some tries I have installed Perl 5.8.0, compiled 
through gcc and everything looks working. Perhaps the problem could be perl 
updatedatabase -I /pathtoC4. This doesen´t work. Perl says that can´t find this 
script. I looked into my inc via Perl -V and put C4 folder into one of the 
directories listed here (e.g. /usr/lib/perl5/5.8.0) but when I try perl 
updatedatabase -I /usr/lib/perl5/5.8.0/C4 doesn't work.

  I continue looking and found that updatedatabase is under a folder called 
scripter inside installation folder. I go directly into this folder and 
executed perl updatedatabase and obtained the same message: Database is not 
defined or something like this.

Any help? 
Thanks a lot again
Emiliano.




Mensaje citado por paul POULAIN <paul.poulain at free.fr>:

> Emiliano Marmonti a écrit:
> 
> >Hi everybody,
> >
> >We´re testing the use of Koha over Solaris 8. After re-installing Perl and
> 
> >other modules I think it´s working. Now we have a problem when trying to
> insert 
> >a new branch. Everything looks well but no new branch is inserted. When I
> see 
> >the Koha_error log it says the following:
> >
> >DBD::mysql::st execute failed: No Database Selected at /var/apache/cgi-
> >bin/koha/admin/branches.pl line 176, <KC> line 4.
> >DBD::mysql::st execute failed: No Database Selected at /var/apache/cgi-
> >bin/koha/admin/branches.pl line 36, <KC> line 4.
> >DBD::mysql::st fetchrow_hashref failed: fetch() without execute() 
> >at /var/apache/cgi-bin/koha/admin/branches.pl line 39, <KC> line 4.
> >DBD::mysql::st execute failed: No Database Selected at /var/apache/cgi-
> >bin/koha/admin/branches.pl line 36, <KC> line 4.
> >DBD::mysql::st fetchrow_hashref failed: fetch() without execute() 
> >at /var/apache/cgi-bin/koha/admin/branches.pl line 39, <KC> line 4.
> >DBD::mysql::st execute failed: No Database Selected at /var/apache/cgi-
> >bin/koha/admin/branches.pl line 176, <KC> line 4.
> >DBD::mysql::st execute failed: No Database Selected at /var/apache/cgi-
> >bin/koha/admin/branches.pl line 36, <KC> line 4.
> >DBD::mysql::st fetchrow_hashref failed: fetch() without execute() 
> >at /var/apache/cgi-bin/koha/admin/branches.pl line 39, <KC> line 4.
> >
> >It looks like no Database is selected but in /etc/koha.conf is correctly 
> >specified. Also I´ve tested that the user could insert, select, etc via
> mysql 
> >command line...
> >
> >Any suggestions?
> >
> which version of koha are u using ?
> Can u insert data in another table ?
> --
> Paul
> 
> _______________________________________________
> Koha mailing list
> Koha at lists.katipo.co.nz
> http://lists.katipo.co.nz/mailman/listinfo/koha
> 




-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the Koha mailing list