Application Error #28 - The “Description” field must contain fewer than 65,535 characters.

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
THO
Posts: 2
Joined: 12 Nov 2025, 07:38

Application Error #28 - The “Description” field must contain fewer than 65,535 characters.

Post by THO »

Hello,
For the past few days, when I try to paste an image into a bug description, I get the following error:
APPLICATION ERROR #28
The “Description” field must contain fewer than 65,535 characters.
Please use the ‘Back’ button on your web browser to return to the previous page. There, you can correct the issues identified by this error or choose another action. You can also select an option from the menu bar to go directly to a new section.
The only change is MantisBT update to 2.27.3.


Version de MantisBT 2.27.3
Version du schéma de base de données 213
Version de PHP 8.2.29
Informations du système d'exploitation Linux h2web432 6.1.0-0.deb11.21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1~bpo11+1 (2024-05-06) x86_64
Pilote de la base de données mysqli
Version de la base de données, description 10.6.21, 10.6.21-MariaDB-deb11-log
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Application Error #28 - The “Description” field must contain fewer than 65,535 characters.

Post by atrol »

How do you paste an image into a bug description?
Do you have installed a plugin for that?
Bug descriptions can just contain text in standard MantisBT.

I suspect the changed behavior is caused by the changes to fix https://mantisbt.org/bugs/view.php?id=35893
If I am right, you could add the following line to your condig_inc.php and adjust the value to your needs.

Code: Select all

$g_max_textarea_length = 65535;
Please use Search before posting and read the Manual
THO
Posts: 2
Joined: 12 Nov 2025, 07:38

Re: Application Error #28 - The “Description” field must contain fewer than 65,535 characters.

Post by THO »

I use VEditor 1.1.0 as text Editor and I can past image in the bug description.
atrol
Site Admin
Posts: 8542
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Application Error #28 - The “Description” field must contain fewer than 65,535 characters.

Post by atrol »

THO wrote: 14 Nov 2025, 09:33 I use VEditor 1.1.0 as text Editor and I can past image in the bug description.
Ok, so there is no need to change any code in standard MantisBT.

Is your issue fixed by increasing $g_max_textarea_length ?
Please use Search before posting and read the Manual
Post Reply