problem with ezurl and siteacces

Author Message

Marko Žmak

Thursday 15 June 2006 10:03:17 am

I'm experiencing some problems with ezurl() when using template cache. I acces my eZ installation like this:

http://example.com/mysite/index.php

so eZ is located under http://myserver/mysite/ and NOT in the root of my server. I'm using "myaccess" siteacces. I tried to output a link like this:

<A HREF="content/view/full/2"|ezurl()}>Link text</A>

When I use template cache and template compile I get this "Link text" pointing to:

http://example.com/mysite/content/view/full/2

and when the template cache is off I get this:

http://example.com/mysite/index.php/myaccess/content/view/full/2

So it seems to me that ezurl() behaves wrong when template cache is on. Is this a bug or there's something I missed?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Tuesday 20 June 2006 7:26:43 am

Can anyone answer this one? Why is ezurl behaving differently with TemplateCache on and off?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 21 2025 16:08:48
Script start
Timing: Jan 21 2025 16:08:48
Module start 'layout'
Timing: Jan 21 2025 16:08:48
Module start 'content'
Timing: Jan 21 2025 16:08:49
Module end 'content'
Timing: Jan 21 2025 16:08:49
Script end

Main resources:

Total runtime1.2297 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.0049 589.0703151.2109
Module start 'layout' 0.00490.0028 740.281336.6484
Module start 'content' 0.00771.2213 776.9297514.9922
Module end 'content' 1.22900.0006 1,291.92197.8438
Script end 1.2297  1,299.7656 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00290.2385160.0002
Check MTime0.00120.0992160.0001
Mysql Total
Database connection0.00080.065110.0008
Mysqli_queries1.184296.3045520.0228
Looping result0.00050.0417500.0000
Template Total1.181896.120.5909
Template load0.00200.166320.0010
Template processing1.179895.939020.5899
Template load and register function0.00010.011510.0001
states
state_id_array0.00160.129110.0016
state_identifier_array0.00140.109820.0007
Override
Cache load0.00170.1381160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.050510.0006
Fetch class attribute name0.00150.121630.0005
XML
Image XML parsing0.00070.055010.0007
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00330.2707180.0002
String conversion0.00000.000840.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs