Closed Thread Icon

Preserved Topic: warnings (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=12104" title="Pages that link to Preserved Topic: warnings (Page 1 of 1)" rel="nofollow" >Preserved Topic: warnings <span class="small">(Page 1 of 1)</span>\

 
Ensabanur
Bipolar (III) Inmate

From: KY
Insane since: Nov 2001

posted posted 03-11-2002 19:16

I'm getting this warning
_____
Warning: Cannot add header information - headers already sent by (output started at c:\phpdev\www\phpdev4\includes\config.inc:288) in c:\phpdev\www\phpdev4\includes\functions.inc on line 42
_____
only the line number and file location change depending on the action. What is that warning saying I need to do? I checked line 42 in functions.inc and it's a line that says;
_____
Header ( "Location: $url" );
_____

any ideas?

Ensa

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 03-11-2002 19:22

well, this wont really solve the problem, but you wont get an error anymore:

place an @ before the statement.
@Header ( "Location: $url" );

btw, do you do somthing with postnuke?

Ensabanur
Bipolar (III) Inmate

From: KY
Insane since: Nov 2001

posted posted 03-11-2002 19:50

Do you have any idea why it would say that?

No I don't do anything with post nuke


Ensa

GRUMBLE
Paranoid (IV) Mad Scientist

From: Omicron Persei 8
Insane since: Oct 2000

posted posted 03-11-2002 20:23

well, the warning is there because of exactly the point it says.
headers already sent...

means, that the http-headers have already be sent by your document before the specific line.

Tyberius Prime
Paranoid (IV) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 03-11-2002 20:49

which probably means, that you outputed anything to the browser before that line.

PS: I hate flood control. It's just to slow for me...


Tyberius Prime

Pugzly
Paranoid (IV) Inmate

From: 127.0.0.1
Insane since: Apr 2000

posted posted 03-11-2002 21:03

You have to watch things like white space and line feeds. ANYTHING sent to the browsers before your Header ( "Location: $url" ); line will generate this error. Including a blank line. Make sure that your code is at the very top of the page, and that nothing else has been sent yet.

butcher
Paranoid (IV) Inmate

From: New Jersey, USA
Insane since: Oct 2000

posted posted 03-12-2002 03:05

Like Pugzly said:

Something in your PHP code before the function include() is sending information to be output to the browser. That's not allowed.

-Butcher-

Ensabanur
Bipolar (III) Inmate

From: KY
Insane since: Nov 2001

posted posted 03-15-2002 15:14

I'll check that out

Thanks for he help

Ensa

« BackwardsOnwards »

Show Forum Drop Down Menu