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 on Install - New Server Details »»
Error on Install - New Server
Version: , by The Librarian The Librarian is offline
Developer Last Online: Apr 2016 Show Printable Version Email this Page

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

I just moved to a new server. Today is the first day since the move that I've attempted to install a new game.

I uploaded the games as usual - same as I'd been doing before the move.

On install I got this:

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
NOTE: These are games I had previously uploaded and tested on my test site. They worked fine then.

My conclusion is that it must have something to do with the new server, but I don't know what.

Any ideas?

Show Your Support

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

Comments
  #12  
Old 09-28-2007, 07:05 PM
ScottRowan ScottRowan is offline
 
Join Date: May 2007
Location: Glasgow, Scotland
Posts: 164
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok,

I mean I dont really want to convert I just want this error fixed.

I dont know why its doing it I never changed anything in template or settings, its like it just stopped :S
Reply With Quote
  #13  
Old 09-28-2007, 08:00 PM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Upgrade! You say you are using an older version. Upgrade. See if that fixes the errors.

Newer versions come out because bugs are found over time and things are tweaked, sorted, hammered, and hopefully fixed with time.

If you are still out of luck after you have followed the upgrade instructions, PM me with your FTP user/pass and also your AdminCP user/pass and I'll take a look. But this is after you have upgraded with no luck.
Reply With Quote
  #14  
Old 09-28-2007, 10:42 PM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MortysTW View Post
Probably a good idea.
Alright Morty, I tried re-loading the product and that didn't work. So I reloaded ALL the files, overwriting EVERYTHING and then re-loading the product and that didn't work. So I told the Product Manager to delete the product and THEN re-loaded and it still didn't work.

Same error message everytime.

I'm still wondering if it could be something with my new host so I compared cPanel info. Here are the differences:

OLD kernel version 2.6.17.11-grsechg -- NEW kernel version 2.6.9-023stab044.4-enterprise
OLD php version 5.2.3 -- NEW php version 5.2.4
OLD cPanel Build 11.10.0-STABLE 16448 -- NEW cPanel Build 11.11.0-RELEASE 16983

Everything else is the same.


Any new ideas?
Reply With Quote
  #15  
Old 09-30-2007, 05:07 AM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Alright, I know you said you OVERWROTE everything by re-uploading. For whatever reason, I've come to find when helping others around here, that things don't always get overwritten.

All the .php extension files that are in the /arcade/ directory should be deleted. THen deleted the arcade.php that is in your forum root /forum/arcade.php

Once you've deleted those, then go back and upload the php files like you just did.

I know it sounds stupid, but its been the solution for my issues in the past and some others that I've helped. Maybe we can break this curse of yours.
Reply With Quote
  #16  
Old 10-01-2007, 03:09 AM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MortysTW View Post
Alright, I know you said you OVERWROTE everything by re-uploading. For whatever reason, I've come to find when helping others around here, that things don't always get overwritten.

All the .php extension files that are in the /arcade/ directory should be deleted. THen deleted the arcade.php that is in your forum root /forum/arcade.php

Once you've deleted those, then go back and upload the php files like you just did.

I know it sounds stupid, but its been the solution for my issues in the past and some others that I've helped. Maybe we can break this curse of yours.
UPDATE: And a bit of GOOD, Yes, Morty - GOOD news!

What you suggested didn't work. Sorry. I tried deleting everything and re-installing, but it still didn't work...

So I googled a bit and found THIS

which I tried on my test forum and IT WORKED!!!! YIPPEEE!!!

The games install. HOWEVER, I still am getting this error:
Quote:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /arcade/functions/tar.php on line 794
But the other error which stopped installation completely can be solved by doing this:

~~~~~~~~~~~~~~~~~~quote from NickTheGreek at ibpdownloads.com~~~~~~~~~~
This is the solution:

Open the /tar.php file

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.

~~~~~~~~~~~~~end of Nick's post~~~~~~~~~~~~~~

So thank you Nick, and thank you Google...

and thank you Morty for trying.

