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

smarty error after editing home.tpl ???

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-24-2005, 10:57 PM
 
K.C. K.C. is offline
 

Member
  
Join Date: Jan 2005
Posts: 27
 

Default smarty error after editing home.tpl ???

I've been making changes to the home.tpl and head.tpl.

Now all of a sudden I've got this error displaying under the newsletter stuff on the right side of the customer home page.

Anyone know what I might have messed up to cause this ?

Warning: fread(): Length parameter must be greater than 0. in /home/myuserid/public_html/store/Smarty-2.5.0/Smarty.class.php on line 2004
__________________
3.5.14
Reply With Quote
  #2  
Old 02-25-2005, 04:14 AM
  shan's Avatar 
shan shan is offline
 

X-Guru
  
Join Date: Sep 2002
Location: Birmingham, UK
Posts: 6,163
 

Default

you have a tpl file that is empty. Either remove the include to it or add something to the file
__________________
Looking for a reliable X-cart host ?
You wont go wrong with either of these.

EWD Hosting
Hands On Hosting
Reply With Quote
  #3  
Old 02-25-2005, 01:57 PM
 
K.C. K.C. is offline
 

Member
  
Join Date: Jan 2005
Posts: 27
 

Default

OK, that helps!

Thank you very much.
__________________
3.5.14
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



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 08:47 PM.

   

 
X-Cart forums © 2001-2020