|
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 |
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Tue Mar 29, 2005 2:09 pm Post subject: syntax error: invalid attribute name: 'index.tpl\' |
|
|
Smarty error: [in file:xx.tpl line 1]: syntax error: invalid attribute name: 'index.tpl\' (Smarty_Compiler.class.php, line 1521)
If you encounter an error like this, then you have magic_quotes_runtime turned on in you php.ini. Smarty needs this value to be turned off to operate properly. Don't mix magic_quotes_runtime up with magic_quotes_gpc. Smarty only needs the former to be off.
If you don't have access to your php.ini or to your webserver-configuration, then you can turn magic_quotes_runtime off at runtime with
[php:1:b7ea9ca818]ini_set('magic_quotes_runtime', false);[/php:1:b7ea9ca818]
But it's best to simply bother your system-administrator to turn it off globally. |
|
Back to top |
|
|
|
You can post new topics in this forum You can 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
|