On my site (http://www.southeastart.co.uk) I have this new error:
Warning: fread(): Length parameter must be greater than 0. in /home/fhlinux198/s/southeastart.co.uk/user/htdocs/include/functions.inc.php on line 376
Can you advise - I've made no changes to the include file specified only to the homepage: template.html which was to add some links? I can see that on line 376 it's creating this variable but have no idea what it means or how to fix it,
$template = fread(fopen($template_file, 'r'), filesize($template_file));
cheers JG
It means your template.html file is missing or cannot be read. Check it is OK. What theme are you using ?
It's a customised Water drop theme.
What could have changed in the template to do this?
I've uploaded it again and there's still no change.
JG
Change the line to
$template = file_get_contents($template_file);
and see if that works any better.
It should be here : http://www.southeastart.co.uk/themes/water_drop/template.html then ? but all I can see is blank page.
Thanks Nibbler, the file was corrupt - I've deleted it and up-loaded it again, cheers JG