Dear all, after updating to 3.4.1 I got a new problem. I tried to fix it with help of the list and google, but there is still no result. So I hope you can help me. At first, I found out, that I should switch my language back to english before doing the upgrade. Sorry I didn't - read it first after the update - so I think it will be the reason of the problem. I use language german! What had I done: 1. After the upgrade I could not open the webinstaller. After looking in the list I found that the *.pl files need permission.. so I chmod all files in the cgibin folder for intranet and opac (with -R) . -> Problem solved I could run the webinstaller. 2. After that I got my problem. The display was broke down, and I got the error: " xml:lang="" dir="" xmlns="http://www.w3.org/1999/xhtml"> /includes/favicon.ico" type="image/x-icon" /> /lib/jquery/plugins/ui.tabs.css" /> /css/print.css" /> " /> /css/staff-global.css" /> /" /> /css/modules/" /> /css/pages/" /> /" /> /css/login.css" /> /css/wizard.css" /> /css/" /> and the layout was broke down. 3. After some search I found the information, that the po files are the problem. So I downloaded the 3 files with copy fro pootle down, and paste it with overwriting in the po files of koha. -> Result nothing. 4. I read that I should switch the language back to english and reinstall german. but I do not now how. -> would that not help? So I will copy some error logs: The last: [Thu Jun 16 11:53:35 2011] [error] [client 127.0.1.1] File does not exist: /usr/share/koha/intranet/htdocs/<!-- TMPL_VAR NAME=, referer: http://127.0.1.1:8080/ Before I played a little around, so I got by the try to change the language over the staffpage : [Thu Jun 16 11:53:07 2011] [error] [client 192.178.0.3] [Thu Jun 16 11:53:07 2011] mainpage.pl: Template process failed: file error - doc-head-open.inc: not found at /usr/share/koha/lib/C4/Templates.pm line 119. I hope you can help to get the problem fixed. I am really helpless now. What should I do? Thanks a lot. Best Regards. Florian
On 16 June 2011 12:24, Journals Digital <journals.digital@gmail.com> wrote:
3. After some search I found the information, that the po files are the problem. So I downloaded the 3 files with copy fro pootle down, and paste it with overwriting in the po files of koha. -> Result nothing.
Did you run the "translate" script? You need to be in the directory misc/translator and then run "perl translate install de-DE". This will take the translations from the po files and create new templates in German. Hope that helps... Magnus Enger libriotech.no
Thanks for replay! I tried it now. Result: user@PC:/usr/share/koha/misc/translator$ perl translate de-DE Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at LangInstaller.pm line 23. BEGIN failed--compilation aborted at LangInstaller.pm line 23. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25 -------- so did I something wrong? I looked in the the readme file for the translation tool, but I really didn't understand anything. It is a bit to confuse for me. Thnaks for help. Regards, Florian -- View this message in context: http://koha.1045719.n5.nabble.com/After-Update-to-3-4-1-XML-error-tp4494482p... Sent from the Koha - Discuss mailing list archive at Nabble.com.
On 16 June 2011 14:01, faku <journals.digital@gmail.com> wrote:
Thanks for replay!
I tried it now. Result:
user@PC:/usr/share/koha/misc/translator$ perl translate de-DE Can't locate C4/Context.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.1 /usr/local/share/perl/5.10.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl .) at LangInstaller.pm line 23. BEGIN failed--compilation aborted at LangInstaller.pm line 23. Compilation failed in require at translate line 25. BEGIN failed--compilation aborted at translate line 25
A couple of things: 1. You need to set the PERL5LIB environment variable from the command line, before running the script. If you have a standard install that would be: export PERL5LIB=/usr/share/koha/lib 2. It's "perl translate install de-DE", not just "perl translate de-DE". Best regards, Magnus Enger libriotech.no
Dear Magnus, it works half way! Now it is usable again. Thanks! I must run the perl comand after switching to root with sudo -i because of some permissions. (Just for information.) But there is still a probelm. I don't know if the reason is a problem by me or by the po files?. All my german special letters like ö, ä, ü, Ö, Ü, Ä or ß are written in a symbol combination like %5 or so. (%5 is just an example). There is a second problem, after switching to german, the headline in staff part is still in english! Also by switching back to english as stand alone language, just the headline is english the other parts are still in german. My Third problem is now by clicking on cataloguing, I get the error: 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. When I open it over the MARC link one line down, I get the add book page -> not tried to add one. Can You or anybody else help? Thanks Regards, Florian -- View this message in context: http://koha.1045719.n5.nabble.com/After-Update-to-3-4-1-XML-error-tp4494482p... Sent from the Koha - Discuss mailing list archive at Nabble.com.
Problem with Ä, Ö, .... fixed I correct the de-DE.. .po Files in that case. -> Where can I upload it for use? But the problem with cataloguing still exist... I found an other post also for that problem. Do anybody know where the problem is? Regards, Florian -- View this message in context: http://koha.1045719.n5.nabble.com/After-Update-to-3-4-1-XML-error-tp4494482p... Sent from the Koha - Discuss mailing list archive at Nabble.com.
participants (3)
-
faku -
Journals Digital -
Magnus Enger