FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum Development » Bug Reports » Cannot add header information - headers already sent
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Cannot add header information - headers already sent [message #11023] Mon, 16 June 2003 20:41 Go to next message
mal0rd is currently offline  mal0rd   United States
Messages: 17
Registered: May 2003
Karma: 0
Junior Member
Using a vanilla installation of FUDforum 2.5.0RC6 (latest CVS), without any settings changed, I cannot post. I click "New Topic", fill in the fields, then click "Create Topic". Then I get this page:

<br />
<b>Warning</b>: Cannot add header information - headers already sent in <b>/home/devin/public_html/fud/theme/default/post.php</b> on line <b>3993</b><br />

I'm tring to post a message subject 'test', body 'test', in the testforum, acting as user 'admin'. The system information page has this:

PHP built On: Linux cyberhq 2.4.21-pre5 #1 SMP Sat Mar 1 00:30:11 PST 2003 i686 unknown unknown GNU/Linux
Database Version: PostgreSQL 7.3.1 on i386-pc-linux-gnu, compiled by GCC gcc (GCC) 3.2.2 20030109 (Debian prerelease)
PHP Version: 4.2.3
Web Server: Apache/2.0.45 (Debian GNU/Linux) mod_ssl/2.0.45 OpenSSL/0.9.7a
WebServer to PHP interface: cgi
Forum Version: 2.5.0RC6
Relavent PHP Settings:
Safe Mode: OFF
Open basedir: none
Display Errors: ON
File Uploads: ON
Magic Quotes: OFF
Register Globals: OFF
Output Buffering: OFF
Disabled Functions: none
PSpell Support: No

Error logs are currently empty, and the post actually gets posted.
Re: Cannot add header information - headers already sent [message #11025 is a reply to message #11023] Mon, 16 June 2003 20:46 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Do you see any text prior to the warning message?

FUDforum Core Developer
Re: Cannot add header information - headers already sent [message #11030 is a reply to message #11025] Mon, 16 June 2003 21:30 Go to previous messageGo to next message
mal0rd is currently offline  mal0rd   United States
Messages: 17
Registered: May 2003
Karma: 0
Junior Member
No
Re: Cannot add header information - headers already sent [message #11031 is a reply to message #11025] Mon, 16 June 2003 21:30 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Also, which language are you using with the forum?

FUDforum Core Developer
Re: Cannot add header information - headers already sent [message #11033 is a reply to message #11031] Mon, 16 June 2003 21:47 Go to previous messageGo to next message
mal0rd is currently offline  mal0rd   United States
Messages: 17
Registered: May 2003
Karma: 0
Junior Member
english
Re: Cannot add header information - headers already sent [message #11086 is a reply to message #11033] Tue, 17 June 2003 17:29 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
I cannot replicate the problem using the today's CVS version of the code.

Do you use any special settings when posting the message (file attachments, polls, make the message announcement, etc..?).


FUDforum Core Developer
Re: Cannot add header information - headers already sent [message #11111 is a reply to message #11086] Tue, 17 June 2003 22:03 Go to previous messageGo to next message
mal0rd is currently offline  mal0rd   United States
Messages: 17
Registered: May 2003
Karma: 0
Junior Member
Nope, I just followed the instructions to make the install script. Using compression resulted in corrupted archives, so I didn't use it. Then I filled in the fields for data directory, etc... all chmodded 777.

I'm using cgi and apache2 and no safe mode; maybe that would make a difference with headers. I know with mod_ruby, headers are sent differently then when using the cgi interpreter.

I downgraded to apache 1.3, and used mod_php. Now it works. Perhaps you should mention in the release notes that it doesn't work with CGI (as I suspect). sorry if you already do.
Re: Cannot add header information - headers already sent [message #11112 is a reply to message #11111] Tue, 17 June 2003 22:05 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
have you tried php 4.3.2?

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Tree/flat view, "New" posts
Next Topic: 2.3.8 Login Filter
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Thu Nov 21 18:14:18 GMT 2024

Total time taken to generate the page: 0.02539 seconds