X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Third Party Add-Ons for X-Cart 4 (https://forum.x-cart.com/forumdisplay.php?f=45)
-   -   Smarty Error (https://forum.x-cart.com/showthread.php?t=40480)

fulcan 06-13-2008 01:07 AM

Smarty Error
 
Hi All, this is my welcome.tpl file. I am trying to get the new featured products mod working and I keep getting errors. You see in the code near the bottom I have added

{include file="customer/fts_featured_products.tpl" group="frontpage1"}

The error I am getting is

Warning: Smarty error: unable to read resource: "customer/fts_featured_1.tpl" in /home/retailbl/public_html/Smarty-2.6.12/Smarty.class.php on line 1095

If anyone can provide some help that would be great.


{* $Id: welcome.tpl,v 1.28.2.1 2006/07/12 04:51:17 svowl Exp $ *}
<!---<table cellpadding="0" cellspacing="0" width="100%">
<tr>
<td height="19" class="WelcomeTitle" style="BACKGROUND-IMAGE: URL({$ImagesDir}/custom/welcome_title_bottom_bg.gif);" valign="top">&nbsp;&nbsp;
{if ($active_modules.Greet_Visitor ne "") and ($smarty.cookies.GreetingCookie ne "") and $logout_user eq ''}
{assign var="_name" value=$smarty.cookies.GreetingCookie|replace:"\'": "'"}
{$lng.lbl_welcome_back|substitute:"name":$_name}
{elseif $lng.lbl_site_title}
{$lng.lbl_welcome_to|substitute:"company":$lng.lbl _site_title}
{else}
{$lng.lbl_welcome_to|substitute:"company":$config. Company.company_name}
{/if}
</td>
</tr>
<tr>
<td><img src="{$ImagesDir}/spacer.gif" width="1" height="2" alt="" /></td>
</tr>
<tr>
<td class="WelcomeBox" style="BACKGROUND-IMAGE: URL({$ImagesDir}/custom/welcome_bg.gif);">

<table cellpadding="5" cellspacing="10">
<tr>
<td valign="top"><img src="{$ImagesDir}/custom/welcome_image.gif" alt="" /></td>
<td class="WelcomeBox" width="100%">{$lng.txt_welcome}&nbsp;</td>
</tr>
</table>--->

<!---</td>
</tr>
</table>--->
{if $active_modules.Bestsellers ne "" and $config.Bestsellers.bestsellers_menu ne "Y"}
{include file="modules/Bestsellers/bestsellers.tpl"}
{/if}
{include file="customer/fts_featured_products.tpl" group="frontpage1"}
<!---{include file="customer/main/featured.tpl" f_products=$f_products dialog_title_color=#local_VertMenuBox_color#}--->


Thanks in advance

photo 06-13-2008 01:35 AM

Re: Smarty Error
 
That looks ok to me. I would say the problem is elsewhere, fts_featured_1.tpl possibly?

balinor 06-13-2008 04:32 AM

Re: Smarty Error
 
Sounds like you are using the FIretank add-on, so I'm moving this to the Third Party Add-Ons forum. Make sure the customer/fts_featured_1.tpl file exists where it says it should.

BCSE 06-14-2008 11:05 AM

Re: Smarty Error
 
It looks like you haven't uploaded the skin1/customer/fts_featured_1.tpl onto the server or it's permissions are such that the server cannot read the file.

Hope that helps.

Carrie


All times are GMT -8. The time now is 10:49 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.