I am getting this error in our article directory website. What does the warning below mean? Warning: fread() [function.fread]: Length parameter must be greater than 0 in /home/cpanelname/public_html/foldername/include/functions.php on line 3069
The error is giving you a clue, file functions.php - line 3069. Length parameter - I would say is a variable defining some configuration, which has set limits or filters. You need to correct the length parameter as the error explains. I hope you get it fixed
Problem is that there is no line 3069. Line is only up to 2001. Even the original file doesn't have that line. I got that problem after the site was hacked.
A bit of a stab in the dark without knowing the software etc, but it can mean that a file that the script is trying to read such as a template file has a size of zero. If you use your FTP client you should be able to see all the file sizes and those with a 0 size you'll need to replace from backups and/or the original distribution of the script. Hope that helps.
Thank you Tolra. I replaced all the template files, and the warning has disappeared. What is left now is that the title of the site has the name of the hacker team. See it here.
Sorry, I'm not familiar with that software, however either the title is in one of the templates or it is in one of the settings. The settings are either in a file or accessible via the admin interface.