Closed Thread Icon

Topic awaiting preservation: PHP: Headers already sent... yeah right. Pages that link to <a href="https://ozoneasylum.com/backlink?for=31754" title="Pages that link to Topic awaiting preservation: PHP: Headers already sent... yeah right." rel="nofollow" >Topic awaiting preservation: PHP: Headers already sent... yeah right.\

 
Author Thread
Red Ninja
Bipolar (III) Inmate

From: Detroit, MI US
Insane since: Mar 2001

posted posted 04-01-2010 19:26

I have an ecommerce program that I recently moved to a new server. It keeps telling me that I can't do a redirect using the header command because they're already sent by FCKeditor. Knowing that the problem usually is an issue of non-php code somehow getting thrown into the mix somewhere before the header command either because of whitespace at the end of a file or some function outputting html before the header command, I tried everything to clear the issue. Finally, out of frustration, I just deleted everything that was in the include that PHP claims already sent the headers. It still says that it's sending headers. HOW!?!? In what world does a file with nothing in it do anything at all, much less send headers?!?! Anyone have any ideas or am I relegated to pulling my hair out and slamming various peripheral devices out of frustration until I finally decide to collect unemployment?

Red Ninja
Bipolar (III) Inmate

From: Detroit, MI US
Insane since: Mar 2001

posted posted 04-01-2010 20:30

Nevermind. I know it's hack somewhat, but I just used the ob_flush instead. I'm tired of worrying about it.

Tyberius Prime
Maniac (V) Mad Scientist with Finglongers

From: Germany
Insane since: Sep 2001

posted posted 04-02-2010 02:17

utf bom mark... would be my guess.

« BackwardsOnwards »

Show Forum Drop Down Menu