Missing sub-items in 3.7.3 after upgrade

Author Message

Finn David Nilsen

Thursday 26 January 2006 10:40:28 am

Missing sub-items window on contents folder in 3.7.3 after upgrade

There are no sub-items listed for content structure, I can just see the folders "icon" whithout name and contenet.Under "sub-items" a message say : The <Folder> class is not configured to contain any sub items.

When I run the update script "php update/common/scripts/updateiscontainer.php -s admin". the only result was "Unsuitable eZ publish version: 3.7.3"

PHP version 4.4.0
MySQL version 4.0.25-standard.

Som hints?

Bertrand Dunogier

Thursday 26 January 2006 11:24:17 pm

Are you sure your command line version of PHP is the same as the apache module ? Try php -v, I don't think you're gonna get a 4.4.X version...

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Finn David Nilsen

Friday 27 January 2006 1:37:59 am

When I try php -v, its only list the php and zend version number.....

Paul Borgermans

Friday 27 January 2006 2:13:55 am

Which is ...?

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Finn David Nilsen

Friday 27 January 2006 2:38:27 am

PHP 4.4.0 (cli) (built: Jan 9 2006 10:26:23)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Paul Borgermans

Friday 27 January 2006 2:48:54 am

Are you upgrading from an older site (I mean 3.4 or so)?

I think that is the case, so edit the upgrade script near

$script =& eZScript::instance( array( 'description' => ( "eZ publish is_container update script\n\n" .
                                                         "This script will set the is_container attribute on known eZ publish classes\n" .
                                                         "\n" .
                                                         "Note: The script must be run for each siteaccess" .
                                                         "\n" .
                                                         "updateiscontainer.php -sSITEACCESS" ),
                                      'use-session' => false,
                                      'use-modules' => false,
                                      'use-extensions' => true,
                                      'min_version'  => '3.4.2',
                                      'max_version' => '3.5.0' ) );

And change the max version to 3.7.3

Than backup your database and run the update script. It will probably solve it.

And I think it is reasonable to file it as a bug (you should be able to go straight to a higher version from a lower version while skipping the intermediate versions).

hth

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

Finn David Nilsen

Friday 27 January 2006 5:18:11 am

I changed the code in updateiscontainer.php, and nov the script is running!..:-)

But, when I reload the admin site, it takes looooong time to load. I hade to set
set_time_limit(120); in index.php to run it throug..

I can now see the content structure at the left side, but whitout names...

I'm upgrading the database from ver 3.3.4. But ez 3.7.3 is a clean install.

Some more hints..?

Betsy Gamrat

Saturday 04 March 2006 10:18:12 am

You can limit the size of the contentstructure menu by changing these settings (MaxDepth and MaxNodes).

I put them as overrides.

::::::::::::::
contentstructuremenu.ini.append.php
::::::::::::::
<?php /* #?ini charset="iso-8859-1"?

[TreeMenu]
MaxDepth=0
MaxNodes=10

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 19 2025 01:03:01
Script start
Timing: Jan 19 2025 01:03:01
Module start 'layout'
Timing: Jan 19 2025 01:03:01
Module start 'content'
Timing: Jan 19 2025 01:03:02
Module end 'content'
Timing: Jan 19 2025 01:03:02
Script end

Main resources:

Total runtime0.8417 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 590.7422152.6406
Module start 'layout' 0.00660.0030 743.382839.4766
Module start 'content' 0.00970.8305 782.8594682.7188
Module end 'content' 0.84020.0015 1,465.578120.7500
Script end 0.8416  1,486.3281 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4033160.0002
Check MTime0.00140.1641160.0001
Mysql Total
Database connection0.00120.139610.0012
Mysqli_queries0.760890.3916760.0100
Looping result0.00080.1008740.0000
Template Total0.794494.420.3972
Template load0.00200.240320.0010
Template processing0.792494.144120.3962
Template load and register function0.00020.023110.0002
states
state_id_array0.00180.211010.0018
state_identifier_array0.00190.226920.0010
Override
Cache load0.00180.2123490.0000
Sytem overhead
Fetch class attribute can translate value0.00080.093240.0002
Fetch class attribute name0.00230.2746110.0002
XML
Image XML parsing0.00500.595840.0013
class_abstraction
Instantiating content class attribute0.00000.0028120.0000
General
dbfile0.00440.5199290.0002
String conversion0.00000.001140.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
13content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 33
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs