The row it fails on is:
$tmp = fgets($this->fp, 256);
I can of course add a @ before and it would look like this: $tmp = @fgets($this->fp, 256);
But all that does is remove the Fatal error and it will still stop the page from loading...
arghh!
Also tried:
if($tmp = @fgets($this->fp, 256)) {
//success
} else {
print "Något gick fel";
}
But it still kills the page load