vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   The solution to the SQL error. (https://vborg.vbsupport.ru/showthread.php?t=153803)

AdmiralGeek 07-30-2007 04:24 PM

The solution to the SQL error.
 
This message is for the folks who are getting the MySQL errors with the games.

This only happens with some games that take a long time to get a high score, such as For breakout and pacman, the error occurs when play the game over the length of when you have your users re login again, due to been "unactive" within the forums. It is infact a cookie problem. And the holdsession.php has no control over this. There has to be away for the arcade to let Vbulletin know that the person is indeed active and playing the arcade. if the arcade platform was independent from the Vbulletin, then this would not happen because it would have it's own cookie logout session.

So I would suggest, having IBProArcade with it's own independant cookie logout session which can be controlled as an option by the user.

So Mr Zeropage, ya have your results and a means to reproduce this error a million times over.

1: This is the time in seconds that a user must remain inactive before their login session expires. This setting also controls how long a user will remain on Who's Online after their last activity.
This is set by default at 3000 seconds, that is 15 minutes. The same time it takes to get very high scores. people playing the arcade can not register their high score, because VB is assuming that they are not active.

MrZeropage 07-30-2007 07:54 PM

if you have v2.6.2+ and uploaded the new "holdsession.php" to your forum's root, it should not timeout anymore :)

MrZeropage 07-31-2007 08:13 PM

beside that you need to update all skinfiles btw so that holdsession.php is really working within the games...

MrZeropage 07-31-2007 08:50 PM

thread closed because this user attacks me and blames on me in private chat on MSN messenger while I just want to test, debug and fix his problems

:down:


All times are GMT. The time now is 06:16 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.00950 seconds
  • Memory Usage 1,708KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)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