|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
bimal Smarty Elite
Joined: 19 Apr 2007 Posts: 423
|
Posted: Tue May 31, 2011 7:42 pm Post subject: a big leap in configuration variables |
|
|
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 |
|
|
|
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
|