WEBPD

관리자 페이지 오류

서버이전 후 관리자 페이지에 다음과 같은 오류가 뜹니다.

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/common.php on line 3

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 56

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 58

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 59

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 60

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 61

Warning: Cannot modify header information - headers already sent by (output started at /www/도메인.com/y/w/a/ywam/htdocs/common.php:1) in /www/도메인.com/y/w/a/ywam/htdocs/head.sub.php on line 62


어떻게 해결해야 하는지요?

에러페이지의 내용은 다음과 같습니다.

common.php
2 /*******************************************************************************
3 ** 공통 변수, 상수, 코드
4 *******************************************************************************/

head.sub.php
53 자바스크립트에서 go(-1) 함수를 쓰면 폼값이 사라질때 해당 폼의 상단에 사용하면
54 캐쉬의 내용을 가져옴. 완전한지는 검증되지 않음
55 header("Content-Type: text/html; charset=$g4[charset]");
56 $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
57 header("Expires: 0"); // rfc2616 - Section 14.21
58 header("Last-Modified: " . $gmnow);
59 header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
60 header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
61 header("Pragma: no-cache"); // HTTP/1.0
62 ?>
|

댓글 2개

include("./_common.php");
include("./_head.php");
위로는 어떠한 내용도 있어서는 안됩니다.. (주석 포함)
접속한 페이지의 파일을 찾아가보세요^^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 954
17년 전 조회 1,005
17년 전 조회 794
17년 전 조회 779
17년 전 조회 779
17년 전 조회 766
17년 전 조회 860
17년 전 조회 1,844
17년 전 조회 1,549
17년 전 조회 766
17년 전 조회 850
17년 전 조회 767
17년 전 조회 916
17년 전 조회 768
17년 전 조회 804
17년 전 조회 974
17년 전 조회 1,039
17년 전 조회 1,360
17년 전 조회 1,546
17년 전 조회 1,207