-
Bug
-
Resolution: Fixed
-
Major
-
3.0.2
-
None
-
PHP Environment: 5.2.6
Database: MySQL 5.0.51a-community
According the root/includes/acp/acp_bbcodes.php file the maximun value for a bbcode id is set to 1511 :
Lines 207 to 210
if ($bbcode_id > 1511)
|
{
|
trigger_error($user->lang['TOO_MANY_BBCODES'] . adm_back_link($this->u_action), E_USER_WARNING);
|
}
|
In the mysql_41_schema.sql for bbcodes, the row for bbcode_id is defined as
bbcode_id tinyint(3) DEFAULT '0' NOT NULL,
|
But according the documentation from mysql :
TINYINT[(M)] [UNSIGNED] [ZEROFILL]
A very small integer. The signed range is -128 to 127. The unsigned range is 0 to 255.
source : http://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
May be the row have to be INT or SMALLINT
Like always, excuse me for my poor English, I speak Spanish.
- is duplicated by
-
PHPBB-10363 Custom BBCodes hardcoded ID limit of 1511
- Closed