_get_auto_id problem with cached templates
| From: | Mark Mitchenall | Date: | Sat, 31 Jan 2004 15:55:40 +0000 |
| Subject: | _get_auto_id problem with cached templates | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10907@lists.php.net to get a copy of this message | ||
Hi,
I have a problem with one smarty driven website, but it only happens at one
installation. I've tried this with a variety of versions of smarty with
similar errors. With 2.6.1 I get the following error with all cached
templates, but not with any non cached ones others...
Fatal error: Call to undefined function: _get_auto_id() in
/home/sites/site76/web/class/smarty/core/core.read_cache_file.php on line 41
However, with a similar site on the same server, no problems, and with the
same site, but running on my local machine, no problems. I've emptied the
cache directories, etc., no effect. I've tried to find out if there's
anything specific causing the problem, but I'm starting to get quite
confused.
I tried reverting to an older version of Smarty, and again, a similar
problem, only the error appeared in the main Smarty class.
If it was just one server, I might be able to spot the problem, but it works
on another site using almost identical code and the same site showing this
problem definitely works OK on my local machine, so I'm completely at a
loss.
Does anyone have ideas as to what I should be looking for?
TIA
Mark
--
Mark Mitchenall, Standingwave Ltd
(Complete Hosting and Development Services)
Tel := +44 (0)20 8452 3031
Email := mark@standingwave.co.uk mark@mitchenall.com
Home := http://www.standingwave.co.uk http://www.mitchenall.com