2022-12-13, 05:07 PM
I am trying to post a thread on mybb forum of mine.
The problem is, I have a code I need to post on a thread, and after I write / copy paste the code into the code column, and try to post the thread - this error pops up everytime. I tried to edit the thread from phpmyadmin and write the code inside the mysql quarry but even there the error shows up as Data too long.
The error shown when I try to post the thread:
Please, any fix for this issue/?
Please anyone help me. I cannot understand how a silly mistake like this could happen.
Fixed it :-
MySQL users need to change message field type manually from TEXT (65535) to MEDIUMTEXT (16777215) or LONGTEXT (4294967295) to obtain enhanced limit.
PhPmyAdmin > Database1 > Query > Paste the code and hit Submit Query (and you're done).
![[Image: 98943cb2e5b0847a949a393f1df758d9.png]](https://camo.mybb.com/75ac7033fe3dd7ace6cb8eed444669f25576fdfb/68747470733a2f2f692e6779617a6f2e636f6d2f39383934336362326535623038343761393439613339336631646637353864392e706e67)
The problem is, I have a code I need to post on a thread, and after I write / copy paste the code into the code column, and try to post the thread - this error pops up everytime. I tried to edit the thread from phpmyadmin and write the code inside the mysql quarry but even there the error shows up as Data too long.
The error shown when I try to post the thread:
The message is too long. Please enter a message shorter than 65535 characters (currently 104526).
Please, any fix for this issue/?
Please anyone help me. I cannot understand how a silly mistake like this could happen.
Fixed it :-
MySQL users need to change message field type manually from TEXT (65535) to MEDIUMTEXT (16777215) or LONGTEXT (4294967295) to obtain enhanced limit.
PhPmyAdmin > Database1 > Query > Paste the code and hit Submit Query (and you're done).
ALTER TABLE `mybb_posts` MODIFY COLUMN `message` LONGTEXT