[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    Re: [SMARTY] Config Files
From:       messju mohr <messju () lammfellpuschen ! de>
Date:       2003-10-30 12:37:44
[Download RAW message or body]

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

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic