| Author |
Message |
Konrad
Nuke Cadet


Joined: Jan 30, 2004
Posts: 1
|
Posted:
Fri Jan 30, 2004 5:24 pm |
  |
Have install a new Nuke 7.0.
After I have changed the teams I get this error in my forum
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??  |
|
|
   |
 |
Larcen
Nuke Soldier


Joined: Oct 06, 2003
Posts: 33
|
Posted:
Fri Jan 30, 2004 7:33 pm |
  |
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. |
|
|
   |
 |
krypton
Nuke Cadet


Joined: Feb 03, 2004
Posts: 1
|
Posted:
Tue Feb 03, 2004 12:05 pm |
  |
I have the same problem and i use IE 6
any idea what's wrong ? |
|
|
   |
 |
Kementh
Nuke Cadet


Joined: Feb 08, 2004
Posts: 1
|
Posted:
Sun Feb 08, 2004 12:21 am |
  |
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; |
|
|
   |
 |
Larcen
Nuke Soldier


Joined: Oct 06, 2003
Posts: 33
|
Posted:
Mon Feb 09, 2004 4:00 pm |
  |
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. |
|
|
   |
 |
Jeruvy
Lieutenant


Joined: Jul 09, 2003
Posts: 293
|
Posted:
Mon Feb 09, 2004 5:23 pm |
  |
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 |
|
    |
 |
molderek
Nuke Cadet


Joined: Feb 10, 2004
Posts: 2
Location: Poland
|
Posted:
Tue Feb 10, 2004 3:26 am |
  |
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? |
|
|
   |
 |
Daniel-cmw
Site Admin


Joined: Mar 02, 2003
Posts: 1662
Location: The UK!
|
Posted:
Tue Feb 10, 2004 3:40 am |
  |
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 |
|
   |
 |
molderek
Nuke Cadet


Joined: Feb 10, 2004
Posts: 2
Location: Poland
|
Posted:
Tue Feb 10, 2004 4:41 am |
  |
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?  |
|
|
   |
 |
Jeruvy
Lieutenant


Joined: Jul 09, 2003
Posts: 293
|
Posted:
Tue Feb 10, 2004 9:24 am |
  |
| 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.
J. |
|
|
    |
 |
xvaughan
Nuke Cadet


Joined: Feb 13, 2004
Posts: 1
|
Posted:
Fri Feb 13, 2004 5:09 pm |
  |
I just performed the sugested fix with the .htaccess in my html's root folder, and it worked fine.
Xvaughan |
|
|
   |
 |
zerogreen
Nuke Soldier


Joined: Sep 26, 2003
Posts: 19
Location: South Africa
|
Posted:
Tue Feb 24, 2004 11:33 pm |
  |
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  |
_________________ if(empty($beer))
{ getbeer() }
else
{ consume($beer) } |
|
   |
 |
Jeruvy
Lieutenant


Joined: Jul 09, 2003
Posts: 293
|
Posted:
Wed Feb 25, 2004 4:12 pm |
  |
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 |
|
    |
 |
zerogreen
Nuke Soldier


Joined: Sep 26, 2003
Posts: 19
Location: South Africa
|
Posted:
Wed Feb 25, 2004 10:27 pm |
  |
I realize that it's just a warning.
This being a Nuke forum, and my problem, being an unsightly warning in my Nuke System, I thought someone would be able to help.
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?
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) } |
|
   |
 |
JeffreyHarrington
Nuke Cadet


Joined: Oct 23, 2004
Posts: 1
|
Posted:
Sat Oct 23, 2004 10:32 am |
  |
| 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! |
|
|
    |
 |
|
|