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}>

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

  
  <{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}>
  

  <{/foreach}>
  
  <{/if}>
  <
tr>
    <
th colspan="2" id="infoF"><a href="javascript:openRecommend()">Recommend Usa>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

343 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 343


more...

Donat-O-Meter

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

Latest GitHub Commits