Warning: Cannot modify header information 메세지 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

Warning: Cannot modify header information 메세지 정보

Warning: Cannot modify header information 메세지

본문

Warning: Cannot modify header information - headers already sent by (output started at /iweb/edesign50/wwwhome/noframe/index.php:2) in /iweb/edesign50/wwwhome/gnuboard4/common.php on line 8
/gnuboard4 에 그누보드 설치되어있구요
/noframe 에 index가 있습니다.

어느분이 알려주신대로
_common.php
<?
$g4_path = "../gnuboard4";
include_once("$g4_path/common.php");
?>

index.php
<?
include ("_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>

를 했습니다. 했더니

Warning: Cannot modify header information - headers already sent by (output started at /iweb/edesign50/wwwhome/noframe/index.php:2) in /iweb/edesign50/wwwhome/gnuboard4/common.php on line 8


라고 나와서
common.php 8 라인에 가니

header('P3P: CP="ALL CURa ADMa DEVa TAIa OUR BUS IND PHY ONL UNI PUR FIN COM NAV INT DEM CNT STA POL HEA PRE LOC OTC"');

있습니다. 무슨말인지;;


외부로그인하는데 너무 어렵네요. 오늘까지인데.... 이틀째 외부로그인에서 어엉어엉ㅜㅜ

제가 모르고 common.php를 다른파일로 대채해 버려서 다시 그누보드 원본폴더에 있는 common.php를 복사해서 대치해 넣었는데 그게 잘못되었을까요? 혹시 common.php파일이 그누보드설치할때 내용물이 바뀌나요?

알려주세요. 저 홍대에 있습니다. 해결해 드리면 술,밥 뭐든지 다 사드립니다 ㅜㅜ
  • 복사

댓글 전체

옴바// 안됩니다 e_index로 바꾸고 _common 파일도 _commonn으로 바꿔서 넣어서 돌렸는데
같은
Warning: Cannot modify header information - headers already sent by (output started at /iweb/edesign50/wwwhome/gnuboard4/e_index.php:2) in /iweb/edesign50/wwwhome/gnuboard4/common.php on line 8
 메세지가 나오네요
엑스엠엘// 계속 답글 달아 주셔서 감사합니다.
head위에 넣었습니다.

아악!!!!!!!!!!!

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

이걸 지우니까 되네요?
대채 저게 뭐였단 말입니까!!!!???
드림위버로 코딩하니까 맨위에 저 코드가 붙었었는데....
감사합니다 엑스엠엘님
© SIRSOFT
현재 페이지 제일 처음으로