Updatemultilingual.php and existing translations

Author Message

Daniel Arnrup-Øien

Thursday 10 August 2006 4:03:22 am

EDIT: Problem below was solved by updating regional settings (SiteLanguageList) BEFORE running updatemultilingual.php.

---------------------------------------------------------------------------------------------------------------------

I have upgraded an eZ Publish 3.6.6 installation to 3.8.3. The site is multilingual (English and Norwegian) and most (but not all) pages exist in both languages.

The sql database update script ran fine. The updatemultilingual.php also script executes fine (and it does identify nor-NO and en-GB as the two working languages of the site), but fails to keep the existing translations. They are apparently still in the database but both nor-NO and eng-GB versions of an object are set to eng-GB. In the translation box an object is listed as having two translations, but only the eng-GB version is visible (see pic below).

http://www.svenskefaen.com/translations.jpg

The regional settings for the siteaccess are updated with the new parameters (SiteLanguageList) and ShowUntranslatedObjects is enabled.

All objects are listed under the section view, but when trying to access a Norwegian object, I get either an English translation (for an object that exists in both languages) or a kernel(3) error (for an object that exists only in Norwegian).

Any ideas on what is wrong?

Daniel A. Øien
Open Concept SA, Norway
Web: http://openconcept.no/
In English: http://openconcept.no/eng

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 17 2025 23:56:06
Script start
Timing: Jan 17 2025 23:56:06
Module start 'layout'
Timing: Jan 17 2025 23:56:06
Module start 'content'
Timing: Jan 17 2025 23:56:06
Module end 'content'
Timing: Jan 17 2025 23:56:06
Script end

Main resources:

Total runtime0.0198 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0080 589.4375152.6563
Module start 'layout' 0.00800.0034 742.093839.5078
Module start 'content' 0.01140.0065 781.601689.3047
Module end 'content' 0.01800.0018 870.906330.3047
Script end 0.0198  901.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.4240140.0002
Check MTime0.00125.8311140.0001
Mysql Total
Database connection0.00199.531810.0019
Mysqli_queries0.003417.017530.0011
Looping result0.00000.080710.0000
Template Total0.00147.110.0014
Template load0.00063.252710.0006
Template processing0.00083.813910.0008
Override
Cache load0.00042.232710.0004
General
dbfile0.00136.748780.0002
String conversion0.00000.039740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs