Upgrading from 3.2.4 to 3.4

Author Message

Ashwini Venugopal

Thursday 10 February 2005 4:42:07 am

Hi,
I tried to upgrade my site from 3.2.4 to 3.4. I tried to run the scripts which is in the url : http://ez.no/ez_publish/download/changelogs/ez_publish_3_4/upgrading

When I run this script : ./update/common/scripts/updatetoplevel.php

I get this error.

<b>
Fatal error: Call to a member function on a non-object in /home/mysite/cluster.www/ezpublish-3.4.0/kernel/content/ezcontentoperationcollection.php on line 367

Fatal error: eZ publish did not finish its request
The execution of eZ publish was abruptly ended, the debug output is present below.
</b>

This is what I get the error. Kindly help me.

Regards
Ashwini

Lazaro Ferreira

Thursday 10 February 2005 6:01:40 am

Hi,

Are you sure you have followed the official upgrade path step by step and
ran every database upgrade script ?

I would also recomend you to verify every step of the upgrade path, opening the URL

your.domain/ezinfo/about

or checking system information page
at the administration site. You may need to clear the cache and compile the templates when changing from 3.2 to 3.3 and then to 3.4

Lazaro
http://www.mzbusiness.com

Timmothy Green

Friday 11 March 2005 11:28:10 am

I'm getting the same message when trying to run <b>updatetoplevel.php</b>

<i><mysite>/ezinfo/about</i> loads fine as does the rest of the site as far as I can tell.

Starting with EZpublish 3.3-4
Upgrading to 3.5.0

MySql 3.23.58
PHP 4.3.10 with CLI

I've been following the upgrade path from the Changelogs:
http://ez.no/ez_publish/download/changelogs/ez_publish_3_4/upgrading
and
http://ez.no/ez_publish/download/changelogs/ez_publish_3_5/upgrading

Automation Technologies, Inc.
http://www.ati4it.com

Timmothy Green

Friday 11 March 2005 11:30:25 am

I also have tried clearing the cache using <b>bin/php/ezcache.php</b> and compiling the templates with <b>bin/php/eztc.php</b>

Automation Technologies, Inc.
http://www.ati4it.com

Timmothy Green

Tuesday 22 March 2005 10:49:24 am

Ok, I started over and figured I would try to upgrade to a working 3.4.0 version, before moving on to 3.5. The results are better. I've been able to run all of the sql updates and update scripts, including updatetoplevel, without a problem.

Now the only problem I'm having is that the <b>Settings</b> and <b>Look and Feel</b> buttons on the Setup tab of the Admin interface return an <i>Object is unavailable</i> error.

I have debugging on and it shows

Error: eZContentObject::fetch() Mar 22 2005 13:38:11
Object not found

The url for the <b>Look and Feel</b> button is http://<mysite>/admin/content/edit/54

The url for the <b>Settings</b> button is http://<mysite>/admin/content/edit/52

In my database I cannot find any objects with ID 52 or 54. In another database I created using <i>kernel_schema.sql</i> and <i>cleandata.sql</i> under <i>kernel/sql/mysql</i> these object IDs do exist.

The <i>ezsqldiff</i> script returns no differences in the schema of the two databases(both are version 3.4.0).

I do not recall getting any errors during the upgrade process and I do not believe I skipped any of the sql updates.

Automation Technologies, Inc.
http://www.ati4it.com

Tim Dickinson

Saturday 09 April 2005 4:59:34 pm

Did you manage to fix the problem with the look and feel and the settings links not working Timothy?

I have the same problem, and am trying to work out how to fix it.

Cheers

Tim

http://www.AdBalance.com - Ad network news and reviews
http://www.DevPublisher.com - Website publisher guides, tools and news
http://www.AudioMelody.com - Make better music

Timmothy Green

Wednesday 13 April 2005 9:02:43 am

Apparently this happens because we have creaetd custom templates. I've been told this is not an indication that there is anything wrong with my database. Simply that because we are using custom templates these buttons have no functionality.

Automation Technologies, Inc.
http://www.ati4it.com

Timmothy Green

Monday 24 October 2005 2:07:43 pm

Running into this problem again with a client's DB. Fresh installs of 3.3-1 through 3.3-5 create a class group called 'Setup' which contains two classes 'template_look' and 'setup_link'. Neither this group nor the aforemention classes exist in sites that are upgraded from 3.2-x to 3.3-x. I'm not sure why yet.

I have tried upgrading a fresh 3.2-6 install to 3.3-1 and no 'Setup' group is created. It appears to be created in code, because I cannot find a database upgrade script that creates it and the kernel/sql/postgres/cleandata.sql script does not create it. I don't see any indications in the changelogs that there are any additional update scripts (update/common/scripts) which need to be run after a 3.2-x-to-3.3-x upgrade.

Automation Technologies, Inc.
http://www.ati4it.com

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.