Register for your free account! | Forgot your password?

You last visited: Today at 03:44

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Mysql Syntax Error

Discussion on Mysql Syntax Error within the Metin2 Private Server forum part of the Metin2 category.

Reply
 
Old   #1
 
.Kamino's Avatar
 
elite*gold: 10
Join Date: Dec 2015
Posts: 148
Received Thanks: 9
Mysql Syntax Error

Moin,
habe bei mir die 6 Steine in Waffen sowie Rüstungen eingefügt.
Es klappt auch soweit alles, aber wenn ich dann irgendein Item
ins Lager tu und das Lager schließe, wieder aufmache ist das Item verschwunden.
In der Syserr steht dann folgendes:
Code:
SYSERR: Mar 31 16:17:57 :: ChildLoop: AsyncSQL: query failed: 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 'VALUES(10000123, 59999, 3, 10, 1, 19, 1, 1, 1, 0, 0, 0, 9, 15, 15, 10, 0, 0, 0, ' at line 1 (query: REPLACE INTO item  (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2, socket3, socket4, socket5, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, VALUES(10000123, 59999, 3, 10, 1, 19, 1, 1, 1, 0, 0, 0, 9, 15, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) errno: 1064)
.Kamino is offline  
Old 03/31/2016, 21:45   #2
 
mrapc's Avatar
 
elite*gold: 238
Join Date: Sep 2009
Posts: 2,327
Received Thanks: 1,164
So PI mal Augenmaß würde ich Tippen das er nicht alle Werte richtig übergibt/nicht genug werte übergibt:
' at line 1 (query: REPLACE INTO item (id, owner_id, window, pos, count, vnum, socket0, socket1, socket2, socket3, socket4, socket5, attrtype0, attrvalue0, attrtype1, attrvalue1, attrtype2, attrvalue2, attrtype3, attrvalue3, attrtype4, attrvalue4, attrtype5, attrvalue5, attrtype6, attrvalue6, //16 Werte

VALUES(10000123, 59999, 3, 10, 1, 19, 1, 1, 1, 0, 0, 0, 9, 15, 15, 10, 0, 0, 0, //19 Werte
VALUES(10000123, 59999, 3, 10, 1, 19, 1, 1, 1, 0, 0, 0, 9, 15, 15, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0) //26 Werte

oder er bei:
attrtype3, attrvalue3,
bei deinem Item einen Fehler hat (Null, ungülter Wert o.ä.)
mrapc is offline  
Reply


Similar Threads Similar Threads
parse error syntax error unexpected
01/12/2016 - Technical Support - 3 Replies
Ahoi liebe Community, ich bin grad dabei WBB (Forensoftware), auf XAMPP zu installieren. Wenn ich jetzt unter localhost/www/forum/install.php gehe bekomme ich folgenden Fehlercode: Parse error: syntax error, unexpected 'a8c50dbb1996c8fa49c3a5ef4fc3c2' (T_STRING), expecting ')' in C:\xampp\tmp\d16ad071_1001_stepSelectSetupLanguage .php on line 34 Ich habe bereits die Datei mit N++ geöffnet und in Zeile 34 geschaut. Dort steht folgender text:
MySQL Query syntax error..
06/24/2015 - Metin2 Private Server - 0 Replies
Hallo.. Wollte grade meine Items einfügen. Leider bekomme ich folgenden Fehler: INSERT INTO `item_proto` VALUES ('35140', ''Supraya-Schwert I +0'', ''Supraya-Schwert I +0'', '1', '0', '0', '2', '32', '1', '16', '0', '10000', '10000', '231', '19', '0', '5', '1', '115', '0', '0', '7', '15', '17', '15', '0', '0', '0', '350', '370', '400', '450', '0', '0', '64992', '127', '64976', '21631', '4855', '3', '0', '0', '-1'); 1064 - You have an error in your SQL syntax; check the manual that...
Parse error: syntax error, unexpected T_VARIABLE
08/05/2012 - Web Development - 3 Replies
Hallo, bekomme diese Meldung: An sich findet man meistens den Fehler, ich bin jetzt aber schon mehrmals die vorherigen 31 Zeilen durchgegangen und hab keinen einzigen Fehler feststellen können. Das sind die ersten 33 Zeilen: <html> <head></head> <body>
[PHP&MySQL]Fehler bei der UPDATE Syntax
08/04/2012 - Web Development - 5 Replies
Hallo elitepvpers, ich habe da ein Problem bei dem Updaten von einer Zelle. Fehlermeldung: 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 'character=testcharacter WHERE name=test' at line 2 PHP Code:
[HELP] Mysql Syntax Error
02/12/2009 - EO PServer Hosting - 6 Replies
hi guyz i dump my sql file " cq_action " then i used this query " delete from my2. cq_action " to clear it and remove all records , then i copy what in the dumped file , and past it on query page , and it keep give me this error http://img223.imageshack.us/img223/4476/81192104oe 1.th.jpg here is the line that might have the error INSERT INTO `cq_action` VALUES ('5220942', '5220943', '0000', '0101', '0',...



All times are GMT +1. The time now is 03:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.