Hi I have upgraded Koha 3.2.3 to 3.4.1 Unfortunatly the display is broken The browser image starts with: " xml:lang="" dir="" xmlns="http://www.w3.org/1999/xhtml"> and all the graphic elements are missing. The browser is loading and loading ... The log has a lot of lines like: [Tue Jun 07 21:44:33 2011] [error] [client 192.168.1.50] File does not exist: /usr/share/koha/intranet/htdocs/<!-- TMPL_VAR name=, referer: http://kbverwaltung.kollegium-sarnen.ch/ What went wrong?? Beda
Sounds to me like its using your not updated templates. Were you running an another language, you will need to reinstall the translation. If you switch to english, does it show alright? 3.4.0 changed the templating system there should be no <! -- TMPL stuff thats the old templates. Sorry for my brevity, written while on the bus Chris On 8 Jun 2011 07:59, "Beda Szukics" <beda@kollegium-sarnen.ch> wrote:
Hi
I have upgraded Koha 3.2.3 to 3.4.1
Unfortunatly the display is broken
The browser image starts with:
" xml:lang="" dir="" xmlns="http://www.w3.org/1999/xhtml">
and all the graphic elements are missing.
The browser is loading and loading ...
The log has a lot of lines like:
[Tue Jun 07 21:44:33 2011] [error] [client 192.168.1.50] File does not exist: /usr/share/koha/intranet/htdocs/<!-- TMPL_VAR name=, referer: http://kbverwaltung.kollegium-sarnen.ch/
What went wrong??
Beda _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Am 07.06.2011 22:05, schrieb Chris Cormack:
Sounds to me like its using your not updated templates. Were you running an another language, you will need to reinstall the translation.
My koha used to be in german. So I did: perl translate install de-DE. Now at some point I allway get (for example: while I try to alter system-preferences): Software error: Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119. For help, please send mail to the webmaster (beda@kollegium-sarnen.ch <mailto:beda@kollegium-sarnen.ch>), giving this error message and the time and date of the error. I'm helpless :-( Beda
On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
Am 07.06.2011 22:05, schrieb Chris Cormack:
Sounds to me like its using your not updated templates. Were you running an another language, you will need to reinstall the translation.
My koha used to be in german.
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch), giving this error message and the time and date of the error.
Hmm, That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it? Chris
Am 08.06.2011 06:22, schrieb Chris Cormack:
On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
Am 07.06.2011 22:05, schrieb Chris Cormack:
Sounds to me like its using your not updated templates. Were you running an another language, you will need to reinstall the translation.
My koha used to be in german.
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch), giving this error message and the time and date of the error.
Hmm,
That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it?
There are two warnings: tmpl_process3.pl: Warning: opac-shelves.tt: <a1>: Anchor 1 not found for msgid "Diese Liste hat keine Einträge. Sie können die Ergebnisse jeder <a1>Suche</a>" Can't call method "string" on an undefined value at TmplTokenizer.pm line 446. and at the end: Creating /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/labels/label-edit-layout.tt... %Än: Unknown or unsupported format specification but the script continues. The last message is: Write web-services.pref Beda
I replied to Beda in German, suggesting trying newer po files from Pootle and checking the files for syntax errors in Poedit. I had tested the completed opac po file in 3.4.0 and that worked without problems. But there were a lot of changes to the po files since then. Katrin -----Ursprüngliche Nachricht----- Von: koha-bounces@lists.katipo.co.nz im Auftrag von Chris Cormack Gesendet: Mi 08.06.2011 06:22 An: Beda Szukics Cc: koha@lists.katipo.co.nz Betreff: Re: [Koha] Upgrade to koha 3.4 breaks display On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
Am 07.06.2011 22:05, schrieb Chris Cormack:
Sounds to me like its using your not updated templates. Were you running an another language, you will need to reinstall the translation.
My koha used to be in german.
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch), giving this error message and the time and date of the error.
Hmm, That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it? Chris _______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
Am 08.06.2011 06:22, schrieb Chris Cormack:
On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch), giving this error message and the time and date of the error.
Hmm,
That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it? Yes. The actual po-files for german have some errors (mainly wrong %-statements). I corrected them locally and will try to add these corrections to translate.koha-community.org.
Now things are ok :-) But I would suggest to add a warning to the upgrade section of the INSTALL.<os>-files. Something like: * Turn your koha to english before upgrading. * Install your needed languages before opening the staff-page the first time. I had my koha-installation switched to german. After the upgrade-process the display was broken because of the old/missing german files. Because the po-files were corrupted I couldn't install them. Koha became unusable till I had fixed my po-files. Thank you for your hints. They lead my on the right path. :-) Beda
Kia ora!
Yes. The actual po-files for german have some errors (mainly wrong %-statements). I corrected them locally and will try to add these corrections to translate.koha-community.org.
Wasn't someone from Argentina on about %s in Spanish? Could this be all of the templates somehow? Cheers, Brooke
On 9 June 2011 09:40, BWS Johnson <abesottedphoenix@yahoo.com> wrote:
Kia ora!
Yes. The actual po-files for german have some errors (mainly wrong %-statements). I corrected them locally and will try to add these corrections to translate.koha-community.org.
Wasn't someone from Argentina on about %s in Spanish? Could this be all of the templates somehow?
Its not the template files it's the .po files. But yes people are fixing them and putting better ones at translate.koha-community.org .. anyone can help with that. Beda, I will update the INSTALL files now Chris
Wasn't someone from Argentina on about %s in Spanish? Could this be all of the templates somehow?
Yes. We get the same issue in French. It has been fixed for French on Pootle. I now for sure it has also been fixed for German and Spanish. We have now a better detection of this situation. It's still the responsibility of translators to apply their translation to a current 3.4 installation, check the result, and fix any strings containing inconsistent %s placeholders. For the next release, I will check all languages and send a warning to translators who have to fix their translation files. -- Frédéric DEMIANS http://www.tamil.fr/u/fdemians.html
Am 08.06.2011 18:38, schrieb Beda Szukics:
Am 08.06.2011 06:22, schrieb Chris Cormack:
On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch), giving this error message and the time and date of the error.
Hmm,
That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it? Yes. The actual po-files for german have some errors (mainly wrong %-statements). I corrected them locally and will try to add these corrections to translate.koha-community.org.
Now things are ok :-) Sadly not everything is o.k.
Trying to edit an authority I get: Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt line 75: unexpected end in the log-file I find: detail.pl: Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/detail.tt line 75: unexpected end of input at /usr/share/koha/lib/C4/Templates.pm line 119., referer: http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/authorities/authorities-home.pl?op=do_search&type=intranet&marclist=mainmainentry&operator=contains&value=H%C3%BCrbin&orderby=HeadingAsc Trying to go to Start->Katalogisierung I get: Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt line 39: unexpected token (END) [% END %] at /usr/share/koha/lib/C4/Templates.pm line 119. and in the logs: [Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9 21:34:44 2011] addbooks.pl: Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/addbooks.tt line 39: unexpected token (END), referer: http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl [Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9 21:34:44 2011] addbooks.pl: [% END %] at /usr/share/koha/lib/C4/Templates.pm line 119., referer: http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl I think it's still a translation issue. If I switch the language to en, both links are working fine. Any hints? Beda
Shifting to Koha-translate, please reply to that :) On 10 Jun 2011 07:39, "Beda Szukics" <beda@kollegium-sarnen.ch> wrote:
Am 08.06.2011 18:38, schrieb Beda Szukics:
Am 08.06.2011 06:22, schrieb Chris Cormack:
On 8 June 2011 16:17, Beda Szukics <beda@kollegium-sarnen.ch> wrote:
So I did: perl translate install de-DE.
Now at some point I allway get (for example: while I try to alter system-preferences):
Software error:
Template process failed: file error - prefs-admin-search.inc: not
found at
/usr/share/koha/lib/C4/Templates.pm line 119.
For help, please send mail to the webmaster (beda@kollegium-sarnen.ch ), giving this error message and the time and date of the error.
Hmm,
That should have worked, maybe Katrin can shed some light on it, she has had 3.4.x running in german before. I suspect that the translate command didnt complete, did it give you any errors when you ran it? Yes. The actual po-files for german have some errors (mainly wrong %-statements). I corrected them locally and will try to add these corrections to translate.koha-community.org.
Now things are ok :-) Sadly not everything is o.k.
Trying to edit an authority I get:
Template process failed: file error - parse error - /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/ detail.tt line 75: unexpected end
in the log-file I find:
detail.pl: Template process failed: file error - parse error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/authorities/ detail.tt
line 75: unexpected end of input at /usr/share/koha/lib/C4/Templates.pm line 119., referer:
Trying to go to Start->Katalogisierung I get:
Template process failed: file error - parse error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/ addbooks.tt line 39: unexpected token (END)
[% END %] at /usr/share/koha/lib/C4/Templates.pm line 119.
and in the logs:
[Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9 21:34:44 2011] addbooks.pl: Template process failed: file error - parse error -
/usr/share/koha/intranet/htdocs/intranet-tmpl/prog/de-DE/modules/cataloguing/ addbooks.tt
line 39: unexpected token (END), referer: http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl [Thu Jun 09 21:34:44 2011] [error] [client 192.168.1.50] [Thu Jun 9 21:34:44 2011] addbooks.pl: [% END %] at /usr/share/koha/lib/C4/Templates.pm line 119., referer: http://kbverwaltung.kollegium-sarnen.ch/cgi-bin/koha/mainpage.pl
I think it's still a translation issue. If I switch the language to en, both links are working fine.
Any hints?
Its most likely a broken template var, done by the translation. I think a missing %s But the translators might have better ideas. Chris
_______________________________________________ Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz http://lists.katipo.co.nz/mailman/listinfo/koha
participants (5)
-
Beda Szukics -
BWS Johnson -
Chris Cormack -
Fischer, Katrin -
Frédéric Demians