View Single Post
  #3  
Old 12-17-2003, 07:42 AM
 
mysoftware mysoftware is offline
 

Member
  
Join Date: Sep 2003
Posts: 10
 

Default

thanks for the help, I have use the cleanup.php as you mentioned, it clean up, but he same error still appear.

Is there any other files I should look into ?
any other possible advice would be helpful.

Thanks.

This is the files product.tpl which was store in
/shop/skin1/modules/Extra_Fields
I have all the extra field working fine with no prob previously.

It works fine for quite sometime, till I make a changes which come out errors, even I restor the orginal files, it still errors.

{* $Id: product.tpl,v 1.2 2002/04/23 10:38:01 mav Exp $ *}
{if $product.categoryid eq 26
or $product.categoryid eq 251
or $product.categoryid eq 252
or $product.categoryid eq 253
or $product.categoryid eq 254
or $product.categoryid eq 255
or $product.categoryid eq 256
or $product.categoryid eq 257
or $product.categoryid eq 258
or $product.categoryid eq 259
or $product.categoryid eq 260
or $product.categoryid eq 261
}
<tr>
<td width="30%">{$lng.lbl_soft_author}</td>
<td>{$product.param00}</td>
</tr>
<tr>
<td>{$lng.lbl_soft_homepage}</td>
<td>{$product.param01}</td>
</tr>
<tr>
<td>{$lng.lbl_soft_os}</td>
<td>{$product.param05}</td>
</tr>

<tr>
<td valign="top">{$lng.lbl_soft_download}</td>
<td>[img]{$ImagesDir}/dl.gif[/img]</td>
</tr>
{else}
{section name=field loop=$extra_fields}
{if $extra_fields[field].active eq "Y"}
<tr>
<td width="30%">{$extra_fields[field].field}</td>
<td>
{if %field.index% eq 0}
{$product.param00}
{elseif %field.index% eq 1}
{$product.param01}
{elseif %field.index% eq 2}
{$product.param02}
{elseif %field.index% eq 3}
{$product.param03}
{elseif %field.index% eq 4}
{$product.param04}
{elseif %field.index% eq 5}
{$product.param05}
{elseif %field.index% eq 6}
{$product.param06}
{elseif %field.index% eq 7}
{$product.param07}
{elseif %field.index% eq 8}
{$product.param08}
{elseif %field.index%}
Reply With Quote