Call to a member function storeCache() on cache file

Author Message

Jean-Luc Nguyen

Monday 12 October 2009 3:54:57 am

Hello,

We have today this error on production cache file:

Fatal error: Call to a member function storeCache() on a non-object in /EZ_ROOT/var/MY_VAR/cache/template/compiled/pagelayout-286097d91dac06fde15e394edd73eddb.php on line 482
Fatal error: eZ Publish did not finish its request

The execution of eZ Publish was abruptly ended, the debug output is present below.

Does anyone ever see this error on production and know where does it come from?

Thanks a lot!

http://www.acidre.com

Frédéric DAVID

Monday 12 October 2009 4:55:44 am

I have the same problem.

This problem appears when I use rnode_view_gui function and cache_block. The variables declared in the node_view_gui didn't pass between node_view_gui.

I used this code

{node_view_gui content_node=$my_node view=my_view var1=$var1 var2=$var2.

eZ publish generate content cache on the second time you refresh the page.

For fix my problem, I just put a cache-block.

Blog : http://www.frefred.fr/blog/ez-publish
feZ Meta Data : http://projects.ez.no/fezmetadata

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

Main resources:

Total runtime1.2482 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.1641152.6406
Module start 'layout' 0.00730.0054 741.804739.4922
Module start 'content' 0.01271.2340 781.2969529.3359
Module end 'content' 1.24670.0014 1,310.63288.1250
Script end 1.2482  1,318.7578 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.2789160.0002
Check MTime0.00130.1077160.0001
Mysql Total
Database connection0.00130.101610.0013
Mysqli_queries1.197495.9278540.0222
Looping result0.00070.0545520.0000
Template Total1.207896.820.6039
Template load0.00190.154420.0010
Template processing1.205896.605820.6029
Template load and register function0.00010.008510.0001
states
state_id_array0.00090.073310.0009
state_identifier_array0.00170.132320.0008
Override
Cache load0.00160.1244170.0001
Sytem overhead
Fetch class attribute can translate value0.00060.051020.0003
Fetch class attribute name0.00140.108840.0003
XML
Image XML parsing0.00100.082720.0005
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00120.0941220.0001
String conversion0.00000.001140.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 6

Time used to render debug report: 0.0003 secs