vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   having error sometimes in arcade (https://vborg.vbsupport.ru/showthread.php?t=153021)

PAKIDIL 07-22-2007 10:27 AM

having error sometimes in arcade
 
hi i have install it and its working now storing score but some times my members having this type of 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: Sunday 22nd of July 2007 02:40:40 AM

how to resolve it please tell me thanks

JJX 07-22-2007 10:32 AM

Don't think there's a solution yet, see https://vborg.vbsupport.ru/showthread.php?t=144182

MrZeropage 07-22-2007 10:36 AM

to find the problem I need somebody to reproduce this and tell me how to

JJX 07-22-2007 12:30 PM

The problem seems to occur when users don't tick the 'remember me' box, but if the session length is 15 minutes and the game lasts 2 minutes the error still occurs. If the session length was 15 minutes and the game lasts 20 minutes I could understand the error. Basically it seems that if the 'remember me' option isn't ticked the cookie session is ended some time between the game loading and the score being submitted.

MrZeropage 07-22-2007 05:27 PM

you have v2.6.2+ installed ?
you uploaded the new file "holdsession.php" to your forum's root ?
you overwrote ALL files in the update to v2.6.2+ ?

JJX 07-22-2007 05:44 PM

Mine is a new install of 2.6.2+

MrZeropage 07-22-2007 05:47 PM

could you tell me your mailaddress via PM so I can send you an alternative arcade.php which has a debug-mode for this ? So I can find where the problem is...

JJX 07-22-2007 05:49 PM

I didn't have the holdsession.php uploaded, I'll see how it goes now.

MrZeropage 07-22-2007 05:51 PM

I guess this helps alot as this prevents being logged out :D

JJX 07-22-2007 05:54 PM

I just ignored it, because the instructions didn't mention it, I'm new to ibproarcade.

At least now I know what it's for. :)

MrZeropage 07-22-2007 05:59 PM

*updated the instructions* ;)

jeff0078 07-23-2007 11:29 PM

I just put the arcade up yesterday and someone reported this very issue this morning. Seeing something about 'holdsession.php' I re-downloaded and before I uploaded the file I noticed I already had one in my main forum directory. I uploaded it anyways and noticed the file size was different. Should the problem be fixed now?

MrZeropage 07-24-2007 04:58 AM

I did not change anything, maybe it was some binary upload via FTP... ?

Make sure the file is correct to keep the session alive during play :)

subzero06 07-24-2007 04:30 PM

im getting the same error..

PAKIDIL 07-26-2007 01:50 PM

same here i didnt notice abt hold session.php file where should i upload it in forum folder or it should be in forum/arcade/holdsession.php ?

MrZeropage 07-26-2007 02:14 PM

holdsession.php must be in forum's root (where arcade.php is)

PAKIDIL 07-26-2007 02:16 PM

i upload the file in forum' root ( where arcade.php is ) but its still same getting 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 26th of July 2007 10:16:02 AM

AdmiralGeek 07-26-2007 08:03 PM

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

Error ReturnedmySQL 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: Thursday 26th 2007f July 2007 01:43

me toooo! after the upgrade. And this happens on pacman mostly,

stangger5 07-26-2007 08:40 PM

Quote:

Originally Posted by PAKIDIL (Post 1302206)
same here i didnt notice abt hold session.php file where should i upload it in forum folder or it should be in forum/arcade/holdsession.php ?

Put the holdsession.php in the same place as arcade.php...

If you have arcade.php like this..
forum/arcade.php

holdsession.php should be
forum/holdsession.php


All times are GMT. The time now is 06:27 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
  • Page Generation 0.01104 seconds
  • Memory Usage 1,743KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (19)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