Code not processed :O:(

Author Message

John Mina

Thursday 01 July 2004 2:03:56 am

hi All
the following code is having problem to be processed on the server
i am using v 3.3-3 and it is working fine on my machine but not the same thins o nthe server ,

<img src={$news.item.data_map.thumbnail.content.small.url|ezroot} hspace="5" align="right" /> 

the output of this {included code} is null always
and i am not able to retrieve the picture using the

{attribute_view_gui attribute=$news.item.data_map.thumbnail image_class=small}

though the data fetching is wrking
and there is no problem about it
at all

Any Help PLEASE
it is serious the web site is opening in days :(

Vadym Savchuk

Thursday 01 July 2004 9:35:27 am

The following code certainly works:

{let fetched_news=fetch_alias(news_list)}
{section name=News loop=$fetched_news}
    <img src={$News:item.data_map.thumbnail.content.small.url|ezroot}/><br/>
{/section}
{/let}

Maybe you should replace dot with colon between "$news" and "item"?

John Mina

Sunday 04 July 2004 2:46:53 am

hi Vadym
I do really thank you very much

but Unfortunalty the case here is fine with the code i wrote, and it is fine as long as it is running from the local machine , but on the server it is not , i beleiev i may have missed up with one of the setting pages
, do you have any idea how could i run the setup once again , without removing the while files i uploaded for design stuff adn var\news ?

Please let me know
Apriciating your help a lot
thanks
Jo
John Mina

Sergiy Pushchin

Tuesday 06 July 2004 3:01:25 am

To initiate setup procedure you need to set to true one setting in site.ini file..

[SiteAccessSettings]
CheckValidity=true

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

Main resources:

Total runtime0.7624 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0054 588.9063152.6094
Module start 'layout' 0.00540.0027 741.515639.4297
Module start 'content' 0.00810.7530 780.9453554.2266
Module end 'content' 0.76100.0014 1,335.171912.1875
Script end 0.7624  1,347.3594 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.5213160.0002
Check MTime0.00210.2778160.0001
Mysql Total
Database connection0.00070.087010.0007
Mysqli_queries0.702192.0846620.0113
Looping result0.00080.1058600.0000
Template Total0.721494.620.3607
Template load0.00220.293120.0011
Template processing0.719294.328620.3596
Template load and register function0.00020.030010.0002
states
state_id_array0.00120.153410.0012
state_identifier_array0.00160.205620.0008
Override
Cache load0.00200.2680330.0001
Sytem overhead
Fetch class attribute can translate value0.00090.113730.0003
Fetch class attribute name0.00210.274250.0004
XML
Image XML parsing0.00090.120030.0003
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00130.1704160.0001
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
4content/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
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.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: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs