Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning msg Re: length parameter


kelly_b06

Recommended Posts

Posted

Warning: fread(): Length parameter must be greater than 0. in /home/mainstre/public_html/store/includes/functions/cache.php on line 60

 

How do I increase the length parameter and what should I increase it to.

 

What is the best way to edit these files - using WS_FTP, cpanel, or downloading file and using notepad.

 

Thanks,

Kelly

Posted

turn off your cache, you need to set up a tmp directory for it, as well as a directory for logging and sessions. only turn it on once things are setup.

you will not have tu change the length once this is done.

 

best way to edit is download all your files, to have a backup copy, edit locally with php editors which you can find on the internet (i personally use dreamweaver piece of cake) and then upload back to the site.

Posted
turn off your cache, you need to set up a tmp directory for it, as well as a directory for logging and sessions.  only turn it on once things are setup.

you will not have tu change the length once this is done.

 

best way to edit is download all your files, to have a backup copy, edit locally with php editors which you can find on the internet (i personally use dreamweaver piece of cake) and then upload back to the site.

 

 

Thanks John,

 

But could you please tell me how to set the tmp dir for the cache, logging and sessions. (The install was auto not manual so I am not sure how or where to put the tmp folders for the session, cache, logging other than what I have below

 

the sessions path /home/main/public_html/tmp/

the cache path /home/mainstre/public_html /store/cache

 

should the sessions path be inside the store(catalog) folder?

 

Kelly

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...