Dynadot โ€” .com Registration $8.99

Utopsites error help needed! (Their support is offline)

Spaceship Spaceship
Watch

emgage

Established Member
Impact
48
HI guys, i really need some help on my topsites list. I have an error which is really distorting my site and im not sure how to fix it. The error is

Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/phonesec/public_html/teamsymbian/admin/lib/class.functions.php on line 723

Warning: fread() [function.fread]: Length parameter must be greater than 0. in /home/phonesec/public_html/teamsymbian/admin/lib/class.functions.php on line 723

Warning: Cannot modify header information - headers already sent by (output started at /home/phonesec/public_html/teamsymbian/admin/lib/class.functions.php:723) in /home/phonesec/public_html/teamsymbian/admin/

Their forum is offline and im not getting any replies from them by email so id appreciate if anyone can give me any ideas on how to fix this. The site was working fine previously, not sure what the problem is. I can donait some points and rep for your help, thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
AfternicAfternic
Hello,

Make sure you read there "README" or installation instructions and chmod all needed files.

Otherwise open up /admin/lib/class.functions.php in notepad and go to line 723 and copy what you see and paste it here.

- Steve
 
0
•••
hi, the line reads:
return $content;

The surrounding content is as follows:
1\"> ".$def." </option>\n":'';
$content = "\n<select name=\"".$file."\" $othercrap>".$other.$a."</select>\n";
return $content; (line 723)
//}
}
}
 
0
•••
sorry, my mistake. the line reads
$a = fread(fopen($url, $read),filesize ($url));

and surrounding content is
function get_file($url,$read='r') {
$a = fread(fopen($url, $read),filesize ($url));
return $a;

line 45 reads
header("Content-Encoding: x-gzip");

Appreciate anyones help on this
 
0
•••
Try using:
Code:
$a = file_get_contents($url);
Instead of:
Code:
$a = fread(fopen($url, $read),filesize ($url));
You only get the header error because of the other errors happening. If you fix the first error, you won't get it.
 
1
•••
tahnks a lot mate, taht worked perfect. points and rep added
 
0
•••
Dynadot โ€” .com Registration $8.99Dynadot โ€” .com Registration $8.99
Appraise.net
Unstoppable Domains
Domain Recover
DomainEasy โ€” Payment Flexibility
  • The sidebar remains visible by scrolling at a speed relative to the pageโ€™s height.
Back