MyBB Community Forums

Full Version: [error message] MySQL Error rep mod
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
so im trying to install the classic reputation mod on my forum, but i keep getting


MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
    1146 - Table 'forumname.mybb_mybb_settinggroups' doesn't exist
Query:
    INSERT INTO mybb_mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','crs','Classic Reputation System Settings','Settings for Smethead\'s \'Classic Reputation System\' plugin.','20','no')

can someone please help me, i am running;

MyBB 1.6.2
PHP Version 5.1.6
SQL Engine MySQL 5.0.77

if that helps.
WHAT??

You are trying to install a mod made for MyBB v1.2 while you are on MyBB v1.6 AND v1.6 already has reputation as a core feature!
(2011-04-14, 06:00 AM)- G33K - Wrote: [ -> ]WHAT??

You are trying to install a mod made for MyBB v1.2 while you are on MyBB v1.6 AND v1.6 already has reputation as a core feature!
hmmmm i guess, and our reputation is broken.
Open plugin file and delete the following instances from the insert queries;
TABLE_PREFIX
Like this;
$db->insert_query(TABLE_PREFIX."settinggroups", $crs_group);
Change that to;
$db->insert_query("settinggroups", $crs_group);

You'll need to to do the same for all instances.
(2011-04-14, 07:46 AM)Yaldaram Wrote: [ -> ]Open plugin file and delete the following instances from the insert queries;
TABLE_PREFIX
Like this;
$db->insert_query(TABLE_PREFIX."settinggroups", $crs_group);
Change that to;
$db->insert_query("settinggroups", $crs_group);

You'll need to to do the same for all instances.

alright i'll try that now.


edit: that didnt work, but its alright, i managed to fix the rep system.
(2011-04-14, 07:46 AM)Yaldaram Wrote: [ -> ]Open plugin file and delete the following instances from the insert queries;
TABLE_PREFIX
Like this;
$db->insert_query(TABLE_PREFIX."settinggroups", $crs_group);
Change that to;
$db->insert_query("settinggroups", $crs_group);

You'll need to to do the same for all instances.

Again, MyBB 1.6 already comes with a reputation system. I wouldn't suggest doing what Yaldaram said if it is a 1.2 plugin.
You may use the following plugin if you still needs to spice up your Rep system: http://mods.mybb.com/view/reputation-power