AAO25.com

Assist => Support => Topic started by: SupR3me- on Friday, November 06, 2015, 08:56:58 AM

Title: Critical error in function: CheckShouts.Run?
Post by: SupR3me- on Friday, November 06, 2015, 08:56:58 AM
Critical error in function: CheckShouts.Run?

dont know what this is? when i press on the deploy side and  press back to sitrep  i get  this? : http://postimg.org/image/bu5stnee7/ (http://postimg.org/image/bu5stnee7/)

does any1 know how to fix it ?  ;)
Title: Re: Critical error in function: CheckShouts.Run?
Post by: ronski on Friday, November 06, 2015, 09:00:54 AM
lol "my hacks". You should have hided your german midget porn better.

The error comes from Bernards empty shout (now 10 hours ago), the shout handler in Siterep seems to have a bug in printing empty messages.
Title: Re: Critical error in function: CheckShouts.Run?
Post by: Koden on Friday, November 06, 2015, 09:32:43 AM
I deleted that one you mentioned, hopefully its fine now (i'm on the phone and cant check the assist itself).
Title: Re: Critical error in function: CheckShouts.Run?
Post by: SupR3me- on Friday, November 06, 2015, 09:37:17 AM
lol "my hacks". You should have hided your german midget porn better.

The error comes from Bernards empty shout (now 10 hours ago), the shout handler in Siterep seems to have a bug in printing empty messages.

lol ron
its finish midget porn.
Title: Re: Critical error in function: CheckShouts.Run?
Post by: ronski on Friday, November 06, 2015, 09:39:17 AM
I deleted that one you mentioned, hopefully its fine now (i'm on the phone and cant check the assist itself).
great, now the error is gone :up:

someone might want to fix the bug though, next one who sends similar message in shoutbox will mess it up again. Simple fix for it should be changing the order of functions that are set for the message validation. You can't post empty shout, but if you add some special chars it's not empty anymore. When special chars will get removed message might have no content anymore. So basically after trimming the message you need to check if it's empty or not, then save the shout and display it on shoutbox.