Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Warning: fread() [function.fread]:


Recommended Posts

Hello Forum,


Whacking away at this stuff. I am getting the below error message and can't seem to figure out how to get it off.



Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/u2/.../html/oscommerce-2.2ms2-060817/catalog/includes/functions/cache.php on line 60


When I go to the cache.php file and run a "find" search, I get the below.


// read in serialized data

$szdata = fread($fp, filesize($filename));



I'm sure the answer is plain as day, but I'm a newbie and don't understand what to put here.


Please help.



Link to comment
Share on other sites

Hello Forum,


I posted details on in the Installation section ... sorry: a double post.


BUT! I figured it out for those who experience similar probs. Just go to you Admin/Config/Cache Control and refresh all "Action" rows for the existing cache files, i.e. "Categories Box," "Manufacturers Box," ....



Link to comment
Share on other sites


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

  • Create New...