Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Warning: fread() [function.fread]: Length parameter must be greater than 0 in/functions/cache.php on line 60


Turki ARROQI

Recommended Posts

Hello osCommerce

 

I receive this warning on my home page store

 

 

 

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

 

 

i Get this warning after i add longe products name ARABIC AND ENGLISH

 

i try to look inside cache.php as the warning said and i found this

 

 

inside cache.php on line 60

57 // try to open file

58 if ($fp = @fopen($filename, 'r')) {

59 // read in serialized data

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

61 fclose($fp);

62 // unserialze the data

63 $var = unserialize($szdata);

 

note : i deleted the products name which i think cause this problem but the warning still ?

 

I don't know what i do because i am not EXPERT in php programming : :(

 

so please some one give me advise to resolve this issue

 

thanks

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...