Page error bug

Status
Not open for further replies.
Fatal Error

When sorting the member list by reputation and clicking the link for the last page, the following error comes up:
Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 71 bytes) in /home/hiveworkshop.com/www/forums/includes/functions_reputation.php(139) : eval()'d code on line 16

One big question I have: Why is PHP displaying errors at all..? Shouldn't you be using error logging instead of error displaying for security..?
 
The error is caused by too many red gems appearing because some users have -999999 rep or something simlar.
Even if the error did not occur,no browser will function correctly as it will be displaying millions of gems.

Trying to fix by changing the folowing.
Jacek's reputation from -26000000 to -1000

Fatal error fixed.
 
Last edited:
Possibly PHP ran into its memory limit? The error message EF posted is exactly what happens when the memory_limit is reached.
 
Status
Not open for further replies.
Back
Top