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

eZ debug

Timing: Jan 18 2025 18:39:24
Script start
Timing: Jan 18 2025 18:39:24
Module start 'content'
Timing: Jan 18 2025 18:39:24
Module end 'content'
Timing: Jan 18 2025 18:39:24
Script end

Main resources:

Total runtime0.1700 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0090 587.8516180.8203
Module start 'content' 0.00900.0073 768.671998.0547
Module end 'content' 0.01630.1537 866.7266526.5781
Script end 0.1700  1,393.3047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00412.3916200.0002
Check MTime0.00150.8565200.0001
Mysql Total
Database connection0.00150.872210.0015
Mysqli_queries0.119670.32611410.0008
Looping result0.00150.89041390.0000
Template Total0.153190.110.1531
Template load0.00100.578710.0010
Template processing0.152189.474310.1521
Override
Cache load0.00070.395810.0007
Sytem overhead
Fetch class attribute can translate value0.00080.495310.0008
XML
Image XML parsing0.00030.164110.0003
General
dbfile0.00271.5857200.0001
String conversion0.00000.003530.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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