When I click on my forums or prifile I will get this warning.
Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:32) in C:\inetpub\oldschoolkillers\includes\sessions.php on line 365

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:32) in C:\inetpub\oldschoolkillers\includes\sessions.php on line 366
old school killers: Forums

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:32) in C:\inetpub\oldschoolkillers\includes\page_header.php on line 530

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:32) in C:\inetpub\oldschoolkillers\includes\page_header.php on line 532

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:32) in C:\inetpub\oldschoolkillers\includes\page_header.php on line 533

Forum FAQ Search Usergroups Profile Log in to check your private messages Log in

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:31) in C:\inetpub\oldschoolkillers\includes\sessions.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:31) in C:\inetpub\oldschoolkillers\includes\sessions.php on line 223

Warning: Cannot modify header information - headers already sent by (output started at C:\inetpub\oldschoolkillers\header.php:31) in C:\inetpub\oldschoolkillers\modules\Forums\profile.php on line 102

What can I do about this problem.
If anyone can help, Please do so.

Thank you, PSYCHO

Comments

hip’s picture

Same happens to me. And I'm just stucked at it. :-(

Steven’s picture

Read the FAQ. Though this doesn't look like Drupal at all.

--
If you have a problem, please search before posting a question.

hip’s picture

Hi Steven,

I swear I've searched all over. Probably a bad search (that's my fault sorry), but I tried my best. I've read the FAQs and some other posts and comments in and out the Drupal site.

I have already explained it in this post:
http://drupal.org/node/753#comment-32790

...but I can repeat it here:

I have checked all (now it is all for sure) files and now they have no extra carriage return (at the very end nor at the very beginning), plus I do have
error_reporting = E_ALL & ~E_NOTICE
in my php.ini

Plus I had previously Drupal configured in my 'localhost' (VERY SAME configuration: same httpd.conf, same php.ini) and it worked.

So maybe something else. Most probably something else I'm doing wrong. And I'd love to know what it is or where to find the solution. But, on the other hand, after googling for it for a while, I suspect of session not starting first of all in the PHP+HTML sequence, but my knowledges are so little that I don't dare to say it before any expert checks it.

Thanx,
hip

hip’s picture

Reinstalled everything and no 'headers problem'. Don't think will ever know what happens but it seems to work now. I won't touch it as far as I can.

Tanx anyway,
hip

dennislloydjr’s picture

We just came across the same (or at least a similar) problem. We went to the file mentioned in the error message, in your case: C:\inetpub\oldschoolkillers\header.php:32. At the end of the file, it had the php closing tag and several blank lines. We removed the php closing tag and the blank lines. Then things worked. Apparently having the closing tag here creates output and therefore the error message. Hope this helps!

-Dennis
http://www.dennislloydjr.com
http://www.sqlity.net

dman’s picture

FTR: The Troubleshooting FAQ: "Headers already sent" or "Cannot modify header information"

.dan.
if you are asking a question you think should be documented, please provide a link to the handbook where you think the answer should be found.
| http://www.coders.co.nz/ |

yourownfriend’s picture

I had the same problem and I found what happened:

* I created the settings.php from dreamweaver.
* Dreamweaver by default puts this code on every file:





Untitled Document



* I deleted the whole thing so the file contains no code at all
* I uploaded the new setting.php empty file
* Repeated the installation and the error was gone.

Hope it helps

cheers
HD

epfd’s picture

That worked for me...