Yeni bir bbcode ekleme çalıştığımda şu hatayı alıyorum.
Önceden youtube bbcode unu eklemiştim ve çalışıyordu.Ama şuan çalışmıyor. Çalışırken koyduğum vidyolar için hala aktif ama yeni bir vidyo için metin olarak gözüküyor.Bu konuda yardımcı olabilirmisinz?
Kod: Tümünü seç
General Error
SQL ERROR [ mysql4 ]
Duplicate entry '1' for key 2 [1062]
SQL
INSERT INTO phpbb_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 ('spoiler', '[spoiler]{TEXT}[/spoiler]', '<div style=\"margin:20px; margin-top:5px\"><div class=\"quotetitle\"><b>Kapalı İçerik:</b> <input type=\"button\" value=\"Göster\" style=\"width:45px;font-size:10px;margin:0px;padding:0px;\" onclick=\"if (this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display != \'\') { this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'\'; this.innerText = \'\'; this.value = \'Gizle\'; } else { this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'none\'; this.innerText = \'\'; this.value = \'Göster\'; }\" /></div><div class=\"quotecontent\"><div style=\"display: none;\">{TEXT}</div></div></div>', 1, '[spoiler]Saklanacak Yazı[/spoiler]', '!\\[spoiler\\](.*?)\\[/spoiler\\]!ies', '\'[spoiler:$uid]\'.str_replace(\"\\r\\n\",\"\\n\", str_replace(\'\\\"\', \'\"\', str_replace(\'\\\'\', \''\', trim(\'${1}\')))).\'[/spoiler:$uid]\'', '!\\[spoiler:$uid\\](.*?)\\[/spoiler:$uid\\]!s', '<div style=\"margin:20px; margin-top:5px\"><div class=\"quotetitle\"><b>Kapalı İçerik:</b> <input type=\"button\" value=\"Göster\" style=\"width:45px;font-size:10px;margin:0px;padding:0px;\" onclick=\"if (this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display != \'\') { this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'\'; this.innerText = \'\'; this.value = \'Gizle\'; } else { this.parentNode.parentNode.getElementsByTagName(\'div\')[1].getElementsByTagName(\'div\')[0].style.display = \'none\'; this.innerText = \'\'; this.value = \'Göster\'; }\" /></div><div class=\"quotecontent\"><div style=\"display: none;\">${1}</div></div></div>', 14)
BACKTRACE
FILE: includes/db/mysql.php
LINE: 133
CALL: dbal_mysql->sql_error()
FILE: includes/acp/acp_bbcodes.php
LINE: 203
CALL: dbal_mysql->sql_query()
FILE: includes/functions_module.php
LINE: 460
CALL: acp_bbcodes->main()
FILE: adm/index.php
LINE: 80
CALL: p_master->load_active()