Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > Premium Archives > ibProArcade Archive
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
ERROR Installing New Games Details »»
ERROR Installing New Games
Version: , by bigevil bigevil is offline
Developer Last Online: Dec 2011 Show Printable Version Email this Page

Version: Unknown Rating:
Released: 10-21-2007 Last Update: Never Installs: 0
 
No support by the author.

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.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #12  
Old 11-27-2007, 01:40 AM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pedroenf View Post
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





Quote:
Originally Posted by MrZeropage View Post
this fix is now part of upcoming v2.6.6+


Does that include a fix for the other error? Or is that something else?

Quote:
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
Reply With Quote
  #13  
Old 11-30-2007, 06:15 PM
o0Hubba0o's Avatar
o0Hubba0o o0Hubba0o is offline
 
Join Date: Mar 2005
Location: Minnesota
Posts: 263
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The games seem to install fine, but I don't like getting these warnings when I install, any solution as of yet?

Quote:
Warning: fread() [function.fread]: Length parameter must be greater than 0. in /arcade/functions/tar.php on line 794
Reply With Quote
  #14  
Old 01-23-2008, 08:18 AM
Edster Edster is offline
 
Join Date: Mar 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That worked great. Thanks very much.
Reply With Quote
  #15  
Old 01-23-2008, 05:24 PM
MrZeropage's Avatar
MrZeropage MrZeropage is offline
 
Join Date: Nov 2003
Location: Munich, Germany
Posts: 3,012
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by o0Hubba0o View Post
The games seem to install fine, but I don't like getting these warnings when I install, any solution as of yet?
no solution needed, this is normal behaviour
Reply With Quote
  #16  
Old 01-26-2008, 02:45 AM
DustyJoe DustyJoe is offline
 
Join Date: Dec 2007
Posts: 23
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit:

nevermind
Reply With Quote
  #17  
Old 04-22-2008, 04:31 AM
Emarkay Emarkay is offline
 
Join Date: Nov 2007
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I tried copy pasting the earlier fix, didn't work. All you need to do is remove one of the "a8devminor" and the "prefix".

Quote:
This is the solution:

Open /arcade/functions/tar.php

edit the line :

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

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

in simple english, remove the /prefix that gives the error

I did that and everything works fine, on both www.yourforum.gr ( IPB 2.0.4 + Cyber's MOD Arcade ) & www.invisiongames.org ( 2.1.7 + ipbcoding.com Arcade 6.1.0 )

The issue is not the arcade but the TAR unpacker
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04462 seconds
  • Memory Usage 2,266KB
  • Queries Executed 21 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_code
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (6)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete