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