pbm with current version in database

Author Message

Seb Gaillard

Thursday 10 December 2009 2:01:42 am

Hi,

I have some trouble with an object. A subtree has disapeared in the ez back and front end but it's still enable in the database. After some investigation, I have noticed that, in ezcontentobject_tree, the contentobject_version = 9 and, for the same object_id, in ezcontentobject, the currentversion = 8.

In addition to that, when I look at the ezcontentobject_version:
- for version = 8, status = 3
- for version = 9, status = 1

I think is not a good idea to change the value directly in the database, as someone an other solution?

Seb Gaillard

Thursday 10 December 2009 2:11:17 am

Hi, I have tried this:

in ezcontentobject_tree, I have switched the contentobject_version for 8 (in place of 9), and in ezcontentobject_version, I have delete the line of version 9. It seems to work now but I don't know if it can make some other troubles!

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 02:58:05
Script start
Timing: Jan 18 2025 02:58:05
Module start 'layout'
Timing: Jan 18 2025 02:58:05
Module start 'content'
Timing: Jan 18 2025 02:58:06
Module end 'content'
Timing: Jan 18 2025 02:58:06
Script end

Main resources:

Total runtime0.6408 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 589.0547152.6250
Module start 'layout' 0.00430.0023 741.679739.4453
Module start 'content' 0.00660.6330 781.1250423.8828
Module end 'content' 0.63950.0013 1,205.00788.1563
Script end 0.6408  1,213.1641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.4456160.0002
Check MTime0.00120.1818160.0001
Mysql Total
Database connection0.00060.087410.0006
Mysqli_queries0.605294.4364520.0116
Looping result0.00060.0889500.0000
Template Total0.614595.920.3073
Template load0.00190.295520.0009
Template processing0.612695.592420.3063
Template load and register function0.00030.040110.0003
states
state_id_array0.00080.122310.0008
state_identifier_array0.00070.115220.0004
Override
Cache load0.00150.2342120.0001
Sytem overhead
Fetch class attribute can translate value0.00060.099410.0006
Fetch class attribute name0.00110.171820.0006
XML
Image XML parsing0.00010.019310.0001
class_abstraction
Instantiating content class attribute0.00000.001120.0000
General
dbfile0.00140.2222100.0001
String conversion0.00000.001440.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs