[Koha-devel] Koha 3 Beta 2 - Second step of Web Installer returns blank page for Portuguese language (pt-PT)

Ricardo Dias Marques lists at ricmarques.net
Wed Apr 9 21:27:17 CEST 2008


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



More information about the Koha-devel mailing list