Forums / Install & configuration / URL translation affects admin pages

URL translation affects admin pages

Author Message

Conor Murray

Wednesday 13 July 2005 5:08:14 am

eZ Version: 3.6.0 (3.6.0) SVN revision: 11973

URL translations are affecting the admin site! So if a translation is set up for the user site that happens to collide with a URL for the admin site then the admin site breaks for that URL.

Is there a setting in an ini file that allows me to disable URL translations in the admin site?

Language is a virus - William S Burroughs

Ɓukasz Serwatka

Friday 22 July 2005 12:55:46 am

Hi,

You can disable url translation in site.ini.append.php file. This looks like a bug, can you report it in bug system? http://ez.no/community/bugs

[URLTranslator]
Translation=disabled

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Nathan Kelly

Sunday 09 October 2005 11:11:34 pm

Hi I have the same problem on the same version.

When I disable translation as suggested I get an error stating:

The requested page could not be displayed. (20)

The requested address or module could not be found.

Possible reasons:

    * The address was misspelled. Try changing the URL.
    * The name of the module was misspelled. Try changing the URL.
    * There is no <module_name> module available on this site.
    * The site is using URL matching to determine which siteaccess
to use, but the name of the siteaccess is missing from the URL.
Try to add the name of the siteaccess, it should be specified before
the name of the module.

Normaly traslation would not be a problem, but if you have a [folder] with a translation attached it makes it imposable to manage the contents of that folder via admin.

Is this a bug?

Pardon me while I burst into flames...

Nathan Kelly

Sunday 09 October 2005 11:37:34 pm

Hmm, ok I think found a temporary workaround but it's not really acceptable for a site editor that has little knowledge of the system nor is it what I would expect for true URL translation.

If you set up your translation using "System URL forwarding" like this for example:

New virtual URL = /myurl
System URL = /content/view/full/42

Its usually nice to add the /content/view/full/(NodeId) of /myurl to point to the desired node just in case /content/view/full/(NodeId) is typed, for example:

New virtual URL = /content/view/full/(nodeID of myurl)
System URL = /content/view/full/42

However this makes the node completely inaccessible from the admin.

If you don't forward the content view you can still access the node via the admin by clicking on the folder icon for that node and selecting [view] from the dropdown list as this method seems to use the content/view/full/(nodeID) as the URL rather than /myurl.

Like I said for a user with little knowledge it could be tricky and it doesn't provide the added protection on the public site.

Any suggestions? Is this the intended function or a bug?

Pardon me while I burst into flames...

eZ debug

Timing: Jan 18 2025 11:08:15
Script start
Timing: Jan 18 2025 11:08:15
Module start 'content'
Timing: Jan 18 2025 11:08:16
Module end 'content'
Timing: Jan 18 2025 11:08:16
Script end

Main resources:

Total runtime0.9363 sec
Peak memory usage4,096.0000 KB
Database Queries199

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.9531180.8203
Module start 'content' 0.00570.7801 769.7734601.8438
Module end 'content' 0.78580.1505 1,371.6172337.3750
Script end 0.9363  1,708.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4236210.0002
Check MTime0.00150.1563210.0001
Mysql Total
Database connection0.00080.082310.0008
Mysqli_queries0.842289.94821990.0042
Looping result0.00240.25541970.0000
Template Total0.910197.220.4550
Template load0.00200.215520.0010
Template processing0.908196.982520.4540
Template load and register function0.00060.060010.0006
states
state_id_array0.00080.082510.0008
state_identifier_array0.00060.064120.0003
Override
Cache load0.00170.1789320.0001
Sytem overhead
Fetch class attribute can translate value0.00160.175740.0004
Fetch class attribute name0.00140.151460.0002
XML
Image XML parsing0.00140.149540.0004
class_abstraction
Instantiating content class attribute0.00000.001770.0000
General
dbfile0.01091.1660350.0003
String conversion0.00000.000630.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
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
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 20
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs