URLTranslator Error Handling

Author Message

Björn Dieding@xrow.de

Thursday 26 June 2003 6:33:20 pm

The Urltranslator is a nice thing, but it throws too many errors when you externaly link your site.
Sample...
Image a url got listed in some search engine
http://www:92/english/home/company/news/webmail_server

after the indexing into the searchengine you change your object name
http://www:92/english/home/company/news/webmail_server_new

When a vistor comes now from an external link that can't be resolved to a URL it eZ fails with "modul not found"

For the future I recommend some kind of URLtranslator history, where old URL are stored. Maybe it makes also sense to store the urls path with the object version.

An other idea would be to search through all object versions for a proper match. Starting from the left handside to the right. One thing I cann't tell is the influence on the system performance if we do my 2nd suggestion.

What do you think?

Björn

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Björn Dieding@xrow.de

Wednesday 16 July 2003 2:13:28 am

A document moved response + redirect would cool too.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Jan Borsodi

Wednesday 16 July 2003 2:36:48 am

The url translator history sounds good. It could be a general url mapping table in which you could enter other urls as well (ie. for importing old ezp2.2 sites).
We will make a note of this and see what we can come up with.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

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

Main resources:

Total runtime0.6749 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0469152.6250
Module start 'layout' 0.00640.0028 741.671939.4453
Module start 'content' 0.00930.6641 781.1172544.1953
Module end 'content' 0.67340.0014 1,325.312512.1641
Script end 0.6748  1,337.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5002160.0002
Check MTime0.00140.2005160.0001
Mysql Total
Database connection0.00090.135110.0009
Mysqli_queries0.623592.3845570.0109
Looping result0.00050.0698550.0000
Template Total0.643695.420.3218
Template load0.00190.278820.0009
Template processing0.641795.082720.3208
Template load and register function0.00010.014010.0001
states
state_id_array0.00090.134110.0009
state_identifier_array0.00100.147620.0005
Override
Cache load0.00150.2286220.0001
Sytem overhead
Fetch class attribute can translate value0.00110.159320.0005
Fetch class attribute name0.00100.152250.0002
XML
Image XML parsing0.00100.141320.0005
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00090.1285230.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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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.0002 secs