vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   ibProArcade Archive (https://vborg.vbsupport.ru/forumdisplay.php?f=174)
-   -   Error on Install - New Server (https://vborg.vbsupport.ru/showthread.php?t=158909)

ScottRowan 09-28-2007 07:05 PM

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

MortysTW 09-28-2007 08:00 PM

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.

The Librarian 09-28-2007 10:42 PM

Quote:

Originally Posted by MortysTW (Post 1349063)
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? :)

MortysTW 09-30-2007 05:07 AM

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. :)

The Librarian 10-01-2007 03:09 AM

Quote:

Originally Posted by MortysTW (Post 1349997)
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! :D

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!!! :D :D :D

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. :D


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.

MortysTW 10-01-2007 12:23 PM

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!)

The Librarian 10-01-2007 12:34 PM

Quote:

Originally Posted by MortysTW (Post 1350735)
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 (Post 1350735)
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!)

:D 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. ;) :D

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!

MortysTW 10-01-2007 03:52 PM

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.

Antonio Pereira 10-05-2007 09:23 AM

Quote:

Originally Posted by The Librarian (Post 1350585)
UPDATE: And a bit of GOOD, Yes, Morty - GOOD news! :D

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

stangger5 10-05-2007 09:39 AM

Quote:

Originally Posted by The Librarian (Post 1350585)
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..;)


All times are GMT. The time now is 08:30 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.01222 seconds
  • Memory Usage 1,761KB
  • 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
  • (5)bbcode_code_printable
  • (7)bbcode_quote_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