Log in

View Full Version : Error When Adding / Modifying Forums


evenmonkeys
11-26-2005, 10:33 PM
INSERT INTO forum
(title_clean, title, description_clean, description, link, displayorder, daysprune, parentid, newpostemail, newthreademail, options, styleid, password, reqcontract, contracttext, accessf_nb, accesst_nb, create_nb, reply_nb, recycle, ucash_perthread, ucash_perreply, ucash_perview, forumid)
VALUES
('General Discussion', 'General Discussion', 'Discuss your mixed media here.', 'Discuss your mixed media here.', '', 201, -1, 10, '', '', 88775, 0, '', 0, '', 0, 0, 0, 0, 0, '1', '1', '1', 22);
MySQL Error : Duplicate entry '22' for key 1


What could be the problem?

peterska2
11-26-2005, 10:40 PM
One of your hacks has buggered it up. As you have that many installed, I couldn't even start to tell you which, but it is surely one of them.

evenmonkeys
11-26-2005, 10:47 PM
Why would it say duplicate though? Doesn't that mean I'm trying to put two different values into the same field? If that's the case, I'm not. It's inserting 24 values into 24 fields. ._.

Okay... it's actually saving the forum and all of the settings. It just shows that error. O_O

Marco van Herwaarden
11-27-2005, 05:36 AM
This means your forum table probably got corrupted (or better the index). Try to repair your tables a few times.