MyBB Community Forums

Full Version: WIKI Plugin error
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
wghen i install and try to activate the following Wiki Plugin

http://mods.mybb.com/view/wiki-plugin

i get the following error. i see the duplicate prefix but not sure how to fix it any help is welcome.

Quote:MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1146 - Table 'godney_mbb.mbb_mbb_settinggroups' doesn't exist
Query:
INSERT INTO mbb_mbb_settinggroups (name,title,description,disporder,isdefault) VALUES ('Wiki','Wiki','Settings for the "Wiki" Plugin.','1','0')
Please contact the MyBB Group for support.
Quite strange, the plugin was actually built for 1.2.x and its posted for 1.6.x :s

Open plugin file and remove TABLE_PREFIX from the insert queries, like these;
$db->insert_query(TABLE_PREFIX."settinggroups", $wiki_group);
Should change into;
$db->insert_query("settinggroups", $wiki_group);

and so on..
Ok, I've written it with a tutorial in the german board. Thanks for posting this so I will update it this evening.
Thanks i thought it would be something as easy as find replace lol