Upgrade 3.10.1 -> 4.0.6: content in XML blocks is not shown

Author Message

Martin Burger

Saturday 08 August 2009 3:44:09 am

Hello,

I am upgrading our eZ Publish instances from 3.10.1 to 4.0.6. Unfortunately, the conversion from iso-8859-1 to utf-8 seems to fail sometimes.

I used ezconvertdbcharset.php from trunk, because otherwise it fails with "Call to a member function setNameByLanguageLocale() on a non-object" (http://ez.no/tw/developer/forum/install_configuration/upgradin_3_10_1_to_4_0_3_mysql_error).

For some sites, content in "admin" and "user" site access / front-end is shown as expected.

However, for one of our sites, content in XML blocks is not shown; neither in "admin", nor in "user". For another site, content is shown in "user", but not in "admin".

I compared settings in one of the working sites with the settings in the half-working (content shown in "user" only) one. I cannot find any difference that is related to this issue. For example, Charset is set to utf-8 in settings/override/i18n.ini.append.php and in settings/siteaccess/customer_(user|admin)/site.ini.append.php.

What could be the cause for this issue?

Regards

Martin

Database: 5.0.32-Debian_7etch10-log
PHP: 5.2.0-8+etch15

http://www.netbeyond.de/

Martin Burger

Saturday 08 August 2009 3:53:19 am

Argh, I don't know why, but the "preview" tab was deactivated after the upgrade.

http://www.netbeyond.de/

Martin Burger

Saturday 08 August 2009 9:49:28 am

After restoring a complete backup (disk and db) and repeating the whole upgrade process, the site that hadn't worked before at all (no content at user and admin part) works now as well.

Before doing the conversion by calling ezconvertdbcharset.php, I cleared and purged the cache. Maybe this was related to the issue.

http://www.netbeyond.de/

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 18 2025 15:15:21
Script start
Timing: Jan 18 2025 15:15:21
Module start 'layout'
Timing: Jan 18 2025 15:15:21
Module start 'content'
Timing: Jan 18 2025 15:15:22
Module end 'content'
Timing: Jan 18 2025 15:15:22
Script end

Main resources:

Total runtime1.0288 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 588.1953152.6563
Module start 'layout' 0.00660.0050 740.851639.4922
Module start 'content' 0.01161.0156 780.3438498.2734
Module end 'content' 1.02720.0016 1,278.617212.0938
Script end 1.0288  1,290.7109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3457160.0002
Check MTime0.00140.1374160.0001
Mysql Total
Database connection0.00060.057110.0006
Mysqli_queries0.968894.1621550.0176
Looping result0.00050.0475530.0000
Template Total0.988196.020.4941
Template load0.00210.200820.0010
Template processing0.986095.842120.4930
Template load and register function0.00010.009810.0001
states
state_id_array0.00180.174910.0018
state_identifier_array0.00160.152120.0008
Override
Cache load0.00170.1623220.0001
Sytem overhead
Fetch class attribute can translate value0.00080.079610.0008
Fetch class attribute name0.00140.135740.0003
XML
Image XML parsing0.00080.082510.0008
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00100.0929160.0001
String conversion0.00000.001640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs