1
pbolduc
Getting Template Error
  • 2005/5/23 22:32

  • pbolduc

  • Just popping in

  • Posts: 7

  • Since: 2005/4/26


Everything was going fine until I uploaded this file to the system module templates block folder:

<table id="infoTable" cellpadding="0" cellspacing="0" align="center">
    <
tr>
        <
td >
<
table style="border: 1px solid #000066" cellpadding="0" cellspacing="0" align="center"width="171">        
  <{if 
$block.showgroups == true}>

  <!-- 
start group loop -->
  <{foreach 
item=group from=$block.groups}>
  <
tr >
    <
th id="infoH" colspan="2"style="border-bottom: 1px solid #000066"><{$group.name}></th>
  </
tr>

  <!-- 
start group member loop -->
  <{foreach 
item=user from=$group.users}>
  <
tr>
    <
td id="infoCell-1" Class="even"valign="middle" >
    <
a href="<{$xoops_url}>/userinfo.php?uid=<{$user.id}>"><{$user.name}></a></td>
<
td id="infoCell-2" class="odd"valign="middle" align="center"><{$user.msglink}></td>
  </
tr>
  <{/foreach}>
  <!-- 
end group member loop -->

  <{/foreach}>
  <!-- 
end group loop -->
  <{/if}>
  <
tr>
    <
th colspan="2" id="infoF"><a href="javascript:openRecommend()">Recommend Us</a></th>
  </
tr>  
</
table>
</
td></tr></table>


Then I got this Error when trying to login:

Quote:
Fatal error: Smarty error: [in db:system_block_siteinfo.html line 18]: syntax error: mismatched tag {/if}. (Smarty_Compiler.class.php, line 2229) in /home/nmrplco/public_html/gop/class/smarty/Smarty.class.php on line 1084


I have reinstalled the default [system_block_siteinfo.html] file via ftp and through cpanel file manager, clearing the [templates_c] cache each time to no avail.

Could someone please explain.

Thanks,
Pete

Login

Who's Online

68 user(s) are online (49 user(s) are browsing Support Forums)


Members: 0


Guests: 68


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits