vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   SQL syntax error (https://vborg.vbsupport.ru/showthread.php?t=144182)

wolf32 04-06-2007 07:51 PM

SQL syntax error
 
Changed usergroup permissions so guests can play the arcade and I get this 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: Thursday 05th of April 2007 11:20:27 PM

Suggestions???

MrZeropage 04-06-2007 08:25 PM

this bug for guests is fixed for upcoming v2.6.2+

It only appears if guests prevent cookies to be saved

bolly.beats 04-07-2007 11:39 AM

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 07th of April 2007 07:36:26 AM

I am the admin and i m getting this msg.

wolf32 04-08-2007 12:05 AM

Quote:

Originally Posted by MrZeropage (Post 1221372)
this bug for guests is fixed for upcoming v2.6.2+

It only appears if guests prevent cookies to be saved

Oh, gotcha. Any idea for a release date?

MrZeropage 04-08-2007 05:21 AM

@bolly.beats:
You get this everytime ?

@wolf32:
"when it's done" ;)
But not that far in the future, just doing some more fixes and then it will be here ...

winsoftware 04-12-2007 05:39 AM

i also found this bug. my registered user told me about this bug too.

milsirhc 04-12-2007 01:59 PM

yea, i played as registered user and I got this error still.. =(

MrZeropage 04-16-2007 07:41 PM

can anybody reproduce this error with registered user ?
If so, please setup an account for me on your forum and send me the login-data via PM and tell me how to reproduce it... thanks

winsoftware 04-17-2007 05:15 AM

i dont know how to reproduce it. it dont get this error, but more and more user are telling me about it.

DaMaK 04-18-2007 11:34 AM

i get the error at work....at home i dont get the error. using same account and i am admin.

MrZeropage 04-18-2007 08:33 PM

Hmmm, what is the difference ?

Browser ?
Cookie-Protection/Blocker ?
Firewall ?


@winsoftware:
can any of those users reproduce the error ?

winsoftware 04-24-2007 10:02 AM

no they can't. they haven't got this error all the time.

qcho 04-24-2007 08:02 PM

same error.

REGISTERED, ADMIN, all users. (GUESTs ARE NOT ALLOWED TO PLAY)

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: Tuesday 24th of April 2007 03:57:46 PM

MrZeropage 04-25-2007 07:10 AM

@qcho:
even admin ? Well, please provide AdminCP+FTP access so I can have a look ...

sparky5693 04-26-2007 12:05 AM

Having this problem on my forum also, but it appears to happen at random.

SBDJ 04-26-2007 10:51 AM

I've also had this problem reported to me on my forum as well; it's not caused by the garbage collector cleaning out the session file before the user has finished the game is it?

The default is only 24 minutes, and this was the case on my server. I've just upped it to two hours for testing, and I've got a user who is always complaining about it so I've asked him to retest :)

OK, user has retested and says it is working now. Obviously I can't be positive about this, but it might be worth a try for those with issues

Two possible solutions;

Firstly server admin can edit php.ini and add...

session.gc_maxlifetime = xxxx

where xxxx is a value in seconds. Then restart the web server. This is obviously server-wide however then.

Or;

The mod code could be edited to do this at runtime. There are complications with doing this, a good article on it here.

HTH someone :)

almightyone 05-02-2007 11:48 PM

same problem here from some of my registered users
this is what they sent me
I have past the high score several times and doubled it at least once. When I go to submit score it gives me this error message

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: Tuesday 01st of May 2007 12:49:05 PM

MrZeropage 05-03-2007 12:31 PM

I really need some example where registered users and maybe even moderator/administrator gets that error.

Please contact me via PM and let me have a look on the code, so that I can add some debug-information to find out what the problem is and to finally fix that :)

SBDJ 05-05-2007 04:58 PM

Sorry guys; I just noticed that vBulletin overrides the session time anyway. I've just upped mine in the vb control panel to see if it makes any difference.

MrZeropage; I'll drop you a PM and sort out an account for you on my forum tomorrow so you can have a nosey around. I can also put you in touch with a user who regularly experiences the problem :)

MrZeropage 05-07-2007 04:53 AM

?! no spamming please ...

sparky5693 05-07-2007 07:49 AM

sorry... I tried to post a pic, hit some extra buttons. :)

itdevil 05-08-2007 09:21 AM

Quote:

Originally Posted by qcho (Post 1234913)
same error.

REGISTERED, ADMIN, all users. (GUESTs ARE NOT ALLOWED TO PLAY)

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: Tuesday 24th of April 2007 03:57:46 PM

Some of my Reg. members are receiving this error. What can i do to help in tracking this bug?

MrZeropage 05-09-2007 05:27 AM

provide AdminCP+FTP access via PM, create a test-account and tell me how to reproduce this with the test-account

sparky5693 05-10-2007 08:24 PM

I can't seem to find any way to repeat the problem. It seems random on my site.

winsoftware 05-16-2007 08:59 AM

@mrzeropage: ich habe den fehler bislang nur bekommen, wenn ich das häkchen bei "Angemeldet bleiben" weggenommen hab. das kann allerdings auch zufall sein.

squidstir 06-14-2007 01:34 PM

I had a member that was having this very problem and after messing around for a couple of days I discovered that if you don't check "Remeber me" when you log in then I'd get this error when I tried to save the score. Hasn't happened to him or anyone else since.

jasonpeinko 06-15-2007 04:04 PM

Myself and members have been getting this error also, but is just on one game i recently installed. I have changed the session time and everything but it is still occurring. A few members have gotten around it. But almost all cannot. It is not based on location either, because just after i changed the session time it worked for a while, but not anymore.

ringleader 07-19-2007 12:58 PM

Session timeout is the only logical explanation.

It's trying to make sure the user is logged in, and when it doesn't find a session_id it throws a fit.

Do like squidstir said, and tell them to click 'remember be' when logging in.

RvG2 07-19-2007 04:04 PM

two of my users saying like this:

bugs report on arcade
I encountered this when I played pacman. I suppoesed to get a hi score but when I was finished. this is what appeared..

There is a SQL error.
You can contact the board administrator by clicking here

Error Returned

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: Wednesday 18th of July 2007 09:18:15 PM

2. another problem..why is it that I encounter a auto log out evrytime?

================================================== =====

i encountered this too when i played MOON LANDER

There is a SQL error.
You can contact the board administrator by clicking here

Error Returned

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:

Your score won't be stored in Database because the Arcade only saves users top score per Game.

and im auto log out....

==========================================

But when I am (admin) is playing these errors are not showing at all... strange.

JJX 07-22-2007 10:10 AM

Is there any solution to this yet, I keep getting the same problem.

MrZeropage 07-22-2007 05:37 PM

Ok, I need somebody to test some alternative arcade.php (v2.6.3+ Dev-Edition) with debug-mode enabled to get an idea what is going wrong ... please apply via PM, thanks

AdmiralGeek 07-25-2007 08:21 PM

mySQL query error: SELECT * FROM vb_forumgames_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: Wednesday 25th 2007f July 2007 01:49:09 PM

same for me, i have just sent you a PM zero

There is no rythm to the error, as i can tell. But it is cookie related. i have set my auto log off to 30 minutes, and i played the game 4minutes beofre the time limit. So i would reckon that certain games are been ignorant towards the cookei!

okgaz 07-27-2007 08:59 AM

This has happened to me on pacman + other ppl seem to have reported it on pacman & moonlander. Has anyone had it happen to a V32 or V33 game or are they ok?


All times are GMT. The time now is 04:26 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01307 seconds
  • Memory Usage 1,796KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (33)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete