Missing Content Section after upgrading to version 4

Author Message

Paul Cozens

Sunday 20 July 2008 11:17:50 am

My hosting provider recently upgraded the PHP to v5 which promptly stopped my v3.7 site from working. I tried upgrading to version 4 of EZP which seems to have partly worked. The layout of the site is correct but the content section is missing and displays the following:-

Object is unavailable

<i>The object you requested is not currently available.
Possible reasons for this are:
The id or name of the object was misspelled, try changing it.
The object is no longer available on the site.</i>

In the admin site I also can't view the content in the Content, Media or User Account sections.

This only happens when I use the original database and not a new one and I have also tried to export the data from the old database and import it into the database of a fresh install but none of the imported data shows up on the site although it can be seen in the database tables.

I don't have root access to run the multi-language update.

I have trawled through the forums and tried just about everything but I still can't access the data from the original database.

Please help me keep my sanity.

Ivo Lukac

Sunday 20 July 2008 11:21:51 pm

Hi Paul,

Why do you need root access for running upgrade script?

You must execute this multilanguage script because the db model is different in 4.0. Login to your shell accout and try to run it....

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

André R.

Monday 21 July 2008 12:50:07 am

There are several scripts that needs to be run + sql updates for each version you upgrade, go to the upgrade docs on http://ez.no/doc/ez_publish/upgrading to get all the details.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Dariusz Wlodarczyk

Friday 22 August 2008 5:31:14 am

I have the same problem after upgrading from 3.9.0 -> 3.10.0 -> 3.10.1 When I upgrade to 3.10.1 and try to load admin interface i don't see any content :( Before running admin interface I run all scripts described in upgrade documentation without errors.

<i>edit:</i>
In version 3.10.1 when I changed to Translate=disabled and running after that updateniceurls.php and recompiling templates i have content back in admin inteface.
But next step was upgrade to 4.0.1 version and after that content go away next time :( I dont change anything in [URLTranslation] during this update.

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 31 2025 01:36:15
Script start
Timing: Jan 31 2025 01:36:15
Module start 'layout'
Timing: Jan 31 2025 01:36:15
Module start 'content'
Timing: Jan 31 2025 01:36:15
Module end 'content'
Timing: Jan 31 2025 01:36:15
Script end

Main resources:

Total runtime0.0239 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.3828151.2422
Module start 'layout' 0.00550.0042 739.6250220.7500
Module start 'content' 0.00970.0127 960.37501,001.8672
Module end 'content' 0.02250.0014 1,962.242233.9922
Script end 0.0239  1,996.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002610.9118140.0002
Check MTime0.00114.4104140.0001
Mysql Total
Database connection0.00083.507410.0008
Mysqli_queries0.002912.177630.0010
Looping result0.00000.071810.0000
Template Total0.00104.210.0010
Template load0.00073.109710.0007
Template processing0.00031.090410.0003
Override
Cache load0.00052.206710.0005
General
dbfile0.00114.694480.0001
String conversion0.00000.032940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs