Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Smarty Error

 
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4
 
Thread Tools
  #1  
Old 06-13-2008, 01:07 AM
 
fulcan fulcan is offline
 

Advanced Member
  
Join Date: Mar 2005
Posts: 51
 

Default 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
__________________
retailblue.com
x-cart version 4.4.3

addons - X-AOM, X-Affiliate, X-Configurator, X- FeatureComparison, X-GiftRegistry, X-RMA X-SpecialOffers.
Firetank Featured Product and Feed Manager
CDSEO pro, magneticone autoresponder and survey
Reply With Quote
  #2  
Old 06-13-2008, 01:35 AM
  photo's Avatar 
photo photo is offline
 

X-Wizard
  
Join Date: Feb 2006
Location: UK
Posts: 1,146
 

Default Re: Smarty Error

That looks ok to me. I would say the problem is elsewhere, fts_featured_1.tpl possibly?
__________________
v4.1.10
In Dev v4.5.x


"If you don't keep an eye on your business, someone else will."
Reply With Quote
  #3  
Old 06-13-2008, 04:32 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default 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.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #4  
Old 06-14-2008, 11:05 AM
  BCSE's Avatar 
BCSE BCSE is offline
 

X-Guru
  
Join Date: Apr 2003
Location: Ohio - bcsengineering.com
Posts: 3,060
 

Default 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
__________________
Custom Development, Custom Coding and Pre-built modules for X-cart since 2002!

We support X-cart versions 3.x through 5.x!

Home of the famous Authorize.net DPM & CIM Modules, Reward Points Module, Point of Sale module, Speed Booster modules and more!


Over 200 X-cart Mods available & Thousands of Customizations Since 2002 - bcsengineering.com

Please E-Mail us for questions/support!
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Third Party Add-Ons for X-Cart 4


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 12:28 AM.

   

 
X-Cart forums © 2001-2020