Forums / Install & configuration / Installing packages of eZP 3.8 to eZP 3.9

Installing packages of eZP 3.8 to eZP 3.9

Author Message

Pascal France

Monday 18 December 2006 4:43:43 am

Hi,

I read somewhere that we have to set a parameter in order to be able to upload the site style packages of eZP 3.8 into eZP 3.9.

But I can't find the info anymore.

Which setting is it ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Kristof Coomans

Monday 18 December 2006 5:51:43 am

Hi Pascal

http://ezpedia.org/wiki/en/ez/ez_publish_3_9#eztoc1734_4

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Pascal France

Monday 18 December 2006 9:15:40 am

Thanks a lot Kristof.

Maybe could you give me an answer about this question I posted here few days ago:

http://ez.no/community/forum/general/oe_title_w3c_validator

I displayed the source of the link you gave me in your answer and I can see that for each header there is a new eztoc number.
But for me, it is always the same eztoc number which is used for all headers of an object (but It is not the same for each object). So I can't validate my pages with w3c.

it is a bit annoying

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Monday 08 January 2007 6:40:52 am

Hi,

If we change, in settings/packages.ini, the location of the packages we want to install during the 3.9 install proccess, like that:

RemotePackagesIndexURL=http://packages.ez.no/ezpublish/3.9legacypackages

instead of the default location:

RemotePackagesIndexURL=http://packages.ez.no/ezpublish/3.9

then we can chose the old site styles (version 3.8).

But once ez publish is installed, each time I want to import packages (updated from http://packages.ez.no/ezpublish/3.9legacypackages) into my system I get an error message:

Parse error: syntax error, unexpected T_STRING in /usr/local/www/ezp39/var/plain_site/cache/template/compiled/install-deac669a7cea11a0f4d33b6be872e1fe.php on line 65
Fatal error: eZ publish did not finish its request

The execution of eZ publish was abruptly ended, the debug output is present below.

The line 65 is:

$var = 'Le paquetage peut être installé sur votre système. L'installation copiera les fichiers, créera les classes de contenu, etc. suivant les paramètres du paquetage.<br />

If I do:

grep -R -n "Le paquetage peut être installé sur votre système." share/translations/

I get:

share/translations/fre-FR/translation.ts:5330:        <translation type="unfinished">Le paquetage peut être installé sur votre système. L&apos;installation copiera les fichiers, créera les classes de contenu, etc. suivant les paramètres du paquetage.
share/translations/fre-FR/translation.ts:16927:        <translation>Le paquetage peut être installé sur votre système. installation copiera les fichiers, créera les classes de contenu, etc. suivant les paramètres du paquetage.

Then, in share/translations/fre-FR/translation.ts:5330 I modified

L&apos;installation

to

L installation

and now all works fine.

But I wonder what will happen with the others words containing an apostrophe ?

Regards

Pascal

PS: the main language I have chosen during installation is French and additional languages are English and Portuguese

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Thursday 11 January 2007 3:48:18 am

Hi,

Another better method to fix this issue is to escape the apostroph in translation.ts:5330:

L\&apos;installation

Regards

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish