오류문구 > 그누4 질문답변

그누4 질문답변

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

오류문구 정보

오류문구

본문

 
 
Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home1/dietchoi/public_html/head.php:2) in /home1/dietchoi/public_html/head.sub.php on line 38 
 
 
 
상단에 저런 오류가 뜨는데..몇번 올렸는데..적용해도 안되네요..
도와주세요.ㅡ
 
 <링크 건거에서는 일단 주석처리 해서 안보이게해놨습니다. 클라이언트가 보고 있어서요.^^:;
   근데 위에 부분 주석처리 해도 상관이 없나요? 저 줄은 어떤 의미인지요;; 그냥 주석처리 할까 해서요.^^:;>
 
 
검색하다가
 
2. Warning: Cannot add header information - headers already sent by (output started at 경로:줄 수) in 경로 on line 줄 수
->헤더 정보를 추가할 수 없다 - 헤더가 벌써 보내졌다(?) (X줄 부터 출력되었다)

헤더 실행 위치의 오류입니다. 헤더는 출력 구문 앞에 와야만 하는데, 그렇지 못한 경우에 오류가 생깁니다. 앞의 줄 수는 맨 위에 있는 출력 구문(echo문, print문 등)의 위치이고 뒤의 줄 수는 헤더문의 위치입니다.
->1. 헤더를 올바른 위치에 둔다.
  2. 오류가 일어나는 파일의 맨 위에 ob_start()함수를 위치시킨다(이 함수를 호출하면 저런 에러를 무시합니다).
 
 
 
이런 문구를 찾았는데. 잘 이해가 안됩니다.
헤더를 올바른 위치에 두는것이 무엇인지
ob_start함수를 어디 부분에 위치시켜야 하는지요..
  • 복사

댓글 전체

© SIRSOFT
현재 페이지 제일 처음으로