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

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

eZ debug

Timing: Jan 18 2025 21:04:41
Script start
Timing: Jan 18 2025 21:04:41
Module start 'layout'
Timing: Jan 18 2025 21:04:41
Module start 'content'
Timing: Jan 18 2025 21:04:41
Module end 'content'
Timing: Jan 18 2025 21:04:41
Script end

Main resources:

Total runtime0.0196 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 589.1719152.6406
Module start 'layout' 0.00540.0039 741.812539.4922
Module start 'content' 0.00930.0080 781.304793.4922
Module end 'content' 0.01730.0023 874.796938.3047
Script end 0.0196  913.1016 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002713.7425140.0002
Check MTime0.00126.2546140.0001
Mysql Total
Database connection0.00073.712410.0007
Mysqli_queries0.003115.988430.0010
Looping result0.00000.173610.0000
Template Total0.00189.310.0018
Template load0.00104.943410.0010
Template processing0.00084.302410.0008
Override
Cache load0.00073.441710.0007
General
dbfile0.002713.753580.0003
String conversion0.00000.060740.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs