During 1.2.4 upgrade preparation, I have decided to use the Cache mechanism, to speed up Classissima, for : RSS feeds, sitemap (xml), and our Top trafic module.
During the tests (localhost), everything is allright. Since my prod env. is upgraded, I have a strange bug on some pages (but not all):
Fatal error: Call to undefined function _smarty_tplfunc_ea41059481188ab4c60170fa475e0ffa_0() in /var/www/vhosts/classissima.com/httpdocs/includes/classes/Smarty/Smarty.class.php on line 1829
Line 1829 concerns the function _process_compiled_include_callback. This one seems to be call by the Smarty internal plug core.process_compiled_include.php (in a mysterious preg_replace_callback function for which the regexp uses classical Smarty tag and not PN Smarty tag ... but that cannot explain why this page and not this one!)
If I compare the function name and the code : the $match[3] var seems to be equal 0.
Does anyone know that bug ? ... and the solution ?
It is critical for me: classissima cannot continue without pages in cache.
So ... thanks in advance for your precious help.
laurent
Note: it could be related with that (access to a non-languaged url when language is forced in URL by setting), or not.
Watch
GitHub Core
Show your support for Zikula! Sign up at Github account and watch the Core project!
GitHub Modules
- rgasch created topic »Using PageUtil::addVar() to load script code« 11:48 AM
- michiel responded to »password problem« 10:01 AM
- mazdev responded to »Hide "Register new account" and change template to 3 col« 07:50 AM
- mesteele101 created topic »Zikula 1.3.3 - Site Search 1.5.2 - Unable to turn off plug-ins« 07:48 AM
- mesteele101 responded to »ERR (3): E_USER_ERROR: Smarty error: [in pagesvar:pagesitem2en line XXX]…« 25. May
- mazdev responded to »Pages 2.5.0 and updating - Page not found« 25. May
- mesteele101 responded to »Zikula 1.3.3 - Selecting a category in Pages not working« 25. May
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Fatal error with cache (sometime)
-
- Rank: Registered User
- Registered: Feb 11, 2009
- Last visit: Jul 30, 2009
- Posts: 10
-
- Rank: Registered User
- Registered: Jan 28, 2007
- Last visit: Apr 16, 2009
- Posts: 43
Hi,
I am encountering the same problem. I think it is related to the part of my template which is not cached (by using a nocache tag). I can't yet figure out exact steps to reproduce. Does anyone have any ideas? -
- Rank: Developer
- Registered: Aug 23, 2003
- Last visit: May 31, 2010
- Posts: 1428
Are you using the theme cache or the pnRender caching?
--
campertoday.nl, Module development, Dutch Zikula Community -
- Rank: Developer
- Registered: Jun 16, 2003
- Last visit: May 29, 2010
- Posts: 1966
-
- Rank: Registered User
- Registered: Jan 28, 2007
- Last visit: Apr 16, 2009
- Posts: 43
Hello,
I am using Zikula 1.2.5, the Smarty class is thus version 2.6.26 which is apparently from 2009?
I am referring to pnRender caching.
This error occurs sporadically. I can reproduce the error if I clear the compiled templates without clearing the cached pages. This makes sense. However, I do not think that it explains all of the occurrences of this error that have been logged given that they occur at times when I have not cleared the compiled templates. Is there any mechanism by which the compiled templates would get cleared without me doing it manually?
Thanks
- Moderated by:
- Support
