Page 1 of 1

[fixed] Phar does not install the other languages

Posted: Tue Dec 23, 2014 10:01 am
by jce76350
Hi,

in rev 141 the Phar installer (on fresh install) does not install the files xx_XX*.php on all the directories \lang\ext\

confirmed on test install Debian PHp 5.5.18 by jce76350
and MAMP PHP 5.5.18

Note : On my Account / User preferences language is set by default on "no default selected" and the Web Home page is blank because on the template lang='{$nls->htmlarea()}' is not defined.

Re: Phar does not install the other languages

Posted: Wed Dec 24, 2014 11:42 am
by jce76350
new test on rev 143 on WAMP

in step 7 I see
1- fresh install
Installé /admin/header.php
Installé /admin/index.php
Installé /admin/lang/en_US.php
Installé /admin/lang/ext/index.html
Installé /admin/lang/index.html
Installé /admin/listbookmarks.php
installer does not install the files xx_XX*.php on all the directories /lang/ext\

2- refresh the install
Installé /admin/header.php
Installé /admin/index.php
Installé /admin/lang/en_US.php
Installé /admin/lang/ext/de_DE.php
Installé /admin/lang/ext/es_ES.php
Installé /admin/lang/ext/fr_FR.php

Installé /admin/lang/ext/index.html
Installé /admin/lang/index.html
Installé /admin/listbookmarks.php

3 test upgrade
Installé /admin/header.php
Installé /admin/index.php
Installé /admin/lang/en_US.php
Installé /admin/lang/ext/de_DE.php
Installé /admin/lang/ext/es_ES.php
Installé /admin/lang/ext/fr_FR.php

Installé /admin/lang/ext/index.html
Installé /admin/lang/index.html
Installé /admin/listbookmarks.php

[EDIT] I think the bug is from rev 134 class.wizard_step6.php line 37

Code: Select all

if( isset($_POST['languages']) ) $this->_siteinfo['languages'] = \__appbase\utils::clean_string($_POST['languages']);

Merry Christmas to all the developers and testers :-*

Re: Phar does not install the other languages

Posted: Sun Jan 04, 2015 4:32 pm
by calguy1000
Should be fixed in next auto-generated phar.

Re: [fixed] Phar does not install the other languages

Posted: Mon Jan 05, 2015 8:08 am
by jce76350
OK solved in rev 146