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

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 19 2025 00:25:53
Script start
Timing: Jan 19 2025 00:25:53
Module start 'layout'
Timing: Jan 19 2025 00:25:53
Module start 'content'
Timing: Jan 19 2025 00:25:53
Module end 'content'
Timing: Jan 19 2025 00:25:53
Script end

Main resources:

Total runtime0.0154 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 589.2813152.6563
Module start 'layout' 0.00550.0029 741.937539.5078
Module start 'content' 0.00850.0049 781.445393.4297
Module end 'content' 0.01340.0019 874.875034.3047
Script end 0.0153  909.1797 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.2363140.0002
Check MTime0.00117.3619140.0001
Mysql Total
Database connection0.00106.292010.0010
Mysqli_queries0.002314.994030.0008
Looping result0.00000.142910.0000
Template Total0.001610.410.0016
Template load0.00085.464410.0008
Template processing0.00084.942610.0008
Override
Cache load0.00063.778010.0006
General
dbfile0.00021.517180.0000
String conversion0.00000.051240.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