Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Sam's Anti-Hacker Mod Error in line 60


Recommended Posts

Sam, Newbe here, I have a clean install of osc 2rc2a, no modifications. After looking at the files to be uploaded I ftp all the Anti-Hacker Mod files to my site (after backup), everything seems to be working great, but I have an error in cache.php "Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\Inetpub\vhosts\usabikemotors.net\httpdocs\catalog\includes\functions\cache.php on line 60" This shows up at the upper corner of the left collum on all page. I'm new to php so I'm not sure what its asking. Do I need to add a $filename.cache to the cashe folder?

 

Thanks Bill

Link to comment
Share on other sites

Sam, Newbe here, I have a clean install of osc 2rc2a, no modifications. After looking at the files to be uploaded I ftp all the Anti-Hacker Mod files to my site (after backup), everything seems to be working great, but I have an error in cache.php "Warning: fread() [function.fread]: Length parameter must be greater than 0 in C:\Inetpub\vhosts\usabikemotors.net\httpdocs\catalog\includes\functions\cache.php on line 60" This shows up at the upper corner of the left collum on all page. I'm new to php so I'm not sure what its asking. Do I need to add a $filename.cache to the cashe folder?

 

Thanks Bill

Open notepad. Create the following files.

 

also_purchased-english.cache

categories_box-english.cache

manufacturers_box-english.cache

 

Insert 2 blank spaces(press space bar twice)in each file. Save it.

 

"File"--"Save As" ... set the "Save as Type" to ALL FILES

 

Upload files to your cache directory/folder.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...