vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   help with install error (https://vborg.vbsupport.ru/showthread.php?t=141625)

dieseltec 03-10-2007 06:57 AM

help with install error
 
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 Code:

<?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

Quote:

Originally Posted by dieseltec (Post 1200918)
Many thx for you help. one last thing were does the which folder does the game php file go in

The .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.


All times are GMT. The time now is 04:11 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.01507 seconds
  • Memory Usage 1,724KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (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