This topic is locked

Help - getting smarty error

8/13/2007 10:25:18 AM
PHPRunner General questions
F
frocco author

Hello,
I regenerated my code and am now getting:
Smarty error: [in dtadmit_list.htm line 145]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class5.php, line 2286)
How can I resolve this?
Thanks
Frank

F
frocco author 8/13/2007

In my dtadmit_list.htm file, I found this line:
<TD>{$row.1ptlast_value}</TD><!--{/foreach}-->{/if}{/if}</TR></TBODY></TABLE></FORM>
I had to remove one of the {/if}
<TD>{$row.1ptlast_value}</TD><!--{/foreach}-->{/if}</TR></TBODY></TABLE></FORM>
Not sure how that happened.
Frank

F
frocco author 8/13/2007

The error appears everytime I generate the code.
The field order is wrong on the "Visual Editor" page.

It does not match the order I chose for the dtadmit table.
What can I do?
Frank

F
frocco author 8/13/2007

This may be resolved.

It seems my 4.1 project file was pointing to my old PHPRunner 4.0 directory.
I copied the project file to my PHPRunner 4.1 directory.
Thanks
Frank