| Tuesday 18 March 2008 4:07:43 am 
                                                                 Hi Rune, Without solution, I use the classic update process from the documentation to regenerate all nices urls (even if I have a native eZ 4 setup): 
UPDATE ezurlalias SET is_imported=0;
TRUNCATE ezurlalias_ml;
and after
php bin/php/updateniceurls.php --import  -s siteAccess
-> where siteAccess is a admin site access with all languages support in site.ini:
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=enabled
SiteLanguageList[]=eng-GB
SiteLanguageList[]=fre-FR
SiteLanguageList[]=ger-DE
SiteLanguageList[]=esl-ES
SiteLanguageList[]=ita-IT
TextTranslation=disabled 
 After the end of updateniceurls process, I have some errors in error.ini like : 
Tried to store path 'Rose4' but the path already exists (ID: 12634) but with action 'eznode:10728', the new action was 'eznode:10824'
 and 
Query error: Duplicate entry '8-e59d6834e86cee752ed841f9cd8d5baf' for key 1. Query: UPDATE ezurlalias_ml SET parent = 8
WHERE parent = 12400
 With the query: 
SELECT * from ezurlalias_ml where parent = 12400;
 I have the result: 
| eznode:54 | eznode      | 12401 |        0 |           0 |         1 |   12 |  12400 | common_ini_settings | e59d6834e86cee752ed841f9cd8d5baf |
 
If I go to some content, I always have url alias errors (buggy contents can be seeing with content/view/full but not with nice url in back or front office).The error.ini log some errors like that when I go on a buggy content in front office:
 
The parent ID 16944 of element with ID 33 does not point to the last entry which had ID 21, incorrect path would be calculated, aborting
eZContentObjectTreeNode::pathWithNames() failed to fetch path of node 12851, falling back to generated url entries. Run updateniceurls.php to fix the problem.
 
I tried to change the transform group "urlalias" to the old system "urlalias_compact" but I have the same problem.Now, if someone have another solution to regenerate all my nice url, don't hesitate...
 Personal website : http://bit.ly/Yannick-DupuisCompany : Openbridge - http://www.openbridge.fr
 |