Log in

View Full Version : Cannot modify header information


Kirkus
09-08-2007, 01:59 PM
I'm using vBulletin 3.6.8. All arcade.php pages are fine except when a game page is clicked on. The game comes up just fine, but at the top of the game page are the following errors. Can someone please help me? Thank you.


Warning: Cannot modify header information - headers already sent by (output started at /PATH/public_html/forum/arcade/lang/lang_Arcade_en.php:1787) in /arcade.php on line 5309

Warning: Cannot modify header information - headers already sent by (output started at /PATH/public_html/forum/arcade/lang/lang_Arcade_en.php:1787) in /arcade.php on line 5311

Warning: Cannot modify header information - headers already sent by (output started at /PATH/public_html/forum/arcade/lang/lang_Arcade_en.php:1787) in /arcade.php on line 5313

Warning: Cannot modify header information - headers already sent by (output started at /PATH/public_html/forum/arcade/lang/lang_Arcade_en.php:1787) in /arcade.php on line 5315




I've discovered if I comment out the following from ARCADE.php

setcookie('gidstarted', '', time() - 3600);

setcookie('gidstarted',$id);

setcookie('tidstarted', '', time() - 3600);

setcookie('gpstarted', time());



the errors disappear. But how necessary are these four lines of code?


It's also frustrating that I'm not receiving a reply. I asked for help with this problem in this thread: https://vborg.vbsupport.ru/showthread.php?p=1333982#post1333982 where it sat ignored for more than three days. Is the same going to happen here?

MortysTW
09-10-2007, 12:57 PM
Untwist the panties. There is really only MrZeropage supporting this mod and I think he does an awesome job considering he's got other more life altering things going on besides this arcade.

I'm no wizard, but I try and help out when I have the answer or maybe help steer some one the right direction.

To me, it appears those tables are missing in your db.

I assume you have reup'd your arcade files to assure you have the latest and greatest, and I'd run the product again so that it may possibly rebuild any tables or rows missing in your db.

And also, in your AdminCP>Arcade>Arcade Main Settings in the second drop down list from the top, you do have "english" chosen correct? Since it appears your arcade is looking for the english lang file?

Let me know and any additional info or links, I'll try to help you out a bit. Again, I'm no wiz, but I've been enjoying this wonderful mod for some time now and thank MrZeropage dearly for his efforts.

Kirkus
09-10-2007, 03:39 PM
Untwist the panties.

LOL. My panties really weren't twisted, just wrinkled a bit. But surely you can understand the frustration. I completely accept how real life gets in the way of the fun stuff. And the work MrZeropage puts into this is obvious... and appreciated. It wasn't my intention to tick anyone off. If I did, my apology.

This is an upgrade from vB 3.6.5 to 3.6.8, and ibProAcade 2.6.1 to 2.6.3+. Had no problems with the previous older versions running together. I'm also using vBadvanced, but I've taken it out of the equation and these errors still appear, so I'm sure it's not causing the problem

Anyway, I'll run through your suggestions. Thank you, MortysTW for your help.

MortysTW
09-10-2007, 05:01 PM
No problem. I wasn't upset. Just tossing a reminder out there about how the universe revolves around more than one of us at the same time.

And yes, I understand the frustrations. Part of why I replied. People get used to a "team" of supporters or expect the vb team to be replying when they actually stay out of these parts of the forums to a degree when it comes to support since it is a mod that they didn't create.

Back to your thing though. If you got glitches, delete the actual hard files of the arcade. Not your games, but the various .php files and upload new fresh ones. Sometimes a fresh dump and reload works better than an "overwrite". Run the product again making sure to check the YES,OVERWRITE FILES option when adding the product and go from there.

Kirkus
09-11-2007, 01:12 AM
Well that could've gone better. LOL.

I deleted the hard files and reuploaded, then re-ran the product again as suggested. Not only were the original errors showing on the games pages, but I also started receiving the "getimgsize" errors on the main arcade page (as listed elsewhere on the support forum).

I thought, "this is silly". I don't have many games (39) and I'll bet if I just remove the entire hack and just reinstall it all from scratch, that might fix whatever's hanging on creating these errors. So I did so. Using the install directions, I just worked backwards. I even reverted the templates to there post-arcade forms. I checked the database using phpMyAdmin and was going to drop any tables that had to do with the arcade, but couldn't see any that were obvious, so I left the database as is.

After completely reinstalling everything from scratch, the original error (warning) messages are still present (the "getimgsize" errors are gone), and now the games that came with the package won't load. I tried reinstalling a game (.tar) that I had and it installed fine, but like the others it won't load.

I'm going to download and install a new game that's never been in my database and see if it works. I think because I didn't remove anything from the database, my brilliant reinstall idea may be screwing things up. If the new game works, I'll know that's probably the case.

Sorry for being so long-winded...

Fortunately I'm doing all this on a test forum before upgrading to vB 3.6.8 and upgrading the hacks I have installed. So it's not like this is messing up my production forum.

Thank you, MortysTW for helping me with this. After I get the new game installed and see if it works. I'll post again here.

Whew!

MortysTW
09-12-2007, 12:24 PM
Wow. None of those issues should have taken place. Sounds like the db might be a little mangled.

Go back into your phpMyAdmin and do a SELECT ALL, making sure you are looking at ALL the tables. Not just the first 30 listed, and at the bottom should be a drop down list. Choose REPAIR.

Your phpMyAdmin will run for a sec or to. You'll get a few tables that get a comment about "This table blah blah blah....." Just ignore those.

Then do a select all again, and choose OPTIMIZE. Again, it will run through and you'll get those same few comments.

Not sure if this will help your current issue, but if anything it will clean up and benefit your db, regardless of the arcade tables that were added.

Kirkus
09-13-2007, 04:59 AM
Thank you again MortysTW for your help.

I did the REPAIR and OPTIMIZE as you suggested, but that didn't help.

I finally gave up. LOL.

I reinstalled my test forum, upgraded to vB 3.6.8 and vBAdvanced 2.0RC2. But I stopped short of updating ibProArcade. If I don't update to the newest version of ibPA (but stay at 2.6.1) I don't receive any errors.

Must be something with vB 3.6.8, vBAdvanced 2.0 and ibPA 2.6.3, or a combination of the 3.

Anyway, your help is appreciated. And my apologies to those who might be reading this thread looking for an answer.

BTW, if this could be figured out, I'd like to keep my arcade current.

Maybe when MrZeropage as a spare couple of minutes :D he can look into it.

MortysTW
09-13-2007, 12:57 PM
I have the same installs as you.

Got many mods installed on your site? Can you list them out?

MrZeropage
09-13-2007, 07:16 PM
I guess you should check your ARCADE template and maybe re-upload the /arcade/lang/ directory.

It makes no sense to comment those "setcookie" lines, and guestplay won't work anymore doing this.

You are surely running ibProArcade v2.6.3+ ?

Kirkus
09-14-2007, 04:04 AM
Thank MrZeropage for jumping in on this. I went ahead and upgraded to ibPA 2.6.3 and am once again getting the same errors as listed above. Only on the individual game pages.

Here's a screenshot of what I have installed.

MortysTW
09-14-2007, 12:30 PM
Just for the heck of it, try turning OFF, but not DELETING. Just "INACTIVATING" your Welcome Headers and your EWT Spider Tracking. I know they are unrelated, but it might be tossing your cookies out on the floor and jumping up and down on them like a red headed step child throwing a fit.

Turn those off, close your browsers, reopen them, and see what happens.

Also, I assume you've viewed your site with BOTH IE & FireFox? Always good to verify issues are occuring on both platforms when troubleshooting. Helps funnel the issues to a solution.

Kirkus
09-14-2007, 07:20 PM
Did all suggestions. Disabled both hacks and checked on IE and FF.

No change. :(



Here's a question. Could it be related to a Domain Name difference? My test forum is running on a difference domain name than my production forum. I moved a copy of my forum to this new domain for testing. I have checked to make sure all instances of the domain name are changed to reflect where the testing server is... but could there be something hidden somewhere that might be causing this?

MortysTW
09-15-2007, 04:03 PM
Well, gonna have to let MrZ think about that one. I'm not sure. Only thing in my head is that its affecting another mod that might be tweaking things.

Since its a test forum, why not UN-INSTALL those other mods? I dunno. Running out of ideas here on the table tennis..

Kirkus
09-15-2007, 07:01 PM
Well, gonna have to let MrZ think about that one. I'm not sure. Only thing in my head is that its affecting another mod that might be tweaking things.

Since its a test forum, why not UN-INSTALL those other mods? I dunno. Running out of ideas here on the table tennis..

I hear ya, MortysTW. :)

It has to be something with my particular set up. There's only one other person on the forum that's mentioned this, so it's definitely not a wide spread thing. No worries. I'll just run the older version of the arcade on my production forum.

Maybe MrZ can have a look at some point in the future.

I really appreciate your help, MortysTW.

MrZeropage
09-16-2007, 10:37 AM
don't have an idea, must be related to anything about templates and html-output...

deactivated "mini navbar" and "welcome headers" ?

Kirkus
09-20-2007, 12:58 AM
I deactivated "mini navbar" and "welcome headers". No change. I even went so far as to deactivate everything I had installed, including vbadvanced. Still no change.

Very odd.

MrZeropage
09-22-2007, 01:23 PM
tried the vB-default-style ? with unchanged templates ?

Kirkus
09-26-2007, 04:24 AM
Finally!

Who would've thought? When I did my upgrade to vB 3.6.8, etc., I uploaded all my files using my Mac. On a whim from the past, I recently re-uploaded all non-image files for my entire site using Windows. Not only are the header errors gone from my arcade pages, but I'm keeping my fingers crossed that several other problems have been fixed.

I'd had this problem many years ago with a different forum, but it's not been a problem until this upgrade.

Not sure why it's popped up again now.

My thanks to MortysTW and MrZeropage for your attempts at helping me to troubleshoot this. Really... thank you both very much.

MortysTW
09-26-2007, 12:52 PM
Finally!

Who would've thought? When I did my upgrade to vB 3.6.8, etc., I uploaded all my files using my Mac. On a whim from the past, I recently re-uploaded all non-image files for my entire site using Windows. Not only are the header errors gone from my arcade pages, but I'm keeping my fingers crossed that several other problems have been fixed.

I'd had this problem many years ago with a different forum, but it's not been a problem until this upgrade.

Not sure why it's popped up again now.

My thanks to MortysTW and MrZeropage for your attempts at helping me to troubleshoot this. Really... thank you both very much.

Do a search for LeachFTP and use that. It automatically flips between ascii and binary without you needing to know when to do what with what. That may have been the issue and wasn't so much a Mac/Windows thing as much as Mac had a default and Windows had a default which was opposite. Just a thought. Either way, glad you are working. Sorry I couldn't think of a solution quicker.