head.sub.php 에러 정보
head.sub.php 에러본문
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.
오류 주소 :
head.sub.php
에러메세지
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 38
상위 에러가 가르키는 소스는..
// 현재 접속자
//$lo_location = get_text($g4[title]);
//$lo_location = $g4[title];
// 게시판 제목에 ' 포함되면 오류 발생
$lo_location = addslashes($g4['title']);
if (!$lo_location)
$lo_location = $_SERVER['REQUEST_URI'];
//$lo_url = $g4[url] . $_SERVER['REQUEST_URI'];
$lo_url = $_SERVER['REQUEST_URI'];
if (strstr($lo_url, "/$g4[admin]/") || $is_admin == "super") $lo_url = "";
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
// 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0 -->
?>
이부분에 뭐를 어떻게 해야 하는지 ㅜ.ㅜ
오류 주소 :
head.sub.php
에러메세지
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 31
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 33
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 35
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 36
Warning: Cannot modify header information - headers already sent by (output started at /web/home/ting/html/extend/level.extend.php:1) in /web/home/ting/html/head.sub.php on line 38
상위 에러가 가르키는 소스는..
// 현재 접속자
//$lo_location = get_text($g4[title]);
//$lo_location = $g4[title];
// 게시판 제목에 ' 포함되면 오류 발생
$lo_location = addslashes($g4['title']);
if (!$lo_location)
$lo_location = $_SERVER['REQUEST_URI'];
//$lo_url = $g4[url] . $_SERVER['REQUEST_URI'];
$lo_url = $_SERVER['REQUEST_URI'];
if (strstr($lo_url, "/$g4[admin]/") || $is_admin == "super") $lo_url = "";
// 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
// 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0 -->
?>
이부분에 뭐를 어떻게 해야 하는지 ㅜ.ㅜ
댓글 전체
extend/level.extend.php 파일을 백업한 후에 서버상의 파일을 지워보시고 확인해보세요~
그리고 오류문구가 없어지면 level.extend.php 내용으로 재질문을...
그리고 오류문구가 없어지면 level.extend.php 내용으로 재질문을...
음:
저도 같은 질문이요::
제 경우는 전담당자가 level.extend.php를 없애버렷거든요:
구문은 같은데:
그래서 에러::::
그런 경우 heade구문을변경해야할것같은데어떻게처리해야하나요?
저도 같은 질문이요::
제 경우는 전담당자가 level.extend.php를 없애버렷거든요:
구문은 같은데:
그래서 에러::::
그런 경우 heade구문을변경해야할것같은데어떻게처리해야하나요?