Koha 3 Beta 2 - Second step of Web Installer returns blank page for Portuguese language (pt-PT)
Hi list, I'm finishing my installation of Koha 3 ("Beta 2"), in a virtual machine - that I created from scratch (again) - running Linux (openSUSE 10.3). I'm using the "default" Apache (2.2.4) and the "default" MySQL (5.0.45). After I managed to: 1- run perl makefile.PL 2 - install all the required package dependencies (Perl packages - mostly from CPAN - and RPM packages) 3 - create the koha (MySQL) database and the kohaadmin user and the koha system user 4 - run make test and make install 5 - ... I finally reached the first step of the Web Installer, available at: http://hostname:8080/cgi-bin/koha/installer/install.pl That took me to a login screen. I logged in with my kohaadmin username and password (using Mozilla Firefox). That worked and took me to the "Web Installer > Step 1" page (the URL remained the same), to choose a language from a dropdown list. I gladly saw that "famfamfam" is NO longer available as a language - see http://lists.koha.org/pipermail/koha-devel/2008-April/007395.html - and that, now, a long list of languages appear, including pt-PT (for Portuguese), which appears in second place in the list! :) HOWEVER, if I select that "pt-PT" language and then click the on the "Next >>" button, I get a BLANK page. The URL stays the same. If I view the HTML source of that page, I also get no output. Then, I checked the Koha error log, located at: /var/log/koha/koha-error_log I saw the following output: _________________ [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 324. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 325. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Languages.pm line 297. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 318. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 319. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st execute failed: Table 'koha.language_descriptions' doesn't exist at /usr/share/koha/lib/C4/Languages.pm line 324. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st fetchrow_hashref failed: fetch() without execute() at /usr/share/koha/lib/C4/Languages.pm line 325. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: Use of uninitialized value in string eq at /usr/share/koha/lib/C4/Languages.pm line 297. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: DBD::mysql::st execute failed: Table 'koha.systempreferences' doesn't exist at /usr/share/koha/intranet/cgi-bin/installer/install.pl line 705. [Wed Apr 09 20:15:16 2008] [error] [client 191.112.105.34] [Wed Apr 9 20:15:16 2008] install.pl: HTML::Template::Pro:template /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/pt-PT/modules/installer/step1.tmpl not found! at /usr/share/koha/intranet/cgi-bin/installer/install.pl line 714 ________________ That last line of the output made me think that maybe there was a missing folder for "pt-PT" under /usr/share/koha/intranet/htdocs/intranet-tmpl/prog In fact, by doing a "ls -1 /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/" (-1 stands for single column output), I get the following output: de-DE el-GR en es-ES es-VE fr-FR hu-HU hy-Armn img kn-Knda lo-Laoo nb-NO nl-NL nn-NO pl-PL ru-RU sr-Cyrl sv-SE tr-TR uk-UA zh-Hans-CN zh-Hans-TW So, I think there should be a "pt-PT" directory there, but it seems to be missing. Am I right? Thanks in advance! Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Hi, On Wed, Apr 9, 2008 at 2:27 PM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
So, I think there should be a "pt-PT" directory there, but it seems to be missing.
Correct - at the moment a partial pt-PT translation of the OPAC is available, but there's no translation for the staff interface. You could install Koha using one of the languages for which a staff translation is available, then enable Portuguese for the OPAC. Regards, Galen -- Galen Charlton Koha Application Developer LibLime galen.charlton@liblime.com p: 1-888-564-2457 x709
On Wed, Apr 9, 2008 at 3:54 PM, Galen Charlton <galen.charlton@liblime.com> wrote:
Hi,
On Wed, Apr 9, 2008 at 2:27 PM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
So, I think there should be a "pt-PT" directory there, but it seems to be missing.
Correct - at the moment a partial pt-PT translation of the OPAC is available, but there's no translation for the staff interface. You could install Koha using one of the languages for which a staff translation is available, then enable Portuguese for the OPAC. Thanks for pointing this out. The Installer should only be looking for languages that have a translation for the staff interface, so this is a bug, I'll investigate...
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Hi Joshua, On Thu, Apr 10, 2008 at 9:34 AM, Joshua Ferraro <jmf@liblime.com> wrote:
Thanks for pointing this out. The Installer should only be looking for languages that have a translation for the staff interface, so this is a bug, I'll investigate...
Great! Thanks a lot for the quick feedback and for recognizing this as a bug, Joshua! :) Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Hi Galen, On Wed, Apr 9, 2008, Galen Charlton <galen.charlton@liblime.com> wrote:
Correct - at the moment a partial pt-PT translation of the OPAC is available, but there's no translation for the staff interface. You could install Koha using one of the languages for which a staff translation is available, then enable Portuguese for the OPAC.
Very well. Thank you very much for your very quick reply and for the workaround you provided, that is: use *other* language than pt-PT (Portuguese) in the Koha Web Installer and then enable Portuguese for the OPAC. I'll try that workaround tomorrow (Friday, 11-Apr-2008). Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
On Thu, Apr 10, 2008 at 11:01 AM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
Hi Galen,
On Wed, Apr 9, 2008, Galen Charlton <galen.charlton@liblime.com> wrote:
Correct - at the moment a partial pt-PT translation of the OPAC is available, but there's no translation for the staff interface. You could install Koha using one of the languages for which a staff translation is available, then enable Portuguese for the OPAC.
Very well. Thank you very much for your very quick reply and for the workaround you provided, that is: use *other* language than pt-PT (Portuguese) in the Koha Web Installer and then enable Portuguese for the OPAC.
I'll try that workaround tomorrow (Friday, 11-Apr-2008). By Friday the fix I have for this will be pushed, so you can just rebase and pt-PT won't show up :-)
Cheers, -- Joshua Ferraro SUPPORT FOR OPEN-SOURCE SOFTWARE CEO migration, training, maintenance, support LibLime Featuring Koha Open-Source ILS jmf@liblime.com |Full Demos at http://liblime.com/koha |1(888)KohaILS
Hi Joshua, On Thu, Apr 10, 2008, Joshua Ferraro <jmf@liblime.com> wrote:
By Friday the fix I have for this will be pushed, so you can just rebase and pt-PT won't show up :-)
"Rebase"? Oh... I guess you're talking about a operation using "git" - http://git.or.cz/ I'm not using git (at least, not yet). I just downloaded the .tar.gz file for Koha 3 Beta 2 from Koha's web site. Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
Hi Ricardo, You can download a tar of the latest snapshot here: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=snapshot;h=bedb9fffa02605b6e... Assuming you have not modified any code/templates, I think you should be able to install over top of your existing install. Any db changes should be detected and your db updated automagically by the web installer. Regards, Chris On Fri, Apr 11, 2008 at 12:11 PM, Ricardo Dias Marques <lists@ricmarques.net> wrote:
Hi Joshua,
On Thu, Apr 10, 2008, Joshua Ferraro <jmf@liblime.com> wrote:
By Friday the fix I have for this will be pushed, so you can just rebase and pt-PT won't show up :-)
"Rebase"? Oh... I guess you're talking about a operation using "git" - http://git.or.cz/
I'm not using git (at least, not yet). I just downloaded the .tar.gz file for Koha 3 Beta 2 from Koha's web site.
Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net _______________________________________________ Koha-devel mailing list Koha-devel@lists.koha.org http://lists.koha.org/mailman/listinfo/koha-devel
-- Chris Nighswonger Faculty Member Network & Systems Director Foundations Bible College & Seminary www.foundations.edu www.fbcradio.org
Hi Chris, On Fri, Apr 11, 2008, Chris Nighswonger <cnighswonger@foundations.edu> wrote:
You can download a tar of the latest snapshot here: http://git.koha.org/cgi-bin/gitweb.cgi?p=Koha;a=snapshot;h=bedb9fffa02605b6e...
Assuming you have not modified any code/templates, I think you should be able to install over top of your existing install. Any db changes should be detected and your db updated automagically by the web installer.
Very nice. Thank you very much for that tip and information! :) Best wishes, Ricardo Dias Marques lists AT ricmarques DOT net
participants (4)
-
Chris Nighswonger -
Galen Charlton -
Joshua Ferraro -
Ricardo Dias Marques