Ulrich --<br><br>The $debug_level lines are incidental warnings, not errors. Ignore them. <br><br>What it sounds like is that your haven't set permissions on the database, or you aren't logging in as the user from your KOHA_CONF file. You shouldn't have to load the database structure yourself, but you do have to setup permissions to allow the Koha user the ability to access mysql and do it for you. This step is documented in at least three of the INSTALL documents from the codebase:<br>
<br><blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;" class="gmail_quote">2.2 Create the Koha database<br><br> Create the database and user with associated privileges:<br>
<br> $ <b>mysqladmin -uroot -p<password> create <kohadatabasename></b><br> $ <b>mysql -uroot -p<password></b><br> <br> Welcome to the MySQL monitor. Commands end with ; or \g.<br> Your MySQL connection id is 22<br>
Server version: 5.0.32-Debian_7etch3-log Debian etch distribution<br> <br> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br> <br> mysql> <b>grant all on <kohadatabasename>.* to '<kohadatabaseuser>'@'localhost' identified by '<kohadatabaseuserpassword>';</b><br>
Query OK, 0 rows affected (0.00 sec)<br><br> mysql> <b>flush privileges;</b><br> Query OK, 0 rows affected (0.00 sec)<br><br> mysql> <b>quit</b><br></blockquote><br>At this point I would probably drop your existing database and start over with a new one. <br>
<br>--Joe Atzberger,<br>LibLime<br><br><br><div class="gmail_quote">On Mon, Dec 22, 2008 at 6:22 PM, Ulrich Kretschmer <span dir="ltr"><<a href="mailto:U.Kretschmer@bergruf.de">U.Kretschmer@bergruf.de</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
thanks for your friendly help...<br>
<br>
Am Montag, 22. Dezember 2008 07:56 schrieb Krishnan M:<br>
<div class="Ih2E3d">> Why are you getting the 'table does not exist' problems?<br>
><br>
> Did you verify that the database was created properly and has all the<br>
> tables? The koha installer does not do this, you'll need to do this<br>
> yourself with a command like<br>
><br>
> mysql -u <user> -D <databaseName> -p <<br>
> /path/to/extracted/koha/installer/data/mysql/kohastructure.sql<br>
<br>
</div>Well, I thought the installer would do this. As far as I can see, this<br>
required installation step seems to be undocumented. Should be added to the<br>
installation documentation. (I hope somebody from Koha project members reads<br>
this...)<br>
<br>
My tables are now present and looking fine. But again I get the<br>
<div class="Ih2E3d">message "production mode - trapped fatal error" while opening the intranet<br>
address. <br>
<br>
</div>The log file says now:<br>
<br>
[Mon Dec 22 23:33:16 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:16<br>
2008] mainpage.pl: Install required, redirecting to Installer<br>
<div class="Ih2E3d">at /usr/share/koha/lib/C4/Auth.pm line 443.<br>
=> okay<br>
<br>
</div>[Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17<br>
<div class="Ih2E3d">2008] install.pl: Use of uninitialized value $debug_level in string eq<br>
at /usr/share/koha/lib/C4/Context.pm line 45.<br>
</div>=> ???<br>
<br>
[Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17<br>
<div class="Ih2E3d">2008] install.pl: Use of uninitialized value $debug_level in string eq<br>
at /usr/share/koha/lib/C4/Context.pm line 45.<br>
</div>=> ???<br>
<br>
[Mon Dec 22 23:33:17 2008] [error] [client 127.0.0.1] [Mon Dec 22 23:33:17<br>
<div class="Ih2E3d">2008] install.pl: Can't call method "id" on an undefined value at<br>
InstallAuth.pm line 278.<br>
</div>=> ???<br>
<br>
Any ideas how I can repair the $debug_level problem??<br>
<br>
I've looked into the Context.pm source code. Line 443 checks for this<br>
variable's value. But I can't find the place where this value should have<br>
been defined before.<br>
<br>
Thanks for more help<br>
<font color="#888888"><br>
Ulrich<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<br>
Koha mailing list<br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
</div></div></blockquote></div><br>