Support » Plugins and Hacks » my-hacks.php problem

my-hacks.php problem

  • i have a problem with the file my-hacks.php, when i uploaded the file it would say this:
    Warning: Cannot modify header information – headers already sent by (output started at /home/scythe/public_html/chaos/my-hacks.php:4) in /home/scythe/public_html/chaos/wp-admin/templates.php on line 55
    whenever i try to log in, log out, or finish editing a template

Viewing 6 replies - 1 through 6 (of 6 total)
  • Check for blank lines at the top of the file (before <?php) and at the end of the file (after ?>) and if you have them, remove them.

    There’s also another catch.
    Some editors (for example, Ultraedit and, I believe, Windows Notepad in 2000+) will denote a file in Unicode or UTF-8 by starting it with two bytes, ‘FFFE’. While this is a semi-popular (and very much broken) standard, it will cause the behavior as described above. What’s the most maddening about it, you can’t see it, cause the editor thinks these two bytes are just a marker and ignores them, you don’t see them in the editor and can’t remove them!
    To fix, make sure your editor is not in Unicode mode when editing the file or remove these two bytes from the beginning of the file with some other tool.

    Or go get Crimson – a free php (and more) editor
    Very nice program 🙂

    thanks for the help!

    thanks for the link podz!!!!




    Another free editor can be found at http://www.maguma.com/download.php it’s what I use for all my php editing needs.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘my-hacks.php problem’ is closed to new replies.