갑자기 홈페이지 접속시 에러가 떠요.. > 그누4 질문답변

그누4 질문답변

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

갑자기 홈페이지 접속시 에러가 떠요.. 정보

갑자기 홈페이지 접속시 에러가 떠요..

본문

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\lib\common.lib.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at c:\apm_setup\htdocs\monato\config.php:81) in c:\apm_setup\htdocs\monato\head.sub.php on line 38
  • 복사

댓글 전체

이렇게 해 보세요

 Warning: Cannot add header information - headers already sent by (output started at 경로:줄 수) in 경로 on line 줄 수
->헤더 정보를 추가할 수 없다 - 헤더가 벌써 보내졌다(?) (X줄 부터 출력되었다)

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

상세한 에러에 대한 것은 다음을 참고하세요!
http://www.sir.co.kr/bbs/board.php?bo_table=pl_php&wr_id=33&page=4
© SIRSOFT
현재 페이지 제일 처음으로