EZ Version 3.2-3 Experience?

Author Message

Tore Skobba

Wednesday 26 November 2003 4:59:50 am

Hi all

I have currently upgraded from EZ 3.2-1 to 3.2-3. Unfortunately this have led to several new bugs on my page/site. Most of them quite difficult to solve. Such as for instance:

-Browsing to a page on the site results in correct layout when the page is viewed.

-Search for the page and follow the search link results in missplaced layout.

I cannot figure this out at all as both PAGES are based on the SAME LAYOUT and CONTENT (full view, content class=100), but they are displayed DIFFERENTLY depending on the LINK to the pages(i.e search link and site link)

Cheers
Tore

Claus Jensen

Wednesday 26 November 2003 5:43:44 am

Yup!
I had several problem as well, one of them was a redirection which led to one of my stylesheets intead of /user/logout. Totally bizarre. However I just uncommented a line in a file. Check it out:
http://ez.no/developer/ez_publish_3/forum/setup_design/cant_log_out#msg39212

regards,
claÜs

Tore Skobba

Wednesday 26 November 2003 6:06:31 am

Hi Claus

Thanks for the tip, I tried it. But it did not work. In case anyone wonders the link which are leding to the same content viewed with same view but displayed differently are:

http://129.240.44.129/index.php/gs/about/administrative_partners__1/the_norwegian_trade_council_ (search link which is wrongly displayed)

http://129.240.44.129/index.php/gs/content/view/full/100/ (browse link which is correctly displayed.

Strangly both Internet Explorer and Mozilla show the search link wrong, while Opera show both links correct.

Cheers
Tore

Claus Jensen

Wednesday 26 November 2003 6:25:58 am

I dont quite understand whats wrong here, but your content is different. Different node_id's (99, 100) and different classes (1 folder, and 29 something else). They should be displayed different? Have you tried det template debug setting in site.ini.append? Im sure its diffent templates beeing used.

regards,
claÜs

Tore Skobba

Wednesday 26 November 2003 6:34:49 am

Hi Claus

Thanks for taking the time. You are quite right, now there is different node id's. But that is because I tried to make a new better solution to circumvent the orginial problem. The problem was:

A page listening all administrative partners is made up of a folder with several adm_partner objects as children, display of the page administrative partners is implemented with an template showing all adm_partner child objects. However, when searching it can find one of these adm_partner objects. which are not made to be displayed alone, i.e. they are part of a bigger page. To circumvent this the full view template for adm_partner is only a call on their parents full view display. i.e:

{let parent_node=fetch(content,node,hash(node_id,$$node.parent_node_id))}

{node_view_gui view=full content_node=$parent_node}

{/let}

The problem is still there with or without the above solution, strangely it works fine in 3.2-1.

Cheers
Tore

Claus Jensen

Wednesday 26 November 2003 6:53:40 am

I see,
but isnt there a $ too much in this code?

{let parent_node=fetch(content,node,hash(node_id,$$node.parent_node_id))}

{node_view_gui view=full content_node=$parent_node}

{/let}

Also I think you should look at this, and try it:
http://ez.no/developer/ez_publish_3/forum/setup_design/having_problems_showing_articles_in_foler

Meaning: {node_view_gui view=full content_node=$parent_node} should be {node_view_gui view=full content_node=$parent_node:item}
i think

cheers
claÜs

Tore Skobba

Wednesday 26 November 2003 7:12:24 am

Hi

Thanks again:). I fixed the extra "$". Using "$parent_node:item" does not work at all, remember here that parent_node is ONE node which is fetched (same as $node). I do not think this is a template error as for example searching for "Forny" (another administrative partner) works fine.

3 url now:)

Browse link: http://129.240.44.129/index.php/gs/content/view/full/100
Display fine

Search "Trade" link: http://129.240.44.129/index.php/gs/about/administrative_partners__1/the_norwegian_trade_council
Display wrongly

Search "Forny" link: http://129.240.44.129/index.php/gs/about/administrative_partners__1/forny
Display fine

This combined with the fact that all works fine in Ez 3.2-1 makes this a problem I find hard to solve. Secondly it works differently in varying browsers (Mozilla and IE have wrong display, but Opera display all fine). But it seems as it is the search which lead to errors. So maybee anyone at EZ can answer if they have done anything with the search and search url since 3.2-1.

Cheers
Tore

Marco Zinn

Wednesday 26 November 2003 3:23:17 pm

Hi,
I found, that some browsers prefer to have a / at the end of the URLs. You could try this (manually), and if this solves the problem, change the templates to concat a "/", when the Link URL is constructed.
Plus, maybe, you should check, if you have some problem with your URL aliases (do you arrive at the correct page (content) at all?)
I was not able to check your links. Is this a public site?

Marco
http://www.hyperroad-design.com

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 19 2025 07:23:57
Script start
Timing: Jan 19 2025 07:23:57
Module start 'layout'
Timing: Jan 19 2025 07:23:57
Module start 'content'
Timing: Jan 19 2025 07:23:57
Module end 'content'
Timing: Jan 19 2025 07:23:57
Script end

Main resources:

Total runtime0.0184 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0053 590.2891152.6250
Module start 'layout' 0.00530.0031 742.914139.4453
Module start 'content' 0.00840.0073 782.359497.3203
Module end 'content' 0.01570.0027 879.679738.3047
Script end 0.0183  917.9844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002815.0060140.0002
Check MTime0.00115.9572140.0001
Mysql Total
Database connection0.00084.367910.0008
Mysqli_queries0.002613.963330.0009
Looping result0.00000.120810.0000
Template Total0.002111.310.0021
Template load0.00126.686910.0012
Template processing0.00084.541910.0008
Override
Cache load0.00095.070410.0009
General
dbfile0.00031.715280.0000
String conversion0.00000.067540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs