MyBB Community Forums

Full Version: 1062 - Duplicate entry '1' for key 'PRIMARY'
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
This happens when I try to activate MyTabs.

INSERT INTO mybb_mytabs_settings (id,name,value) VALUES ('1','enabled','1'), ('2','default_tab_code','<td class="thead" style="border: 1px solid black; margin-right: 5px; padding: 2px 5px 2px 5px;">\r\n <div>\r\n <a href="{$link}">{$name}</a>\r\n </div>\r\n</td>\r\n'), ('3','default_selected_tab_code','<td class="thead" style="border: 1px solid black; margin-right: 5px; padding: 2px 5px 2px 5px;">\r\n <div>\r\n <strong><a href="{$link}">{$name}</a></strong>\r\n </div>\r\n</td>'), ('4','tab_list_code','<table border="0" cellspacing="1" cellpadding="1" class="tdborder">\r\n <tr>\r\n {$tablist}\r\n </tr>\r\n</table>'), ('5','default_tab','1'), ('6','ajax','1')
have you installed a fresh forum with a clean database as suggested earlier ?

anyway, do you see uninstall link for MyTabs plugin on the plugins page ? if so, uninstall & re-install it.
(2014-12-17, 02:48 PM).m. Wrote: [ -> ]have you installed a fresh forum with a clean database as suggested earlier ?

anyway, do you see uninstall link for MyTabs plugin on the plugins page ? if so, uninstall & re-install it.

No I should probably do a fresh forum... Ill try that first.