Author Topic: Message body was left empty errors  (Read 21905 times)

Offline AStrangeGeek

  • Administrator
  • *****
  • Posts: 21914
  • Gender: Male
    • http://www.asstr.org/~A_Strange_Geek/
Message body was left empty errors
« 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.
Pick one: 1) It's not my fault  2) I wasn't there  3) You have no witnesses  4) It would have happened on it's own anyway.

Avatar image courtesy of CyberK82

Offline Allister

  • Comic Creator
  • *
  • Posts: 1880
  • The next test subject is ready for processing.
    • My Smashwords Page
Re: Message body was left empty errors
« Reply #1 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

Offline TeraS

  • Queen of the Succubi
  • Administrator
  • *****
  • Posts: 48987
  • Gender: Female
  • Behind You... Am I Going To Huggle You Or Poke You
    • http://www.succubus.net/blog
  • Skype: PM Me
Re: Message body was left empty errors
« Reply #2 on: March 01, 2015, 07:57:17 PM »
Survey says...

65500 characters.



Tera
Thank you for calling TeraS, Queen of the Succubi. Please wait and she will be with you shortly...
http://www.succubus.net     http://www.succubi.net     http://www.succubi.com

Offline Allister

  • Comic Creator
  • *
  • Posts: 1880
  • The next test subject is ready for processing.
    • My Smashwords Page
Re: Message body was left empty errors
« Reply #3 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.

Offline AStrangeGeek

  • Administrator
  • *****
  • Posts: 21914
  • Gender: Male
    • http://www.asstr.org/~A_Strange_Geek/
Re: Message body was left empty errors
« Reply #4 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.
Pick one: 1) It's not my fault  2) I wasn't there  3) You have no witnesses  4) It would have happened on it's own anyway.

Avatar image courtesy of CyberK82

Offline Allister

  • Comic Creator
  • *
  • Posts: 1880
  • The next test subject is ready for processing.
    • My Smashwords Page
Re: Message body was left empty errors
« Reply #5 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.

 




Visit Our Sister Site!