걸

Warning: Cannot modify header... 경고창

로칼 서버에서 작업 수정한 파일(write.skin.php등 다수)을 ftp로 제 홈페이지(www.biz-nara.com)main 서버에 전송하고 나서 보니 "글쓰기" 창을 불러 올때 다음과 같은 경고 메세지가 뜹니다.

어디를 손봐야 하는지요?

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/biznara/public_html/bbs/write.php:1) in /home/biznara/public_html/head.sub.php on line 38

댓글 2개

header를 두번 전송하면 발생하는 오류입니다.
head.sub.php의 내용이 중복되지 않는지 확인해 보세요.
답변 감사드리고 귀 충고로 해결했습니다.

원인을 조사했더니, write.php 화일의 첫줄에 안보던 "<i></i>"이 <? 앞에 끼어 있네요. <i></i>는 내가 써 넣은 적도 없고 이게 무엇인지도 모르느데 왜 이것들이 버그처럼 몰래 기어 들어와 <? 앞에 끼어 있는건지 도대체 알 수가 없지만 암튼 싹 날려 버리니 정상적으로 되네요.

저같은 왕초보들을 돌게 만드는 것은 바로 이와같이 불가사의한 일들입니다.
"<i></i>"는 도대체 뭔지 참.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
12-04-11 조회 1,112
12-04-11 조회 1,657
12-04-11 조회 2,193
12-04-10 조회 1,177
12-04-10 조회 1,101
12-04-10 조회 1,134
12-04-10 조회 1,769
12-04-10 조회 731
12-04-10 조회 1,645
12-04-10 조회 4,162
12-04-10 조회 1,705
12-04-10 조회 926
12-04-10 조회 896
12-04-10 조회 1,753
12-04-10 조회 1,681
12-04-10 조회 1,038
12-04-10 조회 952
12-04-10 조회 1,686
12-04-10 조회 942
12-04-10 조회 1,731