WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] I Figured Out – Warning: Cannot modify header information Photo Example

[Resolved] I Figured Out – Warning: Cannot modify header information Photo Example

Viewing 2 replies - 1 through 2 (of 2 total)
  • I just saw a similar post about this.

    I’ve tried to duplicate the newline problem. I can’t. I’ve tried. One newline doesn’t break my install. Half a dozen newlines don’t break it. Newlines with with spaces, or a dozen spaces, don’t break it. Newlines with spaces don’t break it. Newlines before the closing PHP tag don’t break it. Newlines after the closing PHP tag don’t break it. Newlines without a closing PHP tag at all don’t break it. And I’ve tried with a couple of different installs.

    I’m not trying to say that you are wrong. I just can’t duplicate the problem. That makes it interesting. The only thing that comes to mind is that maybe there was a hidden control character on that line. I do vaguely recall something about this though…

    Well maybe….I re-installed the files a couples of times and kept having the same trouble until I found that space.

    I posted this because many people have the same error codes I had and the suggestions to fix them didn’t work for me. P.S. There is no ‘?>’ at the end of the file either, like there is supposed to be. But it works, so I am not sure. Another option that hopefully someone can use.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] I Figured Out – Warning: Cannot modify header information Photo Example’ is closed to new replies.