Upgrade to 3.10 change urls to numbers

Upgrade to 3.10 change urls to numbers

Tuesday 09 October 2007 5:38:11 am - 4 replies

Modified on Tuesday 09 October 2007 5:40:36 am by Niels Chr. Alstrup

Author Message

Silke Fox

Wednesday 10 October 2007 5:38:26 am

Niels, I am not sure if I understood what you actually did.

Did updateniceurls.php come up with any errors?

You do not have to edit Global URL aliases or Nodes' URL aliases by hand just to create those URL aliases that worked in 3.9. The updateniceurls script should do that for you.
3.10 just offers the possibility to add nice URLs (in multiple languages) manually if those generated from the objects' title are not sufficient.

Try to rerun
php bin/php/updateniceurls.php
and check the database tables ezurlalias and ezurlalias_ml.
And don't forget to clear the caches. ;-)

Good luck,
Silke

Andreas Kaiser

Wednesday 24 October 2007 3:13:35 am

Hello,

I had the same problem with a site that was upgraded from 3.9.2 to 3.10.0. I had an error in the "updateniceurls.php"

I found that when "editing" an object and "publishing" it the nice urls where updated from numbers to the "original" ones.

eZ Partner in Madrid (Spain)
Web: http://www.atela.net/

Damien Pobel

Sunday 25 November 2007 3:23:11 pm

Hi Niels,

I had the same problem because I specified a different var directory for each siteaccess in site.ini.append.php and when I use ezcache.php it only clear the cache for the default one...
Make sure you clear the cache for all siteaccesses... See http://pwet.fr/blog/url_aliases_transformed_into_numbers_when_upgrading_to_ez_publish_3_10_0

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

Niels Chr. Alstrup

Monday 26 November 2007 2:59:33 am

Thanks for the various inputs.

I managed to make a flawless upgrade by running the 3.10 installer with a 'blank' database, dump my old database into it afterward, and then run the upgrade scripts on that.

All I had to change was a few

DROP TABLE...

to

DROP TABLE IF EXISTS...

in order for the script not to stop halfway.

L O O P
Niels Chr. Alstrup
+45 2077 3296
http://www.loop.bz

You must be logged in to post messages in this topic!

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.