Hi, I am getting a lot of different errors after installing Koha. [Tue Jan 14 22:13:31 2003] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/marcimport.pl Tag " " is not a valid tag. at /usr/local/koha/intranet/modules/C4/Biblio.pm line 590 [Tue Jan 14 22:17:40 2003] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/MARCdetail.pl [root@localhost intranet-tmpl]# /etc/koha.conf database=Koha hostname=localhost user=kohaadmin pass=xxxxxxx includes=/usr/local/koha/intranet/htdocs/intranet-tmpl/default/pl/includes <<-- ! Is this eight for me? intranetdir=/usr/local/koha/intranet opacdir=/usr/local/koha/opac kohalogdir=/var/log/koha kohaversion=RC1 httpduser=apache intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl I modified the includes= directive but I am not sure this is correct. Are intrahtdocs and opachtdocs OK? Are perl scripts aware that they should use ./defaults/pl directory for polish translation ??? Thanks for any answers. Benedict
Benedict a écrit:
Hi, I am getting a lot of different errors after installing Koha.
[Tue Jan 14 22:13:31 2003] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/acqui.simple/marcimport.pl Tag " " is not a valid tag. at /usr/local/koha/intranet/modules/C4/Biblio.pm line 590
This one is a little bit strange. It refers to the marc structure. Did you use unimarc or marc21 import or create marc parameters by yourself ? If you used one proposed, did you modify it in any way ?
[Tue Jan 14 22:17:40 2003] [error] [client 127.0.0.1] Premature end of script headers: /usr/local/koha/intranet/cgi-bin/MARCdetail.pl [root@localhost intranet-tmpl]#
/etc/koha.conf database=Koha hostname=localhost user=kohaadmin pass=xxxxxxx includes=/usr/local/koha/intranet/htdocs/intranet-tmpl/default/pl/includes <<-- ! Is this eight for me?
It should be. However, this parameter will soon disappear and refers only to .inc files. To direct koha to polish templates, you must modify the systempreferences table have the following row : Edit <http://127.0.0.1/phpMyAdmin/tbl_change.php?lang=en&server=1&db=koha_dombes&table=systempreferences&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=&primary_key=+%60variable%60+%3D+%27opaclanguages%27&sql_query=SELECT+%2A+FROM+%60systempreferences%60&goto=sql.php%3Flang%3Den%26server%3D1%26db%3Dkoha_dombes%26table%3Dsystempreferences%26pos%3D0%26session_max_rows%3D30%26disp_direction%3Dhorizontal%26repeat_cells%3D100%26dontlimitchars%3D%26sql_query%3DSELECT%2B%252A%2BFROM%2B%2560systempreferences%2560%26goto%3Ddb_details.php> Delete <http://127.0.0.1/phpMyAdmin/sql.php?lang=en&server=1&db=koha_dombes&table=systempreferences&pos=0&session_max_rows=30&disp_direction=horizontal&repeat_cells=100&dontlimitchars=&sql_query=DELETE+FROM+%60systempreferences%60+WHERE+%60variable%60+%3D+%27opaclanguages%27+LIMIT+1&zero_rows=The+row+has+been+deleted&goto=sql.php%3Flang%3Den%26server%3D1%26db%3Dkoha_dombes%26table%3Dsystempreferences%26pos%3D0%26session_max_rows%3D30%26disp_direction%3Dhorizontal%26repeat_cells%3D100%26dontlimitchars%3D%26sql_query%3DSELECT%2B%252A%2BFROM%2B%2560systempreferences%2560%26zero_rows%3DThe%2Brow%2Bhas%2Bbeen%2Bdeleted%26goto%3Ddb_details.php> opaclanguages pl en fr languages Note : it's for opac as well as for intranet. I agree it's not a good idea :-)
intranetdir=/usr/local/koha/intranet opacdir=/usr/local/koha/opac kohalogdir=/var/log/koha kohaversion=RC1 httpduser=apache intrahtdocs=/usr/local/koha/intranet/htdocs/intranet-tmpl opachtdocs=/usr/local/koha/opac/htdocs/opac-tmpl
I modified the includes= directive but I am not sure this is correct.
Are intrahtdocs and opachtdocs OK? Are perl scripts aware that they should use ./defaults/pl directory for polish translation ???
probably. They must point to the top-level template directory.
Thanks for any answers. Benedict
HTH -- Paul POULAIN Consultant indépendant en logiciels libres responsable francophone de koha (SIGB libre http://www.koha-fr.org)
participants (2)
-
Benedict -
paul POULAIN