koha-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-devel] Re: Koha Setup Question


From: Pat Eyler
Subject: [Koha-devel] Re: Koha Setup Question
Date: Thu Jun 12 10:20:08 2003

Patrick,
I'm sending your message along to the koha and koha-devel mailing lists.
You'll likely get better answers more quickly by going directly to these
lists.

thanks,
-pate

On Thu, 12 Jun 2003, Singer, Patrick J wrote:

> I'm working with Anne Zarinnia's group on setting up a Koha testbed for
> us to evaluate and test out.
>
> I've been using the 1.9.3 version of Koha because we wanted to get a
> feel for how the newer stable version (once released) would feel.
>
> I followed the instructions on this page
> http://koha.org/installation/quick-start.html with some minor changes
> but it all looks like it is setup correctly.
>
> When I go to the site where I have setup the OPAC the opac-main.pl
> script crashes an causes an internal server error.
>
> I ran the script from the command line and got the following error
> message -
>
> HTML::Template->new() : Cannot open included file
> /default/en/opac-main.tmpl : file not found. at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 1580
>
> HTML::Template::_init_template('HTML::Template=HASH(0x818ba54)')
> called at /usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 1177
>
> HTML::Template::_init('HTML::Template=HASH(0x818ba54)') called at
> /usr/lib/perl5/site_perl/5.8.0/HTML/Template.pm line 1071
>
> HTML::Template::new('HTML::Template','filename',
> '/default/en/opac-main.tmpl','die_on_bad_params',0,'global_vars',1,
> 'path','ARRAY(0x88218e4)',...)
> called at /usr/lib/perl5/site_perl/5.8.0/C4/Output.pm line 93
>
> C4::Output::gettemplate('opac-main.tmpl','opac') called at
> /usr/lib/perl5/site_perl/5.8.0/C4/Auth.pm line 112
>
> C4::Auth::get_template_and_user('HASH(0x806187c)') called at
> ./opac-main.pl line 12
>
>
> I don't know if this is due to the includes listed in the
> /etc/koha.conf file or if it something else.
> Here is a (close to) complete configuration breakdown of the box.
>
> Software -
> O/S - RedHat 8.0
> Kernel - 2.4.18-14
> Apache - 2.0.40-8
> mySQL - 3.23.52-3
> PERL - 5.8.0-55
>
> Configuration Files -
>
> /etc/koha.conf
>
>               database=Koha
>               hostname=localhost
>               user=koha
>               pass=<password>
>               includes=/var/www/koha/htdocs/opac-tmpl
>
>
> /etc/httpd/conf/httpd.conf | section with opac configuration
>
>
>               # Koha OPAC section
>               ScriptAlias /cgi-bin/koha "/var/www/koha/cgi-bin/"
>               <Directory "/var/www/koha/cgi-bin">
>                       Options +Includes -FollowSymlinks -Indexes
>                       AllowOverride None
>                       Order allow,deny
>                       Allow from all
>               </Directory>
>
>               Alias /koha "/var/www/koha/htdocs/"
>               <Directory "/var/www/koha/htdocs">
>                       Options +Includes -FollowSymlinks -Indexes
>                       AllowOverride None
>                       Order allow,deny
>                       Allow from all
>               </Directory>
>
>
> Directory structure where OPAC located -
> /var/www/koha/htdocs - location of index.html and directory with opac-tmpl
> /var/www/koha/htdocs/opac-tmpl - location of opac templates (is this the 
> include directory?)
> /var/www/koha/cgi-bin - location of opac cgi-scripts
>
> I hope this is enough information to help with the given error.
>
> Thank you for your time and assistance.
>
> -Patrick Singer
>
>
>
>
>
>
>
>
>
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]