테스트 사이트 - 개발 중인 베타 버전입니다

Warning: Cannot modify header... 경고창

· 13년 전 · 1570 · 2
로칼 서버에서 작업 수정한 파일(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의 내용이 중복되지 않는지 확인해 보세요.
13년 전
답변 감사드리고 귀 충고로 해결했습니다.

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

저같은 왕초보들을 돌게 만드는 것은 바로 이와같이 불가사의한 일들입니다.
"<i></i>"는 도대체 뭔지 참.

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440