Re: [SMARTY] Error with Smarty_Compiler
| From: | Matthew Weier O'Phinney | Date: | Sat, 30 Oct 2004 01:52:40 +0000 |
| Subject: | Re: [SMARTY] Error with Smarty_Compiler | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11935@lists.php.net to get a copy of this message | ||
* Messju Mohr <messju@lammfellpuschen.de>:
> On Thu, Oct 28, 2004 at 02:37:16PM -0000, Matthew Weier O'Phinney wrote:
>> I'm using Smarty on a system running Apache 2.0.50 with PHP 5.0.0,
>> Smarty version 2.6.6. I just started running into the following error:
>>
>> Fatal error: Class 'Smarty_Compiler' not found in
>> /usr/lib/php/Smarty/Smarty_Compiler.class.php on line 41
>>
>> I can't quite seem to figure out what's going on; Smarty is working
>> normally in other applications, but throwing this error now in an
>> application I'm testing. Anybody run into this before? If so, where
>> should I look to try and correct the situation?
>
> Sounds like a php5-bug to me. Consider upgrading to the latest stable.
Okay, that may be the case. I can run the same code on another machine
where the only difference between them is the other is running php
5.0.1.
I'll give that a try and see what I find.
Could you maybe point out what bug I triggered, or give me some
pointers as to where it may be? From what I can tell, it was happening
when I ran the equivalent of $tmpl->fetch('template_name.html').
--
Matthew Weier O'Phinney | mailto:matthew@garden.org
Webmaster and IT Specialist | http://www.garden.org
National Gardening Association | http://www.kidsgardening.com
802-863-5251 x156 | http://nationalgardenmonth.org