• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

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