Hypnopics Collective

Hypnopics Collective => Announcements => Topic started by: AStrangeGeek on March 01, 2015, 09:26:09 AM

Title: Message body was left empty errors
Post by: AStrangeGeek on March 01, 2015, 09:26:09 AM
A few people have been reporting getting an error while attempting to make long posts that says "the message body was left empty". This seems to be mostly plaguing those attempting to post character sheets in the RP forum. This is apparently a bug in SMF related to bbcode. One thing to try if you get this error is to remove the "list" bbcode and just represent the items on separate lines. Not as pretty but may help get the post through.

There is actually a max post size but it's something like 65k characters so it's doubtful anyone is hitting that.
Title: Re: Message body was left empty errors
Post by: Allister on March 01, 2015, 03:56:42 PM

There is actually a max post size but it's something like 65k characters so it's doubtful anyone is hitting that.

Oh tell me it's 65,536 characters exactly
Title: Re: Message body was left empty errors
Post by: TeraS on March 01, 2015, 07:57:17 PM
Survey says...

65500 characters.



Tera
Title: Re: Message body was left empty errors
Post by: Allister on March 01, 2015, 08:01:45 PM
Oh tell me the number of characters is limited by a 16 bit integer or something (ie: won't go above 65,535 or 6). Yeah I'm nerding out but it'd be so funny if some bit of the forum's code was 16 bit code.
Title: Re: Message body was left empty errors
Post by: AStrangeGeek on March 01, 2015, 08:06:45 PM
The limitation really has nothing to due with the size of any variable in the code. The database schema stores the text in a column declared as MEDIUMTEXT which actually supports far more characters than anyone in their right mind would post here. The limitation is likely more anti-spam than anything else.
Title: Re: Message body was left empty errors
Post by: Allister on March 01, 2015, 08:20:39 PM
Yeah that makes sense. I guess they just chose 65,500 either out of the blue, or because one of the coders owned a 286 or something.