Tuesday 11 March 2008 11:19:30 am
Hello, It is getting a nightmare to have the script "updateniceurls.php" working... I am trying to do my migration from 3.10.1 to 4.0 and I end up (whatever I have tried for many hours now) 10 Kb of errors in the log file of the "updateniceurls.php", and many lines of error in my ez site after my migration... The type of errors I get in EZ after the migration (have almost a hundred of errors like this one...) <i>eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 997, falling back to generated url entries. Run updateniceurls.php to fix the problem.</i> I have tried to rerun the script many times, went through the forum, but did not get the chance to find a solution. The different type of errors I got after running the updateniceurls.php are (each time I had reset the "is_imported" flag in the ezurlalias table) : <i>Found the alias 'partners/members/equipment/viscosimeter' with ID 780 which points to 'eznode:716' but that content-object/node does not exist in the database</i> Shall I then just remove the entry with ID 780 in the ezurlalias table and rerun the script ? <i>Found the alias 'public' with ID 1627 which points to 'eznode:1020' but that URL already exists, however the existing URL has the action 'eznode:1601'</i> I can see two "public" entry in the ezurlalias table, one marked as "internal" and the other not. What to do ? Shall I remove one of this entry ? <i>The referenced path 'partners/members/institutes/cemef' can not be found among the new URL alias entries, url entry ID is 85</i> What shall I do with this type of error ? <i>Invalid source wildcard 'partners/documents/', item is skipped, URL entry ID is 1561</i> And for this one ? <i>The wildcard url 'partners/resources' cannot be created since the path already exists</i> ??? ---------------------------------
<b>My config is as follow:</b>
Apache 2.2.6, PHP 5.2.5, MySQL 5.0.45
EZ Publish 4.0 MySQL DB in utf-8 i18n.ini.append.php [CharacterSettings]
Charset=utf-8
site.ini.append.php [URLTranslator]
Translation=enabled
WordSeparator=underscore
TransformationGroup=urlalias
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
TextTranslation=disabled
Any help to understand these errors and clues to find solution will be very appreciated. Even if I have to go through the MySQL DB to do some cleaning...
Thank you, Hakim
|