이런 오류나는건 어떻게 수정해야되나요?

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/goakana/www/gnu/head4.php:7) in /home/hosting_users/goakana/www/gnu/head.sub.php on line 38
 
---------------------
 
하나 해결하면 또 하나가 말썽이고..
 
정말 미치겠습니다 ㅠㅠ
|

댓글 8개

고아칸님,, 저도 처음에,,아니 지금도 미칩니다,,^^;;
하지만 찾아보시면 답들이 나와 있거든요,,
http://www.sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=48984&sca=&sfl=wr_subject%7C%7Cwr_content&stx=headers+already&sop=and
한번 오류 구문으로 검색해보세요~~ ^^
다른 답변을 보구 32~38라인들을 그냥 다 지워버렸는데요. 그렇게 하니깐 되네요.

근데 지운거 없어도 되는건지요?ㅡ,.ㅡ;;
뭘 지우셨는지 모르겠습니다,,;;;
잘 모르시면 지우지 마시고 주석처리하시는게 좋으실것 같습니다,,
답변에도 새나라어른님께서
================================
// 로 라인 주석 처리 하셔도 됩니다.
// 라인 앞에 // 요거 쓰시면 됩니다.
// 이렇게 말이죠.ㅎㅎㅎ
=================================
라고 하셨네요,,
주석처리하라고,,
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

요걸 싹둑 지워버렸어요-0-;;;
소스 수정 안하셨으면 원래 소스로 덥어씌우고 그부분 주석처리하세요,,
뭐,, 허접한 답변이라,,
도와드리고 싶은 마음에 글 적습니다,, ^^
uft-8설치했나요?
// 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

----

전부 요로케 만들면 되죠?ㅜㅜ 답변 감사합니다^^;;
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
18년 전 조회 1,504
18년 전 조회 1,659
18년 전 조회 1,516
18년 전 조회 1,416
18년 전 조회 1,523
18년 전 조회 1,539
18년 전 조회 1,547
18년 전 조회 1,516
18년 전 조회 1,509
18년 전 조회 1,596
18년 전 조회 1,524
18년 전 조회 1,521
18년 전 조회 1,500
18년 전 조회 1,513
18년 전 조회 1,528
18년 전 조회 1,568
18년 전 조회 1,513
18년 전 조회 1,456
18년 전 조회 1,620
18년 전 조회 1,526
🐛 버그신고