Re: [SMARTY] 2.4.0 config_load with custom config class
| From: | Nichlas Löfdahl | Date: | Mon, 03 Feb 2003 18:42:45 +0000 |
| Subject: | Re: [SMARTY] 2.4.0 config_load with custom config class | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7484@lists.php.net to get a copy of this message | ||
Hello Darryl!
Try clean the directory with compiled templates (usally templates_c/), that
could solve the problem
Good luck
/Nichlas
----- Original Message -----
From: "Darryl Bleau" <darrylbleau@submersion.com>
To: <smarty-general@lists.php.net>
Sent: Monday, February 03, 2003 7:14 PM
Subject: Re: [SMARTY] 2.4.0 config_load with custom config class
> Would this be why when I upgraded to 2.4.0 my nice site prototype turned
> into this?:
>
> *Fatal error*: Call to undefined function: _config_load() in
> */xxx/templates_c/%%142/%%1426728073/xxx.tpl.php* on line *3*
>
> I use config file sections heavily in my site.. is there an easy way to
fix?
>
> Ferdinand Beyer wrote:
>
> >While reading the 2.4.0 source I've found out that custom config
> >classes won't work:
> >
> >On line 1754, the class specified by $this->config_class is loaded,
> >but on the next line a Config_File object is created, independent of
> >the $config_class setting.
> >
> >
> >
>