Forums / Install & configuration / upgrading from 3.4.4 to 3.5.2

upgrading from 3.4.4 to 3.5.2

Author Message

chandra s

Sunday 08 May 2005 9:00:45 pm

Hi

I am doing a upgrade from version 3.4.4 to 3.5.2. I have followed the instructions and tried it a few times but I keep gettting this error when I try to run ./update/common/scripts/updateiscontainer.php intranet(site name)
I get Unsuitable eZ publish version:3.5.2
I can't find other article's on the website for this.

Thanks

Chandra

Ɓukasz Serwatka

Sunday 08 May 2005 11:11:30 pm

Hi,

Here is a upgrade step-by-step document
http://ez.no/ez_publish/download/changelogs/ez_publish_3_5/upgrading

What exacly error you have during upgrade process?

updateiscontainer.php this script set flag "is container" for common classes like folder. For your custom classes you have to set this flag manualy. Go to Setup->Classes and in edit mode for class X check "is container" and save. Repate for all custom classes.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

chandra s

Monday 09 May 2005 2:57:10 pm

Thanks for the feedback.
I did follow the instructions as described by the link.
I can't find the 'is container' to check it in any of the classes.

This is the full error I get when I run the update script

/update/common/scripts/updateiscontainer.php intranet
PHP Warning: in_array(): Wrong datatype for second argument in ../kernel/classes/ezscript.php on line 1084
PHP Warning: in_array(): Wrong datatype for second argument in ../kernel/classes/ezscript.php on line 1084
PHP Warning: in_array(): Wrong datatype for second argument in ../kernel/classes/ezscript.php on line 1084
PHP Warning: in_array(): Wrong datatype for second argument in ../kernel/classes/ezscript.php on line 1084
Unsuitable eZ publish version:
3.5.2

Thanks you for your help.

Chandra

chandra s

Monday 09 May 2005 4:19:14 pm

Hi

Worked out the container part and seems to have fixed the problems. But I still get message
Unsuitable eZ publish version:
3.5.2
when I run the command
./update/common/scripts/updateiscontainer.php intranet

Frederik Holljen

Tuesday 10 May 2005 12:15:02 am

It is because the updateiscontainer script only wants to run when you are upgrading to a 3.5.0 installation. You can easily fix this by editing the script and changing max_version into 3.5.2.
You can also ignore the whole script and set the container attribute (in class edit) yourself for the class types that can have children.

chandra s

Tuesday 10 May 2005 2:09:59 pm

Thanks for that update. Much appreciated. I have done all the changes manually.

Chandra