scusate ho un problema nel creare bbcode, quando cerco di crearne uno mi esce questo errore:
Codice:
Errore Generale
SQL ERROR [ mysql4 ]
Duplicate entry '127' for key 1 [1062]
SQL
INSERT INTO avphpbb_bbcodes (bbcode_tag, bbcode_match, bbcode_tpl, display_on_posting, bbcode_helpline, first_pass_match, first_pass_replace, second_pass_match, second_pass_replace, bbcode_id) VALUES ('warnbox', '[warnbox]{TEXT}[/warnbox]', '<div style=\"margin-bottom: 10px; background: #ffe5b2; padding: 6px; height:auto; border: 2px solid #ffd580; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;\"><img src=\"images/warningM.png\" alt=\"\" style=\"padding-right: 6px; vertical-align: middle;\" />{TEXT}</div>', 0, '[warnbox] tuo testo [/warnbox]', '!\\[warnbox\\](.*?)\\[/warnbox\\]!ies', '\'[warnbox:$uid]\'.str_replace(array(\"\\r\\n\", \'\\\"\', \'\\\'\', \'(\', \')\'), array(\"\\n\", \'\"\', \''\', \'(\', \')\'), trim(\'${1}\')).\'[/warnbox:$uid]\'', '!\\[warnbox:$uid\\](.*?)\\[/warnbox:$uid\\]!s', '<div style=\"margin-bottom: 10px; background: #ffe5b2; padding: 6px; height:auto; border: 2px solid #ffd580; border-radius: 5px; -moz-border-radius: 5px; -webkit-border-radius: 5px;\"><img src=\"images/warningM.png\" alt=\"\" style=\"padding-right: 6px; vertical-align: middle;\" />${1}</div>', 128)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 174
CALL: dbal_mysql->sql_error()
FILE: includes/acp/acp_bbcodes.php
LINE: 220
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 507
CALL: acp_bbcodes->main()
FILE: adm/index.php
LINE: 75
CALL: p_master->load_active()
qualcuno sa' come potrei risolvere, grazie.
Alan