Cannot modify header info

Put your EQRoster related questions/feedback/requests in here...
Forum rules
All the forums on this site are meant for either general or game specific discussions/questions/feedback.
This is NOT the place for spam, flames or fighting, and posts that don't follow this simple rule will be removed by the board moderator(s).

Enjoy our games, utils, tools and these forums...
Worff
Posts: 20
Joined: Wed Aug 08, 2007 11:04

Cannot modify header info

Postby Worff » Sat Jun 28, 2008 14:45

EQRoster version: 4.3.2

PHP version: 4.4.6

MySQL Version: 4.1.22-standard-log

URL to roster: http://www.tribalfury.org/eqroster
====================================

This is a very minor issue, everything seems to work just fine, it only happens when logging in. When I log in the following message briefly flashes in the body section of roster screen (then it logs in and works fine):

Screenshot Link: http://www.tribalfury.org/worff/ROSTER_Error.png
Image

When I lookup those line numbers in functions.php, they are all under the Write Cookie section... funny part is it all looks normal to me LOL. Here are the lines (249-254):

Code: Select all

   setcookie( "EQRoster[UserName]",      $_SESSION['UserName'],      $nTime );
   setcookie( "EQRoster[Password]",      $_SESSION['Password'],      $nTime );
   setcookie( "EQRoster[SortOrder]",      $_SESSION['SortOrder'],      $nTime );
   setcookie( "EQRoster[SortDirection]",   $_SESSION['SortDirection'],   $nTime );
   setcookie( "EQRoster[ShowAlts]",      $_SESSION['ShowAlts'],      $nTime );
   setcookie( "EQRoster[ClassFilter]",      $_SESSION['ClassFilter'],   $nTime );


Any ideas? Like I said it's very minor issue since everything works following this error message... just thought I'd check hehe.

User avatar
GamePlayHeaven
Site Admin
Posts: 562
Joined: Sun Feb 06, 2005 8:50

Re: Cannot modify header info

Postby GamePlayHeaven » Mon Jul 07, 2008 20:07

Thanks for letting me know.
What is probably happening is that it's trying to write the cookie after the headers have already been created, and the cookies need to be done before any html code.

I'll look into it when I get back from holiday :)

User avatar
GamePlayHeaven
Site Admin
Posts: 562
Joined: Sun Feb 06, 2005 8:50

Re: Cannot modify header info

Postby GamePlayHeaven » Tue Jul 22, 2008 2:46

It's fixed in v4.3.3.

Thanks again for the heads up!

Worff
Posts: 20
Joined: Wed Aug 08, 2007 11:04

Re: Cannot modify header info

Postby Worff » Sun Jul 27, 2008 15:44

No prob :) Thanks for the fix !!


Return to “EQRoster”

Who is online

Users browsing this forum: No registered users and 1 guest

cron