T

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 -->
?>

이부분에 뭐를 어떻게 해야 하는지 ㅜ.ㅜ
|

댓글 2개

extend/level.extend.php 파일을 백업한 후에 서버상의 파일을 지워보시고 확인해보세요~
그리고 오류문구가 없어지면 level.extend.php 내용으로 재질문을...
음:
저도 같은 질문이요::
제 경우는 전담당자가 level.extend.php를 없애버렷거든요:
구문은 같은데:
그래서 에러::::
그런 경우 heade구문을변경해야할것같은데어떻게처리해야하나요?
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
16년 전 조회 805
16년 전 조회 892
16년 전 조회 900
16년 전 조회 901
16년 전 조회 1,187
16년 전 조회 824
16년 전 조회 910
16년 전 조회 817
16년 전 조회 1,565
16년 전 조회 1,161
16년 전 조회 781
16년 전 조회 953
16년 전 조회 930
16년 전 조회 934
16년 전 조회 789
16년 전 조회 773
16년 전 조회 1,022
16년 전 조회 794
16년 전 조회 749
16년 전 조회 777