[fixed] Phar does not install the other languages

Forum rules
Only administrators can post or move items here.
Post Reply
jce76350
Beta Tester
Beta Tester
Posts: 2023
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

[fixed] Phar does not install the other languages

Post 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.
Jean-Claude Etiemble
jce76350
Beta Tester
Beta Tester
Posts: 2023
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

Re: Phar does not install the other languages

Post 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 :-*
Jean-Claude Etiemble
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm
Location: Fernie British Columbia, Canada

Re: Phar does not install the other languages

Post by calguy1000 »

Should be fixed in next auto-generated phar.
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
jce76350
Beta Tester
Beta Tester
Posts: 2023
Joined: Mon May 29, 2006 1:20 pm
Location: Rouen

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

Post by jce76350 »

OK solved in rev 146
Jean-Claude Etiemble
Post Reply

Return to “Closed Issues”