odd MySQL error message

4 posts by 2 authors in: Forums > CMS Builder
Last Post: March 8, 2010   (RSS)

By Deborah - March 7, 2010

After entering a new listing, I see the following popup error message when attempting to use dragSortOrder to reorder the list:

"Error: MySQL Error: Duplicate entry '11' for key 2"

After the error appears, if I refresh the pate, the record's position reverts back to where it started from. I've never seen this before and it doesn't seem to be happening with the drag/drop function for any other editors within this account.

Does anyone have an idea of what I should check into? I logged out/in of the account, but still have the same problem.

Deborah

Re: [Deborah] odd MySQL error message

By Dave - March 8, 2010

Hi Deborah,

CMSB doesn't automatically set up any MySQL indexes so I'm not sure how that happened. But any manually created indexes may interfere if not setup correctly. I'm not sure?

In any case, glad it's working now! :)
Dave Edis - Senior Developer
interactivetools.com

Re: [Dave] odd MySQL error message

By Deborah - March 8, 2010

Dave, Thanks for the reply.

I guess this was an "anomaly" of sorts, because I don't even know HOW to manually create an index within a database. (Virtually zero database skills.) I just pieced together the clues that lead me to that difference between the two tables and deleted the obvious "extra".

Ah, well... all is good now. On to other challenges. [:)]

Deborah