Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Trouble when activating
Author Message
TriloByte
Junior Member


Posts: 19
Joined: Nov 2008
Reputation: 0
Post: #1
Trouble when activating
Well, when I try to activate the plugin I get this error:

Code:
MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1060 - Duplicate column name 'credits'
Query:
ALTER TABLE `mybb_users` ADD `credits` INT NOT NULL ;

So, I go into my PHPMyAdmin, and I type in:
Code:
ALTER TABLE `mybb_users` DROP `credits` INT NOT NULL

Then it comes back with this error:
Code:
Error

SQL query:

ALTER TABLE `mybb_users` DROP `credits` INT NOT NULL

MySQL said:  
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'INT NOT NULL' at line 1

Any help? :S
12-21-2008 12:09 AM
Splappy
Super Moderator


Posts: 454
Joined: Oct 2008
Reputation: 4
Post: #2
RE: Trouble when activating
Try this MySQL query:
Code:
ALTER TABLE `mybb_users` DROP `credits`

[Image: iathesig.png]
12-21-2008 04:23 AM
TriloByte
Junior Member


Posts: 19
Joined: Nov 2008
Reputation: 0
Post: #3
RE: Trouble when activating
Whenever I delete that, it somehow comes back after..
12-21-2008 12:17 PM


 


Forum Jump: