|
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 |
EderBaum Smarty n00b
Joined: 04 Jan 2004 Posts: 4 Location: Brazil
|
Posted: Sun Jan 04, 2004 4:15 pm Post subject: Template Compiler Bug |
|
|
Since Today I'm receiving this message:
Quote: | Parse error: parse error, unexpected T_ELSEIF in c:\arquivos de programas\easyphp\www\sites\basesite\system\templates_c\%%868\%%86865064\admin.tpl.php on line 77 |
I reinstalled Smarty and the problem persists. So i went to the file "templates_c\%%868\%%86865064\admin.tpl.php" and see this code:
Quote: | 76 <?php endif; ?>
77 <?php elseif ($this->_tpl_vars['include'] == 'admin_config'): ?> |
I modified the code on line 77 to this:
Quote: | <?php if ($this->_tpl_vars['include'] == 'admin_config'): ?> |
And Fine, the problem was solved. But Why is it Happening??
I'm using PHP 4.3.3 under Windows XP |
|
Back to top |
|
mohrt Administrator
Joined: 16 Apr 2003 Posts: 7368 Location: Lincoln Nebraska, USA
|
Posted: Sun Jan 04, 2004 7:16 pm Post subject: |
|
|
what does your admin.tpl look like? do you have an {elseif} where you should have an {if} ? |
|
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
|