News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

The message body was left empty.

Started by PokémonS, July 10, 2015, 12:54:10 PM

Previous topic - Next topic

PokémonS

SMF 2.0.10

Hi,

In Post Settings, I have set maximum allowed post size up to 800000 characters.
I have an article which is about 150000 characters.

But when I click Post, it show "The message body was left empty."
I click Preview, it shows nothing.

mod_sec is currently off.

Help? Thanks.

Screenshot below:
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Kindred

1- are you pasting from a word processor?
2- not sure, but the message might be too long, period... regardless of what you have set the max limit to....  based on database or server settings
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Illori

Quote from: Kindred on July 10, 2015, 01:11:06 PM
2- not sure, but the message might be too long, period... regardless of what you have set the max limit to....  based on database or server settings

Quote from: Arantor on December 22, 2014, 09:34:51 AM
I bet this is because it's hitting the TEXT limit and the column hasn't been resized to be MEDIUMTEXT.

This is one situation where it can do it and not inform the user if the limit is set to 0.

can you check if your body column in the messages table is MEDIUMTEXT?

PokémonS

1. MS Word 2007 -> paste to Notepad++ -> paste to Post.

Exactly at 19,259 characters.
... terletak di timur Route 5, tepatnya di utara Roller Skater Winnie dan Florin. ...

Red words means excessive limit which caused the post cannot be posted.
I have changed word from "tepatnya" to many aaaaaaa's but still it cannot post.




2. I never edit SMF's database structure, my smf_message's body is mediumtext.

きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Kindred

well, if you started off in Word, there is a chance that is your problem...

Even pasting into notepad++ does not always remove the word crap...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Antes


PokémonS

Quote from: Antes on July 10, 2015, 02:01:01 PM
Try with Ctrl+Alt+V

Tried with Paste Special, and select unformatted text, but still doesn't work.


Quote from: Kindred on July 10, 2015, 01:44:20 PM
well, if you started off in Word, there is a chance that is your problem...

Even pasting into notepad++ does not always remove the word crap...


Well, I should back to my odd solution, article spitted to many posts, but they're still in one thread.

Marked as solved, thanks!
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Steve

Did you try lowering the maximum number? Mine's at 65,000 and haven't had a problem.
DO NOT pm me for support!

PokémonS

Quote from: Steve on July 10, 2015, 04:04:34 PM
Did you try lowering the maximum number? Mine's at 65,000 and haven't had a problem.

Tried before making this topic, from 200,000 to 50,000.
and then change to 800,000 for this topic's purpose.

And nothing works.

Recently I try to post my article on SMF forum. I click preview, and still nothing show, it also won't post.
Recently I typed 300,000 aaaaaaaaaaa's characters in my forum and it works.

100% the fault is from my article.
きみと手をつなごう つらいときはもっと
ゼロからはじめよう ほら ほら 手をつなごう
みんな手をつなごう つらいときはもっと
力を合わせよう ほら ほら 手をつなごう

Gluz

Maybe have some unicode character that broke the preview, as I said in one thread I open:

Quote from: Gluz on June 13, 2015, 06:30:56 AM
My issue here is that the Post/database gets the data OK, it shows in the post, but the Preview is broken, it doesn't show any text when have a emoji(and I think that this will happen with some unicode characters as well, not common characters though).

If you post that article, does it show well even if the preview doesn't work? because that is what happens with some unicode characters (like the emojis that the users post in my forum).

Kindred

Quote from: Kindred on July 10, 2015, 01:44:20 PM
well, if you started off in Word, there is a chance that is your problem...

Even pasting into notepad++ does not always remove the word crap...
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: