vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   ERROR Installing New Games (https://vborg.vbsupport.ru/showthread.php?t=160746)

bigevil 10-21-2007 05:44 PM

ERROR Installing New Games
 
I keep getting this error trying to install any new games as well as old games... This occured only after I updated from 2.6.3a+ to 2.6.5+. I have listed the error code below.

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


Any ideas what is doing this? I have tried reinstalling and I have also uploaded the new XML fix.

phatguy88 10-21-2007 06:58 PM

same error here too

bigevil 10-21-2007 07:20 PM

Along with the Warning Error I listed below this is also listed in a box below the log.

Error in TAR-Archive. Please upload again.

--------------- Added [DATE]1193009792[/DATE] at [TIME]1193009792[/TIME] ---------------

Here is the solution to this problem. You need to open up the tar.php file within your website/forums/arcade/functions folder. I have posted the fix as well as the link to the thread where I found the solution at.

Find:
Code:

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

var $tar_unpack_header = 'a100filename/a8mode/a8uid/a8gid/a12size/a12mtime/a8chksum/a1typeflag/a100linkname/a6magic/a2version/a32uname/a32gname/a8devmajor/a8devminor/a155';
The link to the thread is below...

http://www.ibpdownloads.com/ipb/inde...pic=12629&st=0

PurpleButterfly 10-27-2007 05:28 AM

Thank you SO much! :D

pedroenf 10-28-2007 05:26 PM

It works, great! Thanks for this solution. However it still shows this message:

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

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

GrendelKhan{TSU 11-02-2007 10:49 AM

woot! thanks! :D :D

no mods 11-03-2007 01:53 AM

Thanks a bunch big, fixed it right up.

popowich 11-12-2007 12:09 AM

Thanks for the help, fixed the problem for me too.

-Raymond

neopet001 11-16-2007 11:18 AM

Same problem here.
Fixed, thank you

MrZeropage 11-16-2007 05:30 PM

this fix is now part of upcoming v2.6.6+ :)


All times are GMT. The time now is 11:25 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.01034 seconds
  • Memory Usage 1,728KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete