Register | Login
Views: 19364387
Main | Memberlist | Active users | ACS | Commons | Calendar | Online users
Ranks | FAQ | Color Chart | Photo album | IRC Chat
11-02-05 12:59 PM
0 user currently in Acmlmboard support?.
Acmlm's Board - I2 Archive - Acmlmboard support? - Login Problem - A Common Problem | |
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
User Post
Davideo7

Koopa
Level: 18

Posts: 49/112
EXP: 28817
For next: 1080

Since: 03-21-04

Since last post: 52 days
Last activity: 17 days
Posted on 10-29-04 07:32 AM Link | Quote
I get this error when trying to log out


Warning: Cannot modify header information - headers already sent by (output started at /home/vizzed/public_html/vizzedboard/colors.php:33) in /home/vizzed/public_html/vizzedboard/login.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/vizzed/public_html/vizzedboard/colors.php:33) in /home/vizzed/public_html/vizzedboard/login.php on line 30


No one is able to Login in or out.
http://www.vizzed.com/vizzedboard
See for yourself.

It'd be very much appreciated if someone could help me out.

Thanks!
Xeolord

- B l u e s -
Power Metal > All
Level: 81

Posts: 571/3418
EXP: 4884196
For next: 108653

Since: 03-15-04
From: Yeah

Since last post: 15 hours
Last activity: 15 hours
Posted on 10-29-04 07:45 AM Link | Quote
Try uploading a fresh login.php

So yeah, I can't log in.
Davideo7

Koopa
Level: 18

Posts: 50/112
EXP: 28817
For next: 1080

Since: 03-21-04

Since last post: 52 days
Last activity: 17 days
Posted on 10-29-04 08:20 AM Link | Quote
It is a fresh copy

Unless my original copy got messed with, but I really doubt it.

Thanks though
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 267/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 10-29-04 08:32 AM Link | Quote
Check your congif.php and function.php files and make sure that there aren't any spaces at the end. For some reason, this screws things up.

When I check for them, I put the cursor at the end of the ?> and hold the DEL key for a few seconds, then save, just to make sure I got them all.
Davideo7

Koopa
Level: 18

Posts: 51/112
EXP: 28817
For next: 1080

Since: 03-21-04

Since last post: 52 days
Last activity: 17 days
Posted on 10-29-04 08:41 AM Link | Quote
Problem solved, I actually had to many spaces in the color.php

Thanks!


(edited by Davideo7 on 10-28-04 11:42 PM)
VGFreak877

Buzz Blob
Level: 28

Posts: 216/294
EXP: 123189
For next: 8149

Since: 03-15-04
From: Hillsborough, NH

Since last post: 60 days
Last activity: 1 hour
Posted on 10-30-04 08:53 AM Link | Quote
Okay, just so everyone's aware of this so that there aren't too many more threads about this subject, this is what you need to look for:

Warning: Cannot modify header information - headers already sent by (output started at /home/vizzed/public_html/vizzedboard/colors.php :33) in /home/vizzed/public_html/vizzedboard/login.php on line 29

Warning: Cannot modify header information - headers already sent by (output started at /home/vizzed/public_html/vizzedboard/colors.php :33) in /home/vizzed/public_html/vizzedboard/login.php on line 30

Whatever filename appears in the large, red, bold text above is the file you need to check for spaces below the ?> at the end of the file. Again -- 99.9% of the time, this is the file that is reeking havoc on your board, and causing people not to login or out. I should know -- I've experienced this many times.
Jesper
Busy, busy, busy.
Level: 69

Posts: 1176/2390
EXP: 2856000
For next: 13743

Since: 03-15-04
From: Sweden.

Since last post: 176 days
Last activity: 79 days
Posted on 11-03-04 02:31 AM Link | Quote
Originally posted by Elric
Check your congif.php and function.php files and make sure that there aren't any spaces at the end. For some reason, this screws things up.

When I check for them, I put the cursor at the end of the ?> and hold the DEL key for a few seconds, then save, just to make sure I got them all.
Let me explain the reason: Login.php sends cookies, as we all know. Cookies are made by HTTP Header calls - headers come before content, and if you have any spaces outside the PHP block, that will indeed be send before the PHP is parsed, and thus since the headers have already been sent (content has already been started), you get the error.
Elric

Chasupa


Currently Playing:
You Like A Lute.
Level: 40

Posts: 268/687
EXP: 440016
For next: 1293

Since: 03-15-04
From: Melniboné

Since last post: 6 hours
Last activity: 6 hours
Posted on 11-03-04 09:03 AM Link | Quote
Ah, I see. Thanks for that explanation, Jesper.
Zem
You can be civil without being flowery, dipshits.
Level: 49

Posts: 316/1107
EXP: 829398
For next: 54485

Since: 06-13-04

Since last post: 131 days
Last activity: 131 days
Posted on 11-04-04 12:46 PM Link | Quote
Another way around this is to use ob_start() before anything else, and ob_end_flush() at the very end of the script (though this generally happens automatically). This turns on output buffering, which catches all echo or print output and waits to send it all at once. However, setcookie() and header() are sent out when they're called, so you can do these things after "outputting" content.
Add to favorites | "RSS" Feed | Next newer thread | Next older thread
Acmlm's Board - I2 Archive - Acmlmboard support? - Login Problem - A Common Problem | |


ABII


AcmlmBoard vl.ol (11-01-05)
© 2000-2005 Acmlm, Emuz, et al



Page rendered in 0.005 seconds.