<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Stephen,<br>
The Apache error_log shows shows that C4/Database.pm can't be found.
i.e the path to Database.pm in not included in the standard Perl paths
shown by the array @INC. I must do some tweaking to have the
/usr/local/koha/intranet/module/C4 included in the Perl paths. There
are several ways of doing this in Perl.<br>
<br>
Alfred,<br>
<br>
Stephen Hedges wrote:<br>
<blockquote
cite="mid32824.65.24.138.126.1135200746.squirrel@webmail.skemotah.com"
type="cite">
<pre wrap="">Alfred -
C4::Database is a Koha module. Look in
/usr/local/koha/intranet/modules/C4 and you'll find Database.pm
I would guess your problem relates to your Apache config.
Stephen
Alfred Vahau said:
</pre>
<blockquote type="cite">
<pre wrap="">I have installed Koha on Ubuntu Linux 4.10 (Warty distribution) with
Mysql 4.0.17 and Apache 1.3.33
I set up two named-based virtual hosts to one IP address and the server
is dedicated to Koha.
My virtual hosts configs. are shown in attachment.
I access the home page by typing <a class="moz-txt-link-freetext" href="http://128.1.9.245:80/index.html">http://128.1.9.245:80/index.html</a> which
serves the "Welcome to Koha" Message
and the next page is loaded according to the meta-equiv directive in
index.html. The URL is /cgi-bin/mainpage.pl
But the redirected page cannot load and results in the Internal Server
Error message shown in the attachment.
I checked the error_log file and noted the error which is shown in the
attachment. The mainpage.pl is looking
for a C4/Database.pm module as indicated by use C4::Database line.
I headed to CPAN to search for C4::Database but I couldn't locate a
module with that specific name. The ones
which were shown, I thought, were not relevant to Koha.
So my question, where are these C4::Database, etc modules referred to in
the mainpage.pl. Are they in Mysql
database? I fired up Mysql and tried to list the tables in Koha but got
an error message that the contents of Koha
database could not be displayed.
I am quite a long way from getting Koha configured correctly as there
are many dependent Perl Modules that
must interact correctly.
I have googled for the error message but on a slow network, the download
of information is frustrating.
Thanks in advance for the assistance.
Alfred Vahau
IT Services
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>