Log in

View Full Version : help with install error


dieseltec
03-10-2007, 06:57 AM
First off all a Big Hello to all nice site

Pls Help i have vBulletin 3.6.5 with ibproArcade 2.6.1+ added
i have just uploaded a few games and all ok. But there are a few games that i would really like one of them being darts301Ste.tar once uploaded and then go to the install it comes back with this error

Warning: fread(): Length parameter must be greater than 0. in /arcade/functions/tar.php on line 794

Warning: fread(): Length parameter must be greater than 0. in /arcade/functions/tar.php on line 794

Parse error: parse error, unexpected ';', expecting ')' in /hsphere/local/home/*******/extremedgameing-uk.com/arcade/tmp/darts301Ste.php on line 20

does this on a few games i would be very Greatfull for any help with this
thx in Advance
dieseltec

Kacela
03-10-2007, 09:49 AM
For this one, it looks like there is something wrong with the games accompanying .php file. Within the .tar archive of the game are at least 4 files, the .swf of the game itself, 2 .gif images, and a .php file that dictates the installation parameters and game values. Here is an example .php file:
<?php

$config = array(

gname => 'double-wiresKAC',
gtitle => 'Double Wires',
bgcolor => '330099',
gwidth => '550',
gheight => '400',
active => '1',
gcat => '1',

//optional leave blank if not using
gwords => "Spiderman Stickman!",
object => "Swing as far and as often as you can. Aim with the mouse and left-click to shoot your swinging wire. The wire will anchor exactly where you click. ***SET DECIMAL PLACE TO 2*** Author's site: http://ishi.blog2.fc2.com/",
gkeys => "Mouse",

);?>The error your getting seems to indicate some syntax error within, or the the absence itself of the games .php file. My advice is to just manually install the game by un-tarring it locally, then uploading the .swf file to the /arcade/ directory, the two .gif images to the /arcade/images/ directory, and manually add the game throught the Arcades ACP.

dieseltec
03-11-2007, 04:12 PM
Many thx for you help. one last thing were does the which folder does the game php file go in

Kacela
03-13-2007, 01:11 PM
Many thx for you help. one last thing were does the which folder does the game php file go inThe .php file that accompanies the game doesn't actually get installed - it basically tells the installer how the game should be installed and what it should look like. If you were to manually install the game, by copying the .swf to the /arcade directory, and the 2 .gif files to the /arcade/images directory - you could take the information from the .php file and manually add the game. It has all the information you need.