Forums / Install & configuration / Upgrade to 3.10 change urls to numbers

Upgrade to 3.10 change urls to numbers

Author Message

Niels Chr. Alstrup

Tuesday 09 October 2007 5:38:11 am

I have upgraded from 3.9.2 to 3.10.0 running all the recommended scripts and everything apparently went fine. I have a multilingual site with two siteaccess (da - Danish and en - English)

Now, all my nice urls from the 3.9.2 installations have been translated into numbers - <i>eg</i> '/da/kontakt_os' => '/da/9' and '/da/boliger/samarbejde' => '/da/5/4', and the original url doesn't work anymore (module not found).

Looking at either Node url aliases or Global url aliases gives no clue to the whereabouts of the original urls.

If I try to recreate the url with Node url aliases, I get the message (cited from memory): 'kontakt_os' already exist for 'content/view/full/2' - that's the top page

Can anyone help?

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

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