ganxh Posted May 3, 2006 Posted May 3, 2006 I just set the cache properties according to the manul (oscommerce-2.2ms2-051112.pdf). I got the following message: Warning: fread(): Length parameter must be greater than 0. in /homepages/12/d94451588/htdocs/osc511/catalog/includes/functions/cache.php on line 60 I would greatly appreciate your help. Thanks, Gan
Guest Posted May 3, 2006 Posted May 3, 2006 is likely your cache path isn't properly set. Goto your osc admin->configuration->cache set the cache directory to a valid path in the server.
ganxh Posted May 4, 2006 Author Posted May 4, 2006 is likely your cache path isn't properly set. Goto your osc admin->configuration->cache set the cache directory to a valid path in the server. Thanks for your help. The path looks right. I changed the code in /catalog/includes/functions/cache.php, and it worked. Find the line: $szdata = fread($fp, filesize($filename)); change to: @$szdata = fread($fp, filesize($filename));
Recommended Posts
Archived
This topic is now archived and is closed to further replies.