Need help with block "Latest content"

Author Message

Frédéric Méance

Wednesday 06 July 2011 4:59:36 am

Hello,

I've installed EZPublish 4.4 with EzFlow content.

Via the admin interface, i've tried to create a "latest content" block with a folder that contains articles (visible and published"). But nothing happens ! In the frontend, i do not see my block and in the backend, none articles are in the block.

I've run the "ezflow" cronjobs but always the same result : nothing !

Can someone help me ?

 

Thanks

Fred

Frédéric Méance

Thursday 07 July 2011 3:06:43 am

In fact, I have the same problem with the blocks "keywords" and "3 items (dynamic)".
When I run the cronjob I have this error:
[code] Warning: Invalid argument Supplied for foreach () in xxxxxx\extension\ezflow\ classes\fetches\ezflowlatestcontent.php on line 68 [/code]
Error due to the fact that eZContentObjectTreeNode: subTreeByNodeID returns nothing !
FYI, I installed ezflow 2.3 in case the problem would come to version 2.2
Cdt
Fred

Frédéric Méance

Friday 08 July 2011 2:00:05 am

Hello everyone,
And now, it works. In fact, I made several mistakes. Here is the list of my mistakes :
- In the block type Latest_Content, you had to set the class of objects displayed (this is not an optional parameter !)
- The block type Latest_Content must be published before the content that is uploaded.Example, if you delete the contents of the block Latest_Content and restart cronjob ezflow (assuming the block scans a Folder containing items), well it will happen nothing.
- FetchFixedParameters [Limit]. The query executed makes an ORDER BY ASC on the publication date (from oldest to newest) => if the limit is lower than the number of items, the latest will not be displayed ...
Regards
Fred

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

Main resources:

Total runtime0.1771 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.0147 588.0625152.6406
Module start 'layout' 0.01470.0054 740.703139.4844
Module start 'content' 0.02010.1556 780.1875441.0234
Module end 'content' 0.17570.0014 1,221.210912.1328
Script end 0.1771  1,233.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.9396160.0002
Check MTime0.00130.7355160.0001
Mysql Total
Database connection0.00301.684210.0030
Mysqli_queries0.127471.9465570.0022
Looping result0.00060.3127550.0000
Template Total0.118466.920.0592
Template load0.00211.201520.0011
Template processing0.116365.645220.0581
Template load and register function0.00010.079710.0001
states
state_id_array0.00241.348810.0024
state_identifier_array0.00231.322920.0012
Override
Cache load0.00180.9900280.0001
Sytem overhead
Fetch class attribute can translate value0.00060.316710.0006
Fetch class attribute name0.00130.735130.0004
XML
Image XML parsing0.00010.052010.0001
class_abstraction
Instantiating content class attribute0.00000.006230.0000
General
dbfile0.00070.3679100.0001
String conversion0.00000.006940.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/strong.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/strong.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs