![]() |
MYSQL Duplication Key error
Please can i get some help. I've moved hosts and upgraded. I've also upgrade to the lastest version of IBPro.
I'm getting this error when i try install a game. mySQL query error: INSERT INTO games_list (gname,gwords,gtitle,bgcolor,gwidth,gheight,active ,object,gkeys,gcat,cost,jackpo t,jackpot_type,added,tourney_use,gtime,game_type,g _raters,license,filesize) VALUES ('fishermansam2v32MICRO','Catch fish','Fisherman Sam 2','000000','610','480','1','Catch fish for money, buy materials, and stay away from endangered fishes','mouse to move, arrow keys to point and fire','1','0','0','-1','1210645774','1','0','0','','','374470') mySQL error: Duplicate entry '0' for key 1 mySQL error code: Date: Tuesday 13th 2008f May 2008 02:29:34 AM Also, my users are getting this error when trying to play a game (although admin can play??) There is a SQL error. |
very strange, need to check this onsite, please provide access to AdminCP+FTP via PM
|
Sent you a PM. Thanks.
|
Surely i just have to run a query as directed by Vbulletin to remove the duplicate key from games_session? Not sure how to modify the SQL query as per bleow. Any advice from anyone?
Quote:
|
Please can someone help! My members are moaning that the arcade has been down for over two weeks now.
Any help will be greatly appreciated. Thank you. |
Sigh, finally resolved this myself by the following.....
ALTER TABLE `games_session` CHANGE `sessid` `sessid` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `games_list` CHANGE `gid` `gid` INT( 10 ) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `games_league` CHANGE `mid` `mid` bigint( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT; ALTER TABLE `games_scores` CHANGE `s_id` `s_id` int( 11 ) UNSIGNED NOT NULL AUTO_INCREMENT; --------------- Added [DATE]1211583266[/DATE] at [TIME]1211583266[/TIME] --------------- However, still getting this error when trying to submit a score despite the changes above mySQL query error: INSERT INTO games_league (mid,gid,position,points,cat) VALUES ('862','715','1','10','1') mySQL error: Duplicate entry '0' for key 1 mySQL error code: Date: Friday 23rd 2008f May 2008 10:49:18 PM |
Some new games and some old games are still giving me and all users this error
mySQL query error: INSERT INTO games_league (mid,gid,position,points,cat) VALUES ('2','741','1','10','1') mySQL error: Duplicate entry '0' for key 1 mySQL error code: Date: Tuesday 27th 2008f May 2008 11:55:54 PM Please can i get some help. I'm getting bugged by users and cant turn the arcade off or my members shit themselves. Is this mod still supported? Kudos to my saviour. |
VERY strange, what is going on with your database, or what went wrong during installation ?
I would say remove arcade and do a complete fresh installation of it, this should solve it. You have mySQL ? Version ? |
All times are GMT. The time now is 10:05 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|