Log in

View Full Version : I have a SQL error!


AJEB
03-22-2007, 05:28 AM
Can anyone help?

mySQL query error: UPDATE tournaments SET champion='casey's_angel27' WHERE tid='13' LIMIT 1

mySQL error: 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 's_angel27' WHERE tid='13' LIMIT 1' at line 1
mySQL error code:
Date: Thursday 22nd 2007f March 2007 05:26:55 PM

MrZeropage
03-22-2007, 05:19 PM
the special character in the username is the problem... although I wonder why this happens, thought I fixed this all over - will verify...

**edit**
which version of ibProArcade are you using ?

AJEB
03-23-2007, 06:06 AM
I am using ibProArcade v2.5.9+

MrZeropage
03-23-2007, 11:36 AM
you should immediatly upgrade to v2.6.1+ as all versions before 2.6.0+ have a security-issue!

after upgrading check if the problem occures again, I guess not ...

cajunboy2208
03-24-2007, 07:09 PM
I have the new version. And am getting a similar error.

mySQL query error: SELECT * FROM games_session WHERE sessid= LIMIT 1

mySQL error: 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 'LIMIT 1' at line 1
mySQL error code:
Date: Saturday 24th of March 2007 03:57:31 PM



And now the links arent working for the games

http://www.bleepd.com/forums/arcade.php?

Xplorer4x4
03-25-2007, 05:53 AM
I have the new version. And am getting a similar error.

mySQL query error: SELECT * FROM games_session WHERE sessid= LIMIT 1

mySQL error: 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 'LIMIT 1' at line 1
mySQL error code:
Date: Saturday 24th of March 2007 03:57:31 PM



And now the links arent working for the games

http://www.bleepd.com/forums/arcade.php?
As far as I can see your error is not related to the same issue. AJEB's is an error with special characters which would include anything other then a letter or number. Sorry.

@AJEB as Zero said. Upgrade. If you still have the problem then post it.

MrZeropage
03-25-2007, 06:20 PM
does this error (with the sessid) appear when a guest or a registered user plays ?
which kind of game, v3- or ibpro-game ?

**edit**
I looked through the code of the arcade and need to test where this appears to happen, could please anybody having this sessid-sql-error contact me via PM and provide AdminCÜ+FTP access so I can fix that ? thanks

ShawneyJ
04-03-2007, 03:55 AM
why on earth am i getting logged out of my arcade, my arcade v2.6.1 has been installed for a while with no problems at all, then all of a sudden members are getting an error like this:

There is a SQL error.
You can contact the board administrator by clicking here
mySQL query error: SELECT * FROM games_session WHERE sessid= LIMIT 1

mySQL error: 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 'LIMIT 1' at line 1
mySQL error code:
Date: Sunday 01st of April 2007 01:18:04 AM

We apologise for any inconvenience

then being logged off the forum grrrr

any idea's please, its getting very ennoying.