MyBB Community Forums

Full Version: Game Section
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You wouldn't need to learn anything. Just use the windows client for Apache.
Mark.M you mean like wamp but already have php and mysql installed some one told me it would mess up my localhost running both servers and i know IIS better then Apache i have never even installed it befor
Now I am really con fused Huh Live site when i install game i get 500 error but it installs any how, my laptop set up a test and i get a "Warning [2] Invalid argument supplied foreach() - line 542 - File C:\inetpup\wwwroot\Mybb1.4\admin\inc\class_page.php PHP 5.3.1 (Winnt)" now for the hell of it i went to my godaddy had a domain name with free webspace setup another clean 1.4.11 and the newest game plugin and it worked

Now if i could find the differnce between the 3 id be set all are windows host
1. godaddy there is read write on admin/games, arcade, games php 5.2.5
2. Laptop has modify on admin/games, arcade, games Application pool identity php 5.3.1
3. live site has modify on admin/games, arcade, games Application pool identity php 5.3.1 RC 1 x64

If some could help id like that very much
I decied i would try Firefox instead of IE 8 and i get this error
PHP Fatal error: require_once(): Failed opening required 'C:\inetpub\wwwroot\bulletinboard/inc/db_.php' (include_path='.;c:\php\includes') in C:\inetpub\wwwroot\bulletinboard\inc\functions.php on line 164
Where as with IE 8 I would get the 500 error
Can you post line 164 and three lines above and below,
(2010-01-06, 10:05 PM)Mark.M Wrote: [ -> ]Can you post line 164 and three lines above and below,

Sure one sec
	// If our DB has been deconstructed already (bad PHP 5.2.0), reconstruct
	if(!is_object($db))
	{
		if(!isset($config))
		{
			require MYBB_ROOT."inc/config.php";
		}
		
		if(isset($config))
		{
			require_once MYBB_ROOT."inc/db_".$config['database']['type'].".php";
			switch($config['database']['type'])
			{
				case "sqlite3":
					$db = new DB_SQLite3;
					break;
				case "sqlite2":
					$db = new DB_SQLite2;
					break;
				case "pgsql":
					$db = new DB_PgSQL;
					break;
				case "mysqli":
					$db = new DB_MySQLi;
					break;
				default:
					$db = new DB_MySQL;
			}
			
			
			$db->connect($config['database']);
			define("TABLE_PREFIX", $config['database']['table_prefix']);
			$db->set_table_prefix(TABLE_PREFIX);
		}
	}

this is line 164
require_once MYBB_ROOT."inc/db_".$config['database']['type'].".php";
I posted the whole section to the next //
Will the Game Section be updated for 1.6?
I personally doubt it. He seems to busy to update it, so it if does, you will have to wait a little.
Ok I found out that MyBB 1.4.09 and game section (games1.2RC2.1) work fine

On my IIs 7.5 and Php 5.3.1 Rc 1 x64

As soon as i upgrade to MyBB 1.4.11 my 500 error comes back going to try and update game section on mybb 1.4.09 to games1.2RC3.2 see if that still works
So MyBB 1.4.09 and the gamesection games1.2RC3.2 work still on my IIS
So MyBB 1.4.10 and the gamesection games1.2RC3.2 DO NOT WORK on my IIS

So what ever changed in mybb 1.4.10 and on is messing up My gamesection

My Problam is with the class_core.php if i move the class_core.php from 1.4.09 into 1.4.11 my gamesection works again

So how would i fix this
Look at the changes between 1.4.11 and 1.4.9, and see what it is.