Forums / Install & configuration / Problem upgrade 4.0.1 to 4.0.5
Jean-François Sénéchal
Monday 08 June 2009 6:18:10 am
Hi,
I have a problem to restore urlalias with this script
php extension/ezurlaliasmigration/scripts/migrate.php --restore
(Error message below)
To resolve my problem I print the node's name in extension/ezurlaliasmigration/classes/ezpmigratedurlalias.php
So, after I delete the node who is corrupt but when I relaunch the migration, the script failed with an other node
I don't know how many are corrupt !
How can I resolve it ?
Here is the error :
Fatal error: Call to a member function attribute() on a non-object in /var/www/Exponential/extension/ezurlaliasmigration/classes/ezpurlaliaspathwalker.php on line 369 Call Stack: 0.0005 90980 1. {main}() /var/www/Exponential/extension/ezurlaliasmigration/scripts/migrate.php:0 0.0560 4029728 2. ezpUrlAliasController::restoreAllAliases() /var/www/Exponential/extension/ezurlaliasmigration/scripts/migrate.php:152 0.0775 5094024 3. ezpMigratedUrlAlias->analyse() /var/www/Exponential/extension/ezurlaliasmigration/classes/ezpurlaliascontroller.php:164 0.1502 9028372 4. ezpUrlAliasPathWalker->newAliasRoot() /var/www/Exponential/extension/ezurlaliasmigration/classes/ezpmigratedurlalias.php:446 Fatal error: Exponential did not finish its request The execution of Exponential was abruptly ended, the debug output is present below.
L'informaticien est comme un petit canard: il est calme en surface mais en dessous il brasse beaucoup d'eau pour avancer ...!
Wednesday 10 June 2009 9:05:56 am
Ok
I've been solved my problem with ezcomponents upgrading :-)