Ezpublis 4.0 and url alias

Author Message

Jason Dickson

Wednesday 25 June 2008 10:03:40 am

There might be something out there about this but I wasn't able to find it.

I updated a site from 3.9.2 to 3.10 to 4.0 and the transition was pretty smooth and everything worked. However, in the new version when an object is created it only has spaces in the url_alias instead of dashes or in older versions the underscore. I believe this is causing a translation problem with the web because if you go to one of these new pages it has a bunch of character information that displays above the page and some functions print out from the eZCharTransform Class.

Was this a problem with the update to 4.0 or is this an issue with something I'm doing

Guillaume Kulakowski

Thursday 26 June 2008 5:59:20 am

Look at transform.ini.append.php and use updateniceurls.php

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Vidar Langseid

Thursday 03 July 2008 1:45:44 am

There are some problems with url aliases in 4.0, yes.
You might have a look at 4.0.1rc1 and check if you are experiencing the same problems:
http://ez.no/developer/news/ez_publish_4_0_1rc1_3_10_1rc1_released__1

Guillaume is also correct concerning transform.ini.append.php and word separator in urls

Best regards,
Vidar

kubus media

Monday 21 July 2008 6:48:59 am

the ezurlalias_ml table can get buggy in case of some language stuff...

Since the 4.0.1 (the known problem should be fixed in that version) isnt stable, you can drop the table data and run bin/php/updateniceurls.php afterwards.

The urls should now be working correctly.

Best regards

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 05:19:55
Script start
Timing: Jan 18 2025 05:19:55
Module start 'layout'
Timing: Jan 18 2025 05:19:55
Module start 'content'
Timing: Jan 18 2025 05:19:56
Module end 'content'
Timing: Jan 18 2025 05:19:56
Script end

Main resources:

Total runtime0.8202 sec
Peak memory usage4,096.0000 KB
Database Queries64

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 587.9141152.6250
Module start 'layout' 0.00640.0043 740.539139.4453
Module start 'content' 0.01070.8080 779.9844620.2813
Module end 'content' 0.81870.0015 1,400.265612.1641
Script end 0.8202  1,412.4297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4196160.0002
Check MTime0.00140.1688160.0001
Mysql Total
Database connection0.00140.171910.0014
Mysqli_queries0.768193.6372640.0120
Looping result0.00070.0798620.0000
Template Total0.780395.120.3901
Template load0.00210.256420.0011
Template processing0.778194.866920.3891
Template load and register function0.00020.026610.0002
states
state_id_array0.00200.247610.0020
state_identifier_array0.00180.219020.0009
Override
Cache load0.00180.2140220.0001
Sytem overhead
Fetch class attribute can translate value0.00070.080040.0002
Fetch class attribute name0.00120.142960.0002
XML
Image XML parsing0.00140.175640.0004
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00100.1168230.0000
String conversion0.00000.001240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs