updateniceurls.php doesnt't work

Author Message

Wei Dai

Tuesday 02 December 2008 6:21:41 am

Hi, I have a strange problem on my eZ 4.0.1 installation.
I am sure that I have configured my site.ini and transform.ini file correctly, and I cleared cache and run the updateniceurls.php scripts with correct params and everything...

I tried many times, but the url aliases don't change at all!

I have exhausted all the reasons I can think of, but I really can't find what cause the problem.

I can post my configuration file settings here, if you want.

I need turn all my url in lowercase, with dash as the word separator, and 'better', has the unicode support for non-western Characters in url. But, now, I can't even switch between the three transformgroup: urlalias, urlalias_compact and urlalias_iri.

I appreciate any help on this. Thanks in advance.

Certified eZ Publish 4 developer looking for develop information & collaboration.

Wei Dai

Wednesday 03 December 2008 1:57:20 am

Here is what in my settings/override/site.ini.append.php:

...
[urltranslator]
TransformationGroup=urlalias_lowercase
....

And here is what I put in the settings/override/transform.ini.append.php:

<?php /* #?ini charset="utf-8"?

[Transformation]
Groups[]=urlalias_lowercase

[urlalias_lowercase]
# Extra transformation files for urlalias
Files[]
# Extensions that have transformation files when urlalias is used
Extensions[]
# The commands to use for search
Commands[]
Commands[]=normalize
Commands[]=transform
Commands[]=decompose
Commands[]=transliterate
Commands[]=diacritical
Commands[]=lowercase
#Commands[]=url_cleanup
Commands[]=url_cleanup_iri
*/ ?>

Certified eZ Publish 4 developer looking for develop information & collaboration.

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 19:12:08
Script start
Timing: Jan 18 2025 19:12:08
Module start 'layout'
Timing: Jan 18 2025 19:12:08
Module start 'content'
Timing: Jan 18 2025 19:12:10
Module end 'content'
Timing: Jan 18 2025 19:12:10
Script end

Main resources:

Total runtime1.0564 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 587.9375152.6250
Module start 'layout' 0.00700.0031 740.562539.4453
Module start 'content' 0.01011.0447 780.0078455.2109
Module end 'content' 1.05480.0015 1,235.21888.1563
Script end 1.0563  1,243.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.3298160.0002
Check MTime0.00140.1333160.0001
Mysql Total
Database connection0.00110.101810.0011
Mysqli_queries1.010595.6592520.0194
Looping result0.00050.0519500.0000
Template Total1.021996.720.5109
Template load0.00200.188620.0010
Template processing1.019996.545920.5099
Template load and register function0.00050.051510.0005
states
state_id_array0.00100.096310.0010
state_identifier_array0.00100.090020.0005
Override
Cache load0.00160.1523150.0001
Sytem overhead
Fetch class attribute can translate value0.00130.124710.0013
Fetch class attribute name0.00130.121920.0006
XML
Image XML parsing0.00010.011710.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00140.1311100.0001
String conversion0.00000.000940.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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs