vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   could not access game table error message (https://vborg.vbsupport.ru/showthread.php?t=240548)

Dragonsys 07-28-2010 03:55 PM

Quote:

Originally Posted by Hippy (Post 2075447)
did they ever work ?
did you set chmod to the folders ?
make sure you CHMOD the /arcade directory and all its subfolders to 0777
for starters
did you do the index edit ?

Yes, the 1st time I played the games (other than Space Invaders, it has never worked)
Yes
Not on my host, if 0777 stuff breaks, MUST be 0755
What Index Edit? Maybe that is what I am missing... The install Instructions don't say anything about editing any index, the only edits are a few template edits.

Amm0 07-28-2010 08:40 PM

I got this error on Vbulletin 3.7.2
Anyone know of a solution?

I have CHMOD the /arcade directory and all its subfolders to 0777

Hippy 07-29-2010 12:53 AM

Just tested those games and I get the same error
but the added games I don't get that message..

any of you have any other games installed besides the default ones ?

and as someeone stated the score still saves on those..

the edit Dragonsys
is
Code:

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
you have to edit your alternate index.php:

open index.php

At the very beginning of the File, right after:
----------------------------------------------------------
<?php
----------------------------------------------------------

you have to insert:
----------------------------------------------------------
// ibProArcade
if($_POST['module'] == "pnFlashGames")
{
        require_once('./global.php');

        switch($_POST['func'])
        {
                case "storeScore":
                $_GET['act'] = "Arcade";
                $_GET['module'] = "arcade";
                $_GET['do'] = "pnFStoreScore";
                break;

                case "saveGame":
                $_GET['do'] = "pnFSaveGame";
                break;

                case "loadGame":
                $_GET['do'] = "pnFLoadGame";
                break;

                case "loadGameScores":
                $gid = $vbulletin->input->clean_gpc('p', 'gid', TYPE_INT);
                $uid= $vbulletin->userinfo['userid'];
                $game = $db->query_first("SELECT * FROM " . TABLE_PREFIX . "games_scores WHERE mid=$uid AND gid = $gid ORDER BY score DESC LIMIT 0,1");
                $scores = $game[score];

                if($scores != false)
                {
                        //Return true
                        print "&opSuccess=true&gameScores=$scores&endvar=1"; //send endvar to keep opSuccess separate from all other output from PostNuke
                }
                else
                {
                        print "&opSuccess=false&error=Error&endvar=1";
                }
                break;
        }
}

$act = $_GET[act];
$autocom = $_GET[autocom];
$showuser= $_GET[showuser];
if($act == "Arcade" || $autocom=="arcade") {
include "arcade.php";
exit();
}
if(!empty($showuser) && $showuser >= 1) {
$u = $showuser;
$_GET[u] = $showuser;
include "member.php";
exit();
}

// end of ibProArcade
----------------------------------------------------------


Otherwise your scores won't be recorded :)


nick-harper 07-29-2010 12:32 PM

I am also getting this error :(

I am using vBulletin 4

Dragonsys 07-30-2010 02:04 PM

Quote:

Originally Posted by Hippy (Post 2076022)
Just tested those games and I get the same error
but the added games I don't get that message..

any of you have any other games installed besides the default ones ?

and as someeone stated the score still saves on those..

the edit Dragonsys
is

I only have the games installed.
Thanks for the edit, but...

Code:

If you are using vbAdvanced Portal and your /index.php is not the original one from vBulletin,
My index.php is the original vbulletin one.

Hippy 07-30-2010 08:02 PM

again.

People been having problems since vb starting using the forum.php

the index.php is still there as well but its kind of like a redirect..

unless in your admincp you have index set in the option> Forums Home Page Options
(This option allows you to set the script name of the page that acts as your forum home page. By default this will be 'forum' (meaning forum.php but you may want to call it whatever else you like for your own purposes.

If you change this value you must manually rename the forumhome PHP script to match the new value.)

admincp > arcade > information youll see this notice
Notice:
Your forum's mainpage is forum.php - please make sure to adapt your /index.php otherwise scores won't be recorded!
You will find detailed instructions in the ibProArcade-archive: INFO - vbadvanced or other Portal.txt

Dragonsys 07-31-2010 04:16 PM

Quote:

Originally Posted by Hippy (Post 2076955)
again.

People been having problems since vb starting using the forum.php

the index.php is still there as well but its kind of like a redirect..

unless in your admincp you have index set in the option> Forums Home Page Options
(This option allows you to set the script name of the page that acts as your forum home page. By default this will be 'forum' (meaning forum.php but you may want to call it whatever else you like for your own purposes.

If you change this value you must manually rename the forumhome PHP script to match the new value.)



admincp > arcade > information youll see this notice
Notice:
Your forum's mainpage is forum.php - please make sure to adapt your /index.php otherwise scores won't be recorded!
You will find detailed instructions in the ibProArcade-archive: INFO - vbadvanced or other Portal.txt

option> Forums Home Page Options - This is set to index (as it has always been)
admincp > arcade > information - No notice
I will try the index edit posted above, but I ask, how was I supposed to know about this edit when it is not in the install procedure document? I would not have looked in any kind of portal related info, since I do not use a portal.

Hippy 07-31-2010 06:23 PM

you need to test other games then..
Like I said before ..those games I get the same error but any other the ones I install don't .

the edit above it for the score not saving ..
if your score is saving then that will do nothing for you.
and this edit is in the install procedure document.

I use abvanced and I have no issues, never had to use this edit .
I have a test board that is using forum.php and I had to do the edit to save score , unless I change Forums Home Page Options

But my dir's are 777... you stated your dir's are 755, I am guessing this is your problem

geebee 01-15-2011 02:56 AM

Has there ultimately even been a resolution to this? Just installed 2.7.0 and I am getting this message after my game. The only two tested thus far have been Snake and Asteroids.

the /arcade folder is set to 777 and i have tried the forum.php suggestion with no success..

Digital Jedi 01-15-2011 03:23 AM

Check to see if you even have a table named _games in your database. If not, you may need to re-import the product.


All times are GMT. The time now is 01:50 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.01070 seconds
  • Memory Usage 1,750KB
  • 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_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete