Forums / Install & configuration / Missing sub-items in 3.7.3 after upgrade

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