Re: [SMARTY] Config Files

From: Date: Thu, 30 Oct 2003 12:37:44 +0000
Subject: Re: [SMARTY] Config Files
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-10472@lists.php.net to get a copy of this message
hello all, i forgot to cc my reply to Wilmar Pérez to the list. so for the records: it was a bug in Smarty-2.6.0-RC1 that is fixed in Smarty-2.6.0-RC2. greetings messju On Wed, Oct 29, 2003 at 07:22:01PM -0500, Wilmar Perez wrote: > Hello everyone > > I am trying to use config files without much success so far. I've got a simple > config file called colors.conf, just like this: > > #Global Variables > tdBgColor = "#92B06C" > > My index.tpl seems like this: > > {config_load file="colors.conf"} > <!-- A lot of HTML code --> > <td width="40" valign="middle" bgcolor="{#tdBgColor#}"> > <!-- A lot more of HTML code --> > > Then, when I "run the page" in my browser for the fist time, it looks fine... > however, from then on, it keeps throwing the following error: > > Parse error: parse error in /usr/local/www/mainweb/templates_c/%%370/%% > 370767990/colors.conf.php on line 1 > > If I get rid of the cache files in the template_c folder, the same thing happens > again, that is, when run from the first time, it seems to be no problem at all, but > from the second time and on I get the error shown above. > > Does anyone have an idea of what is going on? > > Thanks a lot. > > ******************************************************* > Wilmar Pérez > Network Administrator > Library System > Tel: ++57(4)2105962 > University of Antioquia > Medellín - Colombia > 2002 > ******************************************************* > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php

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