클릭하면 이런 에러가 나오는 경우에 대한 해결책이 궁금합니다. > 그누4 질문답변

그누4 질문답변

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

클릭하면 이런 에러가 나오는 경우에 대한 해결책이 궁금합니다. 정보

클릭하면 이런 에러가 나오는 경우에 대한 해결책이 궁금합니다.

본문

로그인 버튼을 클릭하면 나오는 부분이라서요
혹시 해결책을 아시는 분 잇으면 가르쳐주시면 감사드립니다.
제가 초보라서 잘 이해를 못하다보니 원인을 알 수 없어서요
프로분들 잘 부탁드립니다.

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

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

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

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

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

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/phototalcom/www/head.php:1) in /home/hosting_users/phototalcom/www/head.sub.php on line 38
  • 복사

댓글 전체

그누보드는 head.sub.php 파일에서 header가 선언이 되어 있습니다.
그 이전에 header가 선언되어 있거나
혹 header앞에 테그가 있는지 확인해 보세요.

그리고 아래 링크도 참고해 보세요.
http://blog.naver.com/lkylike?Redirect=Log&logNo=80121182210
head.sub.php 에 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

를 주석처리해주시면 잘 되요
주석처리를 하는게 좋은 아닙니다
오류는 그대로 존재 한다는 말이니까요
오류나는 페이지에서 불러오는 상단파일들의 인코딩이 utf-8+ 로 되어있는 경우 utf-8로 바꾸시고, 불러오는 페이지들의 php종료후( "?> 이표시 이후") 엔터나 스페이스가 있다면 삭제해 주시면 해결 할 수 있으실 겁니다
© SIRSOFT
현재 페이지 제일 처음으로