Fork me on GitHub

Fatal error with cache (sometime)  Bottom

  • 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.
  • 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?
  • Are you using the theme cache or the pnRender caching?

    --
    campertoday.nl, Module development, Dutch Zikula Community
  • and what version of Zikula?
  • 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

This list is based on users active over the last 60 minutes.