At least that problem is solved.


I'm still going to keep looking for a solution for this:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /arcade/functions/tar.php on line 794

I did find this: http://pear.php.net/bugs/bug.php?id=4896

I can't tell if they're talking about the same thing though.
Reply With Quote
  #17  
Old 10-01-2007, 12:23 PM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Interesting find. Hopefully MrZ reads your findings.

And as for the template thingy, sounds like the error message could just be removed. Not sure where to find that message though. But don't delete the message if you do find it in the code, just block it out by putting //// infront of it on that line item.

Maybe its a line item in arcade.php, maybe tar.php.

Search your files for the phrase of: fread()

I'd go do it myself, but bit busy finishing things up at work so I can get out of this place and go get married. (WHAT AN IDIOT!)
Reply With Quote
  #18  
Old 10-01-2007, 12:34 PM
The Librarian's Avatar
The Librarian The Librarian is offline
 
Join Date: Dec 2006
Posts: 79
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by MortysTW View Post
Interesting find. Hopefully MrZ reads your findings.

And as for the template thingy, sounds like the error message could just be removed. Not sure where to find that message though. But don't delete the message if you do find it in the code, just block it out by putting //// infront of it on that line item.

Maybe its a line item in arcade.php, maybe tar.php.

Search your files for the phrase of: fread()
I'll take a look and see if I can find it, thanks.

Quote:
Originally Posted by MortysTW View Post
I'd go do it myself, but bit busy finishing things up at work so I can get out of this place and go get married. (WHAT AN IDIOT!)
Congratulations!!! You're not an idiot! LOL I'm sure she's a lucky lady. Marriage can be great if you're willing to hold on through the good times and the bad. Just be as patient with her as you have been with me and you'll be fine.

Best wishes for a wonderful future together!

--------------- Added at 08:48 ---------------

Ok... didn't find fread() in any file anywhere. The word fread is in the tar.php but not with empty parentheses.

However, there is this bit of code:
Code:
	
		while (!feof($FH)) {
		
			$buffer = fread( $FH , $this->tar_header_length );
			
			// check the block
			
			$checksum = 0;
I think this could be the place because it mentions length.

I know you've got to go get married, so this is low priority. I'm just pasting it here for when you have a chance or if Mr. Z or someone else has any ideas. I hate to mess with this unless I'm sure it won't mess things up worse than ever.

Thanks!
Reply With Quote
  #19  
Old 10-01-2007, 03:52 PM
MortysTW MortysTW is offline
 
Join Date: Mar 2005
Location: Southern CA, USA
Posts: 272
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

haha, ya, this is actually my 2nd. First was the mistake, this one isn't. Looking forward to my future.

As for your thing, if it were my forum, I would play around and silence those lines of code for testing purposes. Something I do when I haven't a clue what I'm doing but find something interesting.

Being that I don't have any further answers to help you, I don't want to suggest you doing this.

MrZeropage is going to have to handle this one unfortunetly.
Reply With Quote
  #20  
Old 10-05-2007, 09:23 AM
Antonio Pereira Antonio Pereira is offline
 
Join Date: Sep 2007
Posts: 104
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Librarian View Post
UPDATE: And a bit of GOOD, Yes, Morty - GOOD news!

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';
Yes works for me to.

Thanks and i think they can resolve this bug in next release.


Best Regards
Reply With Quote
  #21  
Old 10-05-2007, 09:39 AM
stangger5's Avatar
stangger5 stangger5 is offline
 
Join Date: Jan 2005
Location: Online
Posts: 1,130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by The Librarian View Post
I'm still going to keep looking for a solution for this:
Warning: fread() [function.fread]: Length parameter must be greater than 0 in /arcade/functions/tar.php on line 794
Dont worry about that error,,your games will still install and work fine..
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 01:25 AM.


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.04892 seconds
  • Memory Usage 2,325KB
  • Queries Executed 27 (?)
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
  • (5)bbcode_code
  • (8)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
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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_postinfo_query
  • fetch_postinfo
  • 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