Welcome, Guest. Please Login or Register.
November 20, 2024, 05:41:37 PM
Home Help Search Log in Register
News: SMF is the next generation in forum software, almost completely re-written from the ground up, make sure you don't fall for cheap imitations that suffer from feature bloat!

YaBB SE Community  |  English User Help  |  English Help  |  2: Cannot add header information - headers already sent « previous next »
Pages: [1] Reply Ignore Print
Author Topic: 2: Cannot add header information - headers already sent  (Read 1589 times)
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
2: Cannot add header information - headers already sent
« on: April 07, 2003, 11:31:10 PM »
Reply with quote

I've just installed YaBBSE at Amthia.net and I get this error:

Quote
2: Cannot add header information - headers already sent
(/AmathiaBoards/Sources/Subs.php ln 152)

Here is the output from phpinfo

Can you please tell me what is happening and why.

The forum is hosted on a Yahoo premium webhosting package with MySQL and PHP4.x

I suspect that the auto_prepend header, and footer files may be the culprits, but I can't find how to turn them off. I tried using minimal php within the files (it searches the local directory first followed by /include) and placing them where I expected PHP to find them, but no go.

Oh one more thing: CHMOD isn't allowed, but I think the platform is Unix, not IIS.

Thema.
« Last Edit: April 07, 2003, 11:34:08 PM by Thema » Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:2: Cannot add header information - headers already sent
« Reply #1 on: April 07, 2003, 11:43:06 PM »
Reply with quote

i can only see this error:
QuoteWarning: open(/tmp/sess_8be8429ca30e3182eb3510e88ef27980, O_RDWR) failed: No such file or directory (2) in /AmathiaBoards/index.php on line 78
which, i believe, means that the session setting hasnt been configured properly in php.ini
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
Re:2: Cannot add header information - headers already sent
« Reply #2 on: April 07, 2003, 11:47:59 PM »
Reply with quote

Yeah I get that sometimes too, but it usually goes away again, leaving me with the original problem.

Thema
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:2: Cannot add header information - headers already sent
« Reply #3 on: April 07, 2003, 11:49:58 PM »
Reply with quote

try to disable compressed output in Installed Mods Settings
and u might want to contact your host to fix the session settings
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
Re:2: Cannot add header information - headers already sent
« Reply #4 on: April 07, 2003, 11:59:41 PM »
Reply with quote

Okay I just did this to ModSettings.php with no effect whatever.


   $enableCompressedOutputChecked = ($modSettings['enableCompressedOutput'] == '0' ? ' checked="unchecked"' : '');


As for asking Yahoo to fix anything. You're welcome to try. As for me i prefer to tackle more probable possibilities.

Thema
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
Spaceman-Spiff
Mod Team
YaBB God
*****
Posts: 3689


My $txt[228]

Re:2: Cannot add header information - headers already sent
« Reply #5 on: April 08, 2003, 12:03:30 AM »
Reply with quote

err... u hosted it on yahoo? ???
if u cant go to the admin center, try this (attached) for fixing your mod settings
just unzip it, unload to your yabbse forum directory and run it
another way u can try is via phpmyadmin (if u have one)
Logged

   My mods, ysePak, codes, tutorials
    Support question IMs = bad.
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
Ok.
« Reply #6 on: April 08, 2003, 12:22:35 AM »
Reply with quote

I installed and used it fine.

Still no change  :'(

Thema
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:2: Cannot add header information - headers already sent
« Reply #7 on: April 08, 2003, 01:48:05 AM »
Reply with quote

You'll have to ask Yahoo! how they want you to set up sessions.  On some servers you have to create your own directory for it.

-[Unknown]
Logged
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
Re:Sessions
« Reply #8 on: April 08, 2003, 07:27:00 AM »
Reply with quote

I'm not concerned about sessions.
How does this affect my original problem with headers which seems to be being ignored in favour of a minor nuisance re: sessions?

Thema.
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
How wierd is this?
« Reply #9 on: April 08, 2003, 07:56:18 AM »
Reply with quote

I just added a couple of folders.
/tmp  for seesions.
/logs for... well for logs.

And now it seems that it all works. At least for the moment.

Thema.
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
[Unknown]
Global Moderator
YaBB God
*****
Posts: 7830


ICQ - 179721867unknownbrackets@hotmail.com WWW
Re:2: Cannot add header information - headers already sent
« Reply #10 on: April 08, 2003, 08:11:45 AM »
Reply with quote

That's what I meant - if sessions are configured, it will work.

Sessions help keep your board secure.
Without them, anyone could get administrative access.  So don't shove sessions.

-[Unknown]
Logged
Thema
Noobie
*
Posts: 7


If you need to ask if I like you. I don't!

WWW
Re:2: Cannot add header information - headers already sent
« Reply #11 on: April 08, 2003, 06:59:16 PM »
Reply with quote

Yeah I get that now. Thanks for the help.
8)
Logged

Gods don't have choices. Nothing with that much power can be allowed choices. Only we mortals are truly free. Why spoil it by trying to be like Gods?
Pages: [1] Reply Ignore Print 
YaBB SE Community  |  English User Help  |  English Help  |  2: Cannot add header information - headers already sent « previous - next »
 


Powered by MySQL Powered by PHP YaBB SE Community | Powered by YaBB SE
© 2001-2003, YaBB SE Dev Team. All Rights Reserved.
SMF 2.1.4 © 2023, Simple Machines
Valid XHTML 1.0! Valid CSS

Page created in 0.052 seconds with 21 queries.