phpnuke FORUM problem...........

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   phpnuke FORUM problem...........
roham
CZ Newbie
roham has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 27, 2005
0.00 posts per day
Posts: 2
Points: 96
   
HI ,

newly i install phpnuke 7.5 ... when i go to forums these errors shown:

Warning: Cannot add header information - headers already sent by (output started at c:\domains\roham.ws\wwwroot\web\header.php:31) in c:\domains\roham.ws\wwwroot\web\includes\sessions.php on line 222 , 223



and

Warning: Cannot add header information - headers already sent by (output started at c:\domains\roham.ws\wwwroot\web\header.php:31) in c:\domains\roham.ws\wwwroot\web\includes\page_header.php on line 494 , 495 ,492


line 31 to 41 of header.php are :

    echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\n";
    echo "<html>\n";
    echo "<head>\n";
    echo "<title>$sitename $pagetitle</title>\n";

    include("includes/meta.php");
    include("includes/javascript.php");

    if (file_exists("themes/$ThemeSel/images/favicon.ico")) {
   echo "<link REL=\"shortcut icon\" HREF=\"themes/$ThemeSel/images/favicon.ico\" TYPE=\"image/x-icon\">\n";
    }


line 222 , 223 of page_header.php are :

// Add no-cache control for cookies if they are set
//$c_no_cache = (isset($HTTP_COOKIE_VARS[$board_config['cookie_name']
. '_sid']) || isset($HTTP_COOKIE_VARS[$board_config['cookie_name'] .
'_data'])) ? 'no-cache="set-cookie", ' : '';

// Work around for "current" Apache 2 + PHP module which seems to not
// cope with private cache control setting
if (!empty($_SERVER['SERVER_SOFTWARE']) &&
strstr($_SERVER['SERVER_SOFTWARE'], 'Apache/2'))
{
       header ('Cache-Control: no-cache, pre-check=0, post-check=0');
}
else
{
       header ('Cache-Control: private, pre-check=0, post-check=0, max-age=0');
}
header ('Expires: 0');
header ('Pragma: no-cache');


line 492 , 494 , 495 of session.php are :

       setcookie($cookiename . '_data', serialize($sessiondata),
$current_time + 31536000, $cookiepath, $cookiedomain, $cookiesecure);
       setcookie($cookiename . '_sid', $session_id, 0, $cookiepath,
$cookiedomain, $cookiesecure);


when i remove line 222 , 223 & 492,494 , 495 of those files ... the problem solevd but on other pages such POSTIG , Editing and ... simlier error shown that all of then reffer to COOKIEs ( so page_header and session).
all that i get is problem with cookies make these errors.

what is your idea ?


Back to top Reply with quote
#2   re: phpnuke FORUM problem...........
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
This may help you:
[ Register or login to view links on this board. ]



Back to top Reply with quote
#3   re: phpnuke FORUM problem...........
roham
CZ Newbie
roham has been a member for over 19 year's 19 Year Member
Gender: Male
Status: Offline
Joined: Feb 27, 2005
0.00 posts per day
Posts: 2
Points: 96
   
Dear Kelly_Hero ,

Problem SOLVED!!!!!!

Thank You vary much ... U DID IT ! icon_razz.gif

Best Regards
ROHAM



Back to top Reply with quote
#4   re: phpnuke FORUM problem...........
Kelly_Hero
PayPal Donation
CZ Revered Member
 Codezwiz Site Donator
usa.gif southcarolina.gif
Occupation: Web Developer
Age: 59
Gender: Female
Website:
Status: Offline
Joined: Aug 20, 2003
0.48 posts per day
Posts: 3765
Points: 351,412
   
YVW. Glad ya got it working! icon_razz.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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
You cannot attach files in this forum
You cannot download files in this forum