Forums / Install & configuration / Upgrade 3.9.2 to 4.1.0 : updateniceurl problems

Upgrade 3.9.2 to 4.1.0 : updateniceurl problems

Author Message

H-Works Agency

Friday 17 April 2009 6:14:10 am

Hello,

We followed rigorously the step by step mentionned and we endup with an error on updateniceurls when trying to upgrade from 3.9.2 to 3.10.1.

Here is the error we have :

Importing old url aliases
Importing 0 standard urls
Importing 0 redirections
Importing 0 wildcards
Removing old wildcard caches
Import completed
Import time taken: 23s
Starting updates for Home, 3541 nodes
++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1.55% 1m 8s 55/3541
+++++++++++++++++++++++++++++++++++
Fatal error: Call to a member function on a non-object in /home/xxx/ezpublish-3.10.1/kernel/classes/ezcontentobjecttreenode.php on line 3927

Fatal error: eZ Publish did not finish its request
The execution of eZ Publish was abruptly ended, the debug output is present below.

Any help or tip would be very nice.

Thanx everyone

EZP is Great

H-Works Agency

Tuesday 21 April 2009 5:58:45 am

I am still trying to make a clean transition from 3.9.2 to 4.1.0. Everything went fine except the updateniceurls topic which is a real nightmare. In 3.10 this script quit with the kernel error mentionned above.

We gave up this step and directly migrate to 4.1.0 then we rerunned the same script within the 4.1.0 version and the script run all the way through but at the end i still have to kind of errors in my debug window :

Error:	Apr 21 2009 14:57:33
The parent ID 18972 of element with ID 11173 does not point to the last entry which had ID 16281, incorrect path would be calculated, aborting
Error:	Apr 21 2009 14:57:33
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 13512, falling back to generated url entries. Run updateniceurls.php to fix the problem.
Error:	Apr 21 2009 14:57:33
The parent ID 18972 of element with ID 11173 does not point to the last entry which had ID 16281, incorrect path would be calculated, aborting
Error:	Apr 21 2009 14:57:33
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 13512, falling back to generated url entries. Run updateniceurls.php to fix the problem.
Error:	Apr 21 2009 14:57:33
The parent ID 18972 of element with ID 11173 does not point to the last entry which had ID 16281, incorrect path would be calculated, aborting
Error:	Apr 21 2009 14:57:33
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 13512, falling back to generated url entries. Run updateniceurls.php to fix the problem.
Error:	Apr 21 2009 14:57:33
The parent ID 18972 of element with ID 11041 does not point to the last entry which had ID 16281, incorrect path would be calculated, aborting
Error:	Apr 21 2009 14:57:33
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 13367, falling back to generated url entries. Run updateniceurls.php to fix the problem.
Error:	Apr 21 2009 14:57:33
The parent ID 18972 of element with ID 11041 does not point to the last entry which had ID 16281, incorrect path would be calculated, aborting

I have rerun the script again and again but i still have those errors. Does anyone has a clue about this ?

Would be great to have an upgrade (automated) manager.

Thanx all

EZP is Great

H-Works Agency

Tuesday 21 April 2009 1:05:28 pm

Well i finally managed to make it work.

I just had to truncate table ezurlalias_ml then rerun the updateniceurl script and this time everything went fine (just one 2 nodes weren't updated).

4.1 is great and the new online editor is a great new feature.

EZP is Great

eZ debug

Timing: Jan 18 2025 21:03:23
Script start
Timing: Jan 18 2025 21:03:23
Module start 'content'
Timing: Jan 18 2025 21:03:23
Module end 'content'
Timing: Jan 18 2025 21:03:24
Script end

Main resources:

Total runtime0.8806 sec
Peak memory usage4,096.0000 KB
Database Queries192

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0066 587.9609180.8047
Module start 'content' 0.00660.7382 768.7656512.0625
Module end 'content' 0.74490.1357 1,280.8281336.7188
Script end 0.8805  1,617.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00430.4908210.0002
Check MTime0.00160.1776210.0001
Mysql Total
Database connection0.00060.071310.0006
Mysqli_queries0.810592.03681920.0042
Looping result0.00190.21841900.0000
Template Total0.851096.620.4255
Template load0.00200.224320.0010
Template processing0.849096.412420.4245
Template load and register function0.00010.009410.0001
states
state_id_array0.00100.111410.0010
state_identifier_array0.00070.081720.0004
Override
Cache load0.00170.1931230.0001
Sytem overhead
Fetch class attribute can translate value0.00170.191320.0008
Fetch class attribute name0.00100.110540.0002
XML
Image XML parsing0.00070.078820.0003
class_abstraction
Instantiating content class attribute0.00000.001660.0000
General
dbfile0.00300.3370280.0001
String conversion0.00000.000730.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs