Re: [SMARTY] 2.4.0 config_load with custom config class

From: Date: Mon, 03 Feb 2003 18:57:58 +0000
Subject: Re: [SMARTY] 2.4.0 config_load with custom config class
References: 1 2 3 4  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7487@lists.php.net to get a copy of this message
Are you sure you got all the compiled templates removed? And restart apache if you're using php accelerator? There shouldn't be any calls to _config_load anymore. Monte On Mon, 2003-02-03 at 12:48, Darryl Bleau wrote: > Oh yes, I tried that first and got the same error. > > Works fine if I use {config_load file="site.cfg"} but not {config_load > file="site.cfg" section="section"} > > Nichlas Löfdahl wrote: > > >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. > >>> > >>> > >>> > >>> > >>> > > > > > > > > -- Monte Ohrt <monte@ispi.net>

« previous php.smarty.general (#7487) next »