Quote:
Originally Posted by Radek125
I am having this exact same issue. My users are randomly getting this error, including my main admin account, all others work fine. I've tried deleting the user's manualy in the wiki db, and it APPEARS to work, but only works the very first time you load the wiki, clicking on any other page after will make the error pop up again.
|
Anyone that can help here? I've reinstalled the user table, gone through the code, every page on this thread and cannot find the answer.
A database query syntax error has occurred. This may indicate a bug in the software. The last attempted database query was:
INSERT INTO `user` (user_id,user_name,user_password,user_newpassword, user_newpass_time,user_email,user_email_authentica ted,user_real_name,user_options,user_token,user_re gistration,user_editcount) VALUES (NULL,'radek-SiN','','','20090224191517','',NULL,'','quickbar=1 \nunderline=2\ncols=80\nrows=25\nsearchlimit=20\nc ontextlines=5\ncontextchars=50\ndisablesuggest=0\n ajaxsearch=0\nskin=\nmath=1\nusenewrc=0\nrcdays=7\ nrclimit=50\nwllimit=250\nhideminor=0\nhighlightbr oken=1\nstubthreshold=0\npreviewontop=1\npreviewon first=0\neditsection=1\neditsectiononrightclick=0\ neditondblclick=0\neditwidth=0\nshowtoc=1\nshowtoo lbar=1\nminordefault=0\ndate=default\nimagesize=2\ nthumbsize=2\nrememberpassword=0\nenotifwatchlistp ages=0\nenotifusertalkpages=1\nenotifminoredits=0\ nenotifrevealaddr=0\nshownumberswatching=1\nfancys ig=0\nexternaleditor=0\nexternaldiff=0\nshowjumpli nks=1\nnumberheadings=0\nuselivepreview=0\nwatchli stdays=3\nextendwatchlist=0\nwatchlisthideminor=0\ nwatchlisthidebots=0\nwatchlisthideown=0\nwatchcre ations=0\nwatchdefault=0\nwatchmoves=0\nwatchdelet ion=0\nvariant=en\nlanguage=en\nsearchNs0=1','ab56 1306e81ea646114f994a7d863120c','20090224191517','0 ')
from within function "User::addToDatabase". MySQL returned error "1062: Duplicate entry 'radek-SiN' for key 2 (db1)".