Log in

View Full Version : [HELP] - Installing From .tar Files


BatMNet
01-18-2008, 04:34 AM
Hi there I have just spent the last hour uploading 90MB worth of games.. Now I can't install them and get:

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

When I try to install... EVERY GAME... Is there a fix for this?

I'm running 3.7 B3

Freesteyelz
01-18-2008, 06:12 AM
MrZeropage has fixed this issue in 2.6.6+. Until that version comes out you can temporarily fix the problem by:

In arcade/functions/tar.php find:


var $tar_unpack_header =



At the end of that line you'll see:


'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155/prefix';



Remove the red then save.

BatMNet
01-18-2008, 06:46 AM
Seems they all installed 54/54 ... BUT... EVERY one came up with this error also.. HOWEVER they did install... Will they be safe for use?

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

Freesteyelz
01-18-2008, 12:05 PM
I don't see why it wouldn't be safe. I don't get that specific error, however.

Glynn58
01-18-2008, 01:35 PM
MrZeropage has fixed this issue in 2.6.6+. Until that version comes out you can temporarily fix the problem by:

In arcade/functions/tar.php find:


var $tar_unpack_header =



At the end of that line you'll see:


'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155/prefix';



Remove the red then save.

Thanks worked for me, now i can get some games up :up:

MrZeropage
01-18-2008, 04:12 PM
Seems they all installed 54/54 ... BUT... EVERY one came up with this error also.. HOWEVER they did install... Will they be safe for use?

This is normal behaviour as the archives include one zero-byte-file, but no matter, everything fine with it :)