View Full Version : 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 :
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
helo..any one to help ????
Gemma
10-08-2007, 06:01 PM
Open arcade/functions/tar.php and find:
var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155/prefix';
Replace it wit:
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.
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
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
really weird..
after upgrade to 2.6.5+ the probs came back..same probs
whats going on ?
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.