You are missing our premiere tool bar navigation system! Register and use it for FREE!

NukeCops  
•  Home •  Downloads •  Gallery •  Your Account •  Forums • 
Readme First
- Readme First! -

Read and follow the rules, otherwise your posts will be closed
Modules
· Home
· FAQ
· Buy a Theme
· Advertising
· AvantGo
· Bookmarks
· Columbia
· Community
· Donations
· Downloads
· Feedback
· Forums
· PHP-Nuke HOWTO
· Private Messages
· Search
· Statistics
· Stories Archive
· Submit News
· Surveys
· Theme Gallery
· Top
· Topics
· Your Account
Who's Online
There are currently, 71 guest(s) and 0 member(s) that are online.

You are Anonymous user. You can register for free by clicking here
Nuke Cops :: View topic - Cannot modify header information... [ ]
 Forum FAQ  •  Search  •   •  Memberlist  •  Usergroups   •  Register  •  Profile •    •  Log in to check your private messages  •  Log in

 
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
Author Message
Konrad
Nuke Cadet
Nuke Cadet


Joined: Jan 30, 2004
Posts: 1


PostPosted: Fri Jan 30, 2004 5:24 pm Reply with quoteBack to top

Have install a new Nuke 7.0.

After I have changed the teams I get this error in my forum Sad

Warning: Cannot modify header information - headers already sent by (output started at /server/webserver/skarsteinsdalen.com/www/header.php:32) in /server/webserver/skarsteinsdalen.com/www/includes/sessions.php on line 249

Warning: Cannot modify header information - headers already sent by (output started at /server/webserver/skarsteinsdalen.com/www/header.php:32) in /server/webserver/skarsteinsdalen.com/www/includes/sessions.php on line 250
PHP-Nuke Powered Site: Forums



Warning: Cannot modify header information - headers already sent by (output started at /server/webserver/skarsteinsdalen.com/www/header.php:32) in /server/webserver/skarsteinsdalen.com/www/includes/page_header.php on line 525

Warning: Cannot modify header information - headers already sent by (output started at /server/webserver/skarsteinsdalen.com/www/header.php:32) in /server/webserver/skarsteinsdalen.com/www/includes/page_header.php on line 531

Warning: Cannot modify header information - headers already sent by (output started at /server/webserver/skarsteinsdalen.com/www/header.php:32) in /server/webserver/skarsteinsdalen.com/www/includes/page_header.php on line 532


What is the problem?? Confused
Find all posts by KonradView user's profileSend private message
Larcen
Nuke Soldier
Nuke Soldier


Joined: Oct 06, 2003
Posts: 33


PostPosted: Fri Jan 30, 2004 7:33 pm Reply with quoteBack to top

