a different modify headers problem
-
Don’t you hate it when you think you know what you’re doing, and find out you don’t?
I’m having a problem that is different from the one found on the faq regarding the “cannot modify headers” problem… at least, I THINK it’s different…
I don’t like having my database password “hanging out” on the web. I got WordPress working the “regular” way, then edited the config file to put the database information (the “define” statements) in an include file which is stored outside of the web root. I then invoked the include file in the config file, just above the defs for the server/host/user etc. variables.
Now, no matter what I do, I get this warning
Warning: Cannot modify header information – headers already sent by (output started atem
my root directory/em
/blog_info/wf_db.inc.php:9) inem
various files apparently trying to change the headers, includingem
wp-login.php -after clearing my cookies.
BUT! Whatever I’ve done (edit, added comment, etc) actually DOES get done. It just takes me to the warning screen instead of returning me to the post or blog screen (or whatever screen the action is supposed to return me to). So, I”m thinking it’s something about having to invoke the include file outside the web root that’s causing the problem. But I can’t find a line in any of the login, post, edit, whatever files that invokes anything OTHER than the config file, so it shouldn’t be WANTING to modify the headers, right?
Anybody got any ideas?
(Don’t know if I can post this anonymously – and I didn’t think to register before starting the post… if it posts anyway, hi, my name is Karen, and I aspire to geekhood – but I’m (obviously) not there yet.)
- The topic ‘a different modify headers problem’ is closed to new replies.