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

i swear i did nothing officer. :-)

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 04-01-2005, 04:32 PM
 
theway theway is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 8
 

Default i swear i did nothing officer. :-)

all i have done is uploaded an image

and also replaced xlogo_logo image to a different image (i thought this would be the easiest way to change the image on the front page).

and when i went to my web site at the top of my web site comes up with
"Warning: fread(): Length parameter must be greater than 0. in /www/clientweb/au/t/theway.net.au/shop/include/func.php on line 4740"

all i have done with the web site is the above, i have looked at the skins and other pages but not changed anything yet.

what does this mean (apart from me being dumb. )
Reply With Quote
  #2  
Old 04-01-2005, 04:34 PM
 
theway theway is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 8
 

Default

sorry i forgot about my sig info
__________________
theway.net.au
xcart gold
version: 4.0.11
Reply With Quote
  #3  
Old 04-01-2005, 04:36 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Probably means one of your .tpl files is empty. They can't be empty, if you put {* null *} in them instead it will fix the prob.
Reply With Quote
  #4  
Old 04-01-2005, 04:40 PM
 
theway theway is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 8
 

Default

sorry i l did do somehthing else.

i did delete one of my files. it was the one which show the xcart in the bottom left of the screen. so i have to find that and put {*null*} there.

thanks
i have been going through my web site and the forums for about 3 hours trying to do this thing.

its all new to me.
__________________
theway.net.au
xcart gold
version: 4.0.11
Reply With Quote
  #5  
Old 04-01-2005, 05:21 PM
 
theway theway is offline
 

Newbie
  
Join Date: Feb 2005
Posts: 8
 

Default

thank you for that.

this problem is now solved.


just like to say, that these forums have been very helpfull to me, and i dont know if i would have done anything without them.

so thanks to all these smart people, who reply to all the simple questions.
__________________
theway.net.au
xcart gold
version: 4.0.11
Reply With Quote
  #6  
Old 04-01-2005, 09:43 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Glad I could help.

You may find out ezine of help also:
http://www.websitecm.com/store/customer/mailinglist.php
Reply With Quote
  #7  
Old 04-02-2005, 05:36 AM
 
auggybendoggy auggybendoggy is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

theway,
can you tell us how you found the empty tpl

or which one it was cause i get the same prob and I don't know how to track it down except to view them in smarty
__________________
my mama always said if you\'re not cheating you\'re not trying! 4.0.9
Reply With Quote
  #8  
Old 04-02-2005, 12:11 PM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

^ Log onto your FTP and view your template files, you'll be able to see 0 bytes as a file size for any empty ones.
Reply With Quote
  #9  
Old 04-04-2005, 03:52 AM
 
auggybendoggy auggybendoggy is offline
 

Member
  
Join Date: Dec 2004
Posts: 20
 

Default

jon,
I did that and I did find a line near the end of my file that read fread () bla bla bla <0 which I noticed was less than zero.

how would I know what to change the value to if that is the one.

auggy
__________________
my mama always said if you\'re not cheating you\'re not trying! 4.0.9
Reply With Quote
  #10  
Old 04-04-2005, 11:09 AM
  Jon's Avatar 
Jon Jon is offline
 

X-Guru
  
Join Date: Oct 2002
Location: Vancouver, Canada
Posts: 4,200
 

Default

Just put: {* Anything Here *}

That just puts in a commented out line.
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 03:52 PM.

   

 
X-Cart forums © 2001-2020