Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

a big leap in configuration variables

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks
View previous topic :: View next topic  
Author Message
bimal
Smarty Elite


Joined: 19 Apr 2007
Posts: 423

PostPosted: Tue May 31, 2011 7:42 pm    Post subject: a big leap in configuration variables Reply with quote

I was upgrading Smarty 2.6 to 3.0.7 in one of the old website.
I was running hard time to find out why the config files were not loaded correctly.

Platform:
By mistake, the old config file had a declaration something like
Code:
USERNAME/EMAIL="""..."""

Unfortunately, it was valid to the old lexer.

Smarty 3 captured this error. The app did not run. I did not expect the same config file to be wrong to the new lexer.

I corrected the configuration name by removing the ( / ) from the name.

Trick:
Do not use special characters in your configurations.

It was an unidentified mistake in the old configuration file.
I now prefer only alphabets and an underscore only.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Tips and Tricks All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP