how to repair the ezurlalias table

Author Message

felix berlin

Friday 01 August 2008 8:05:11 am

We used ez 3.9.4. Sometimes it seems to us,
that table ezurlalias contains wrong url aliases.

for example:

1190 content/view/full/976 berlin__2
1236 content/view/full/976 hannover__1
2317 content/view/full/1976 centrum
2911 content/view/full/1976 __1/centrum
2921 content/view/full/976 __1/hannover

entry centrum is ok, for instance.
the other enties are damaged.
Entries with __1 are damaged.

Now we upgraded to 3.10 and after than to 4.0.0.
Hoping for better ezurlaliases...
But there are no hope by ez software.

After call the updateniceurls.php the content of table
ezurlalias_ml is damaged with old content and some new content.
the content of table ezurlalias is still always damaged.

But the tree table contains the correct path of all nodes.
There are nothing of __1 or berlin__2.

How we can correct the entries of ezurlalias table by own?

The script updateniceurls.php has a lot of bugs.

We need an clean and correct table of ezurlalias.
What we have to do?

kubus media

Monday 04 August 2008 1:16:51 am

We've had that problem with ezurlalias_ml in eZP4. It was a known Bug. Updateniceurl.php doesn't work, if the table has content. We had to drop the table's content before running updateniceurl.php - after running the script than, we've had clean entries.

BUT if you try, please make shure, you've made an backup of the table's content ;)

Best regards and good luck

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 16:13:29
Script start
Timing: Jan 18 2025 16:13:29
Module start 'layout'
Timing: Jan 18 2025 16:13:29
Module start 'content'
Timing: Jan 18 2025 16:13:30
Module end 'content'
Timing: Jan 18 2025 16:13:30
Script end

Main resources:

Total runtime0.7176 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.3516152.6250
Module start 'layout' 0.00750.0045 741.976639.4609
Module start 'content' 0.01200.7043 781.4375499.8125
Module end 'content' 0.71630.0012 1,281.25008.1563
Script end 0.7175  1,289.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4766160.0002
Check MTime0.00140.1918160.0001
Mysql Total
Database connection0.00120.163610.0012
Mysqli_queries0.670393.4114540.0124
Looping result0.00050.0730520.0000
Template Total0.679394.720.3397
Template load0.00190.258120.0009
Template processing0.677594.412020.3387
Template load and register function0.00010.019910.0001
states
state_id_array0.00300.414610.0030
state_identifier_array0.00100.138020.0005
Override
Cache load0.00150.2151310.0000
Sytem overhead
Fetch class attribute can translate value0.00070.096620.0003
Fetch class attribute name0.00090.131430.0003
XML
Image XML parsing0.00060.078920.0003
class_abstraction
Instantiating content class attribute0.00000.001230.0000
General
dbfile0.00070.0999160.0000
String conversion0.00000.001840.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
7content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs