[Koha] Koha 1.2.3 installation problem
Miguel Koren OBrien de Lacy
miguelk at konsultex.com.br
Wed May 7 15:20:30 NZST 2003
Waylon;
Thanks, I installed HTML::Template using the CPAN shell method and apparently that
helped tremendously. But things are still not quite right.
I now get this in the server error log:
[Tue May 6 23:51:20 2003] [error] [client 200.162.208.133] File does not exist:
/opt/koha/opac/htdocs/favicon.ico
HTML::Template->new() : Cannot open included file /htdocs/default/en/opac-main.tmpl :
file not found. at /usr/lib/perl5/site_perl/5.6.0/HTML/Template.pm line 1580
HTML::Template::_init_template('HTML::Template=HASH(0x823d5b4)') called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Template.pm line 1177
HTML::Template::_init('HTML::Template=HASH(0x823d5b4)') called at
/usr/lib/perl5/site_perl/5.6.0/HTML/Template.pm line 1071
HTML::Template::new('HTML::Template', 'filename',
'/htdocs/default/en/opac-main.tmpl', 'die_on_bad_params', 0, 'global_vars', 1,
'debug', ...) called at /opt/koha/includes/C4/Output.pm line 122
C4::Output::gettemplate('opac-main.tmpl', 'opac') called at
/opt/koha/includes/C4/Auth.pm line 45
C4::Auth::get_template_and_user('HASH(0x8381f50)') called at
/opt/koha/opac/cgi-bin/opac-main.pl line 11
[Tue May 6 23:51:35 2003] [error] [client 200.162.208.133] Premature end of script
headers: /opt/koha/opac/cgi-bin/opac-main.pl
In my case the file is in:
/opt/opac/htdocs/default/en/opac-main.tmpl
Searching in the source I found there another line that has to be put in koha.conf
('opachtdocs'). I put in '/opt/koha/opac/htdocs/' there and it now works.
But this raises the question if there any other things like this to look out for,
without trial and error?
Miguel
----------------------------------------------------------------------------------
For this, my friend, You have to install HTML::Template
do perl -MCPAN -e shell, to my recollection. At least in perl anyway. Then, type
install HTML::Template
--
Konsultex Informatica (http://www.konsultex.com.br)
More information about the Koha
mailing list