SA-MP Forums Archive
[Help] Mysql Account Base is erroring, I have no clue D: - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: [Help] Mysql Account Base is erroring, I have no clue D: (/showthread.php?tid=442806)



[Help] Mysql Account Base is erroring, I have no clue D: - MiniMoose12 - 09.06.2013

Anyhelp? This is the error. It's a Roleplay script we are trying to debug.
http://pastebin.com/0mu0h07H



Re: [Help] Mysql Account Base is erroring, I have no clue D: - MiniMoose12 - 09.06.2013

31 views , and no comments/suggestions. Just Wonderful


Re: [Help] Mysql Account Base is erroring, I have no clue D: - Scenario - 09.06.2013

Support isn't instant so get over yourself. Some threads received hundreds of views but get no responders.

By the way, go read the forum rules. Specifically the one about when you can bump a topic.


Re: [Help] Mysql Account Base is erroring, I have no clue D: - MiniMoose12 - 09.06.2013

I read the rules, it's merely a comment. If I wanted to bump my damn post I would just say so in the first place. Anyways thanks for "Bumping" my thread.


Re: [Help] Mysql Account Base is erroring, I have no clue D: - Scenario - 09.06.2013

Even creating a new response, like I'm doing now, can be considered a bump. Lose the attitude before you lose the privilege to be here.


Re: [Help] Mysql Account Base is erroring, I have no clue D: - MiniMoose12 - 09.06.2013

Creating a reply that is un-necessary could be considered a bump. Therefore you and I are both considered equally in trouble. Keep running that mouth over a simply reply and see where that gets you. I reply fast so it isn't considered a bump. I'm merely asking for MYSQL help, if you don't have that then stop posting unrelated replies.


Re: [Help] Mysql Account Base is erroring, I have no clue D: - Scenario - 09.06.2013

Hah, oh you have a lot to learn kid. But, I digress.

On the first query, it seems like you're surrounding the id in apostrophes. `id` = '1' So, remove those apostrophes around the 1 and it SHOULD process fine. As far as the second query giving an error, I'm not quite sure. The only thing I would say to do is make sure the field types match the type of data you're trying to store.

And, I can't tell if the third query is processing or not...

I would recommend looking into adding some print statementes under OnQueryError to help identify the errors you're receiving more accurately. I would provide some code, but I don't have access to it as I'm on my iPad.