Cookies. When viewing my PHP board it shows wonderfully on IE browsers, but when viewing through Mozilla Browser, I get the same errors, which are in the setcookie( function of the sessions.php and page_header.php in includes/ You find out how to remedy this, please share it.
Find all posts by LarcenView user's profileSend private message
krypton
Nuke Cadet
Nuke Cadet


Joined: Feb 03, 2004
Posts: 1


PostPosted: Tue Feb 03, 2004 12:05 pm Reply with quoteBack to top

I have the same problem and i use IE 6

any idea what's wrong ?
Find all posts by kryptonView user's profileSend private message
Kementh
Nuke Cadet
Nuke Cadet


Joined: Feb 08, 2004
Posts: 1


PostPosted: Sun Feb 08, 2004 12:21 am Reply with quoteBack to top

Here's a solution, can't remember where i found it...

Problem: Warning: Cannot modify header information – headers already sent by... when viewing Forums
Fix by: Raven - http://gaylenandmargie.com/phpwebsite
Fix:


add the following line to a .htaccess file placed in your root Nuke dir.
Code:
PHP_FLAG output_buffering on


or if you have access to your php.ini, set:
Code:
output_buffering=on;
Find all posts by KementhView user's profileSend private message
Larcen
Nuke Soldier
Nuke Soldier


Joined: Oct 06, 2003
Posts: 33


PostPosted: Mon Feb 09, 2004 4:00 pm Reply with quoteBack to top

Well, it was worth a try. Created an .htaccess file and inserted what you said into it. Checked permissions, and let it ride. Got this in return:

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@domain.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.
Find all posts by LarcenView user's profileSend private message
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Mon Feb 09, 2004 5:23 pm Reply with quoteBack to top

Can you post your .htaccess file?

J.

_________________
J.
j e r u v y a t y a h o o d o t c o m
Find all posts by JeruvyView user's profileSend private messageICQ Number
molderek
Nuke Cadet
Nuke Cadet


Joined: Feb 10, 2004
Posts: 2

Location: Poland

PostPosted: Tue Feb 10, 2004 3:26 am Reply with quoteBack to top

I have similar problem, phpnuke 6.9, while loading forum:

"Warning: Cannot add header information - headers already sent by (output started at public_html/mainfile.php:183) in /public_html/includes/sessions.php on line 249

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/sessions.php on line 250

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 529

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 531

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 532"


I don't have access to php.ini (i have only account on server) and if I make .htaccess file with
"PHP_FLAG output_buffering on" in my nuke directory, i get "permision denied" error.
But the forum is working! (below these errors ...)

Any ideas?
Find all posts by molderekView user's profileSend private message
Daniel-cmw
Site Admin
Site Admin


Joined: Mar 02, 2003
Posts: 1662

Location: The UK!

PostPosted: Tue Feb 10, 2004 3:40 am Reply with quoteBack to top

Was there already a .htaccess file in there before you started? If so you are supposed to add it to that file not replace it.

_________________
Read Me
Find all posts by Daniel-cmwView user's profileSend private message
molderek
Nuke Cadet
Nuke Cadet


Joined: Feb 10, 2004
Posts: 2

Location: Poland

PostPosted: Tue Feb 10, 2004 4:41 am Reply with quoteBack to top

To make phpnuke avaible from net i just created "public_html" directory (serwer needs that name) and put there phpnuke. And that was enought for nuke to work.

There was no .htaccess file, only .htaccess files that i have are in other directories: admin for example, but they came with phpnuke.

It looks that that errors don't have any influance for phpbb forum, becouse it works with them. Maybe just put that error prints off? Rolling Eyes
Find all posts by molderekView user's profileSend private message
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Tue Feb 10, 2004 9:24 am Reply with quoteBack to top

molderek wrote:
I have similar problem, phpnuke 6.9, while loading forum:

"Warning: Cannot add header information - headers already sent by (output started at public_html/mainfile.php:183) in /public_html/includes/sessions.php on line 249

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/sessions.php on line 250

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 529

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 531

Warning: Cannot add header information - headers already sent by (output started at /public_html/mainfile.php:183) in /public_html/includes/page_header.php on line 532"


I don't have access to php.ini (i have only account on server) and if I make .htaccess file with
"PHP_FLAG output_buffering on" in my nuke directory, i get "permision denied" error.
But the forum is working! (below these errors ...)

Any ideas?


Guys, these are php bugs not nuke bugs...

Ask your hosting provider to fix this for you if you are not sure how or don't have permission to. Smile

J.
Find all posts by JeruvyView user's profileSend private messageICQ Number
xvaughan
Nuke Cadet
Nuke Cadet


Joined: Feb 13, 2004
Posts: 1


PostPosted: Fri Feb 13, 2004 5:09 pm Reply with quoteBack to top

I just performed the sugested fix with the .htaccess in my html's root folder, and it worked fine.

Xvaughan
Find all posts by xvaughanView user's profileSend private message
zerogreen
Nuke Soldier
Nuke Soldier


Joined: Sep 26, 2003
Posts: 19

Location: South Africa

PostPosted: Tue Feb 24, 2004 11:33 pm Reply with quoteBack to top

Ok, I've tried the mainfile.php fix, I did the .htaccess file, I tried the ini_set script, output_buffering is on on the server - I still get the "cannot modify header information - headers already sent" error on my Forum.
The problem occurs in IE, Mozilla and Opera.

Does anyone have any idea what this can be?
Please - I don't have much hair left Wink

_________________
if(empty($beer))
{ getbeer() }
else
{ consume($beer) }
Find all posts by zerogreenView user's profileSend private message
Jeruvy
Lieutenant
Lieutenant


Joined: Jul 09, 2003
Posts: 293


PostPosted: Wed Feb 25, 2004 4:12 pm Reply with quoteBack to top

It is just a WARNING, not a ERROR. So your web site isn't going to break, but you may have tracking issues.

Again....its a php bug. If you cannot FIX php, then you cannot FIX the problem.

J.

_________________
J.
j e r u v y a t y a h o o d o t c o m
Find all posts by JeruvyView user's profileSend private messageICQ Number
zerogreen
Nuke Soldier
Nuke Soldier


Joined: Sep 26, 2003
Posts: 19

Location: South Africa

PostPosted: Wed Feb 25, 2004 10:27 pm Reply with quoteBack to top

I realize that it's just a warning. Rolling Eyes
This being a Nuke forum, and my problem, being an unsightly warning in my Nuke System, I thought someone would be able to help. Wink

Where would someone go and look for an answer to such a problem?
Would you suggest re-installing PHP on the server or could there be some configuration elements that could rectify such a problem?

Idea I know that this would not be a great idea, but could the warning be disabled, like turning off the error reporting using something like ini_set, or something like that?

_________________
if(empty($beer))
{ getbeer() }
else
{ consume($beer) }
Find all posts by zerogreenView user's profileSend private message
JeffreyHarrington
Nuke Cadet
Nuke Cadet


Joined: Oct 23, 2004
Posts: 1


PostPosted: Sat Oct 23, 2004 10:32 am Reply with quoteBack to top

Kementh wrote:
Here's a solution, can't remember where i found it...

Problem: Warning: Cannot modify header information – headers already sent by... when viewing Forums
Fix by: Raven - http://gaylenandmargie.com/phpwebsite
Fix:


add the following line to a .htaccess file placed in your root Nuke dir.
Code:
PHP_FLAG output_buffering on


or if you have access to your php.ini, set:
Code:
output_buffering=on;


I'd like to thank you for your help! Also, NUKECOPS RULES!
Find all posts by JeffreyHarringtonView user's profileSend private messageVisit poster's website
Display posts from previous:      
Post new topic  Reply to topicprinter-friendly view
View previous topic Log in to check your private messages View next topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



Powered by phpBB © 2001, 2005 phpBB Group

Ported by Nuke Cops © 2003 www.nukecops.com
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::
Powered by TOGETHER TEAM srl ITALY http://www.togetherteam.it - DONDELEO E-COMMERCE http://www.DonDeLeo.com - TUTTISU E-COMMERCE http://www.tuttisu.it
Web site engine's code is Copyright © 2002 by PHP-Nuke. All Rights Reserved. PHP-Nuke is Free Software released under the GNU/GPL license.
Page Generation: 0.441 Seconds - 158 pages served in past 5 minutes. Nuke Cops Founded by Paul Laudanski (Zhen-Xjell)
:: FI Theme :: PHP-Nuke theme by coldblooded (www.nukemods.com) ::