|
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 |
FrankinHolland Smarty Rookie
Joined: 19 Jul 2011 Posts: 14
|
Posted: Thu Nov 10, 2011 11:03 pm Post subject: debug.tpl Fatal error ....syntax error: invalid attribute... |
|
|
Hi. I have been trying to get debug.tpl to work for about a year now with no luck. The error when I view the browser source is
<b>Fatal error</b>: Smarty: [in C:\wamp\www\templates\debug.tpl line 95]: syntax error: invalid attribute name: '$template_data' (Smarty_Compiler.class.php, line 1433) in <b>C:\wamp\lib\Smarty_Compiler.class.php</b> on line <b>2062</b><br />
If anyone can point me in the right direction I will be very grateful. |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Fri Nov 11, 2011 12:22 am Post subject: |
|
|
You are trying to use the debug.tpl template file from Smarty3 on a Smarty2 environment. |
|
Back to top |
|
FrankinHolland Smarty Rookie
Joined: 19 Jul 2011 Posts: 14
|
Posted: Fri Nov 11, 2011 12:44 am Post subject: Thanks! |
|
|
Thanks for your forum. It would probably have taken me a week to figure that our if ever! |
|
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
|