vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   ERROR: During install New game after upgrade (https://vborg.vbsupport.ru/showthread.php?t=159586)

Zia 10-06-2007 06:09 AM

ERROR: During install New game after upgrade
 
Hello..
we have just upgrade ibproarcade to 2.6.4+
afte upgrade to the new relase, we are facing roblem during install new game...
[we never faced it b4]

Error msg shown as bellow :
Quote:

Warning: unpack() [function.unpack]: Invalid format type p in /arcade/functions/tar.php on line 750

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /arcade/functions/tar.php on line 794
how to solve it?

tinkerbell 10-07-2007 03:53 PM

I have one of the two errors above

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

I am using:
  • vbulletin 3.6.8,
  • vBadvanced CMPS v3.0 RC1
  • ibProArcade v2.6.3+

and don't want to upgrade until I know what is causing this. Any advice?

Tinks

Zia 10-08-2007 05:18 AM

helo..any one to help ????

Gemma 10-08-2007 06:01 PM

Open arcade/functions/tar.php and find:

Code:

var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155/prefix';
Replace it wit:

Code:

var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155';
That should remove this error.

Code:

Warning: unpack() [function.unpack]: Invalid format type p in /arcade/functions/tar.php on line 750
Code:

Warning: fread() [function.fread]: Length parameter must be greater than 0 in /arcade/functions/tar.php on line 794
The above error isn't really anything to worry about,it's more than likely to do wit how individual games converters pack their tar files,the games should upload ok if you make the edit to the tar.php file

tinkerbell 10-08-2007 08:29 PM

Thank you Gemma,

I made the edit now fingers crossed. For me I only had the second error that was mentioned and even though it still showed up it didn't remain on that page but moved on itself, unlike before. Only usage in the arcade will tell but I have about half a dozen with the warning circle on the games list and for each of them it appears to be that error

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

that causes it. The games still play so i mainly ignore it.

Thanks again for replying. :D
Tinks

Zia 10-23-2007 05:23 AM

really weird..

after upgrade to 2.6.5+ the probs came back..same probs

whats going on ?


All times are GMT. The time now is 01:06 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.01143 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
  • (4)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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