• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Page error bug

Status
Not open for further replies.
Level 11
Joined
Feb 18, 2004
Messages
394
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..?
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
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:
Level 15
Joined
Nov 1, 2004
Messages
1,058
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.
Top