Forums / Install & configuration / Missing Content Section after upgrading to version 4

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.

eZ debug

Timing: Jan 18 2025 11:40:17
Script start
Timing: Jan 18 2025 11:40:17
Module start 'content'
Timing: Jan 18 2025 11:40:18
Module end 'content'
Timing: Jan 18 2025 11:40:18
Script end

Main resources:

Total runtime0.9440 sec
Peak memory usage4,096.0000 KB
Database Queries201

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0087 587.9609180.8047
Module start 'content' 0.00870.7451 768.7656641.2031
Module end 'content' 0.75380.1901 1,409.9688337.6875
Script end 0.9439  1,747.6563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00470.5007210.0002
Check MTime0.00180.1867210.0001
Mysql Total
Database connection0.00100.105110.0010
Mysqli_queries0.865091.63262010.0043
Looping result0.00230.24041990.0000
Template Total0.907196.120.4535
Template load0.00190.203320.0010
Template processing0.905195.882820.4526
Template load and register function0.00020.022310.0002
states
state_id_array0.00120.126610.0012
state_identifier_array0.00160.172420.0008
Override
Cache load0.00160.1712280.0001
Sytem overhead
Fetch class attribute can translate value0.00170.183350.0003
Fetch class attribute name0.00080.085070.0001
XML
Image XML parsing0.00210.221550.0004
class_abstraction
Instantiating content class attribute0.00000.001470.0000
General
dbfile0.00320.3436410.0001
String conversion0.00000.000530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 17
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs