Home 게시판 커뮤니티 Q&A Cannot modify header information 경고는 무엇인가요>

4개 답변, 2 voices Last updated by Avatar of GosingaGosinga 18 years, 3 months 전
  • Avatar of lillylilly
    Participant
    @lilly
    #774

    특정 플러그인을 활성화만 시키면 발생한다면,

    해당 플러그인의 파일을 확인해보시길 바랍니다.

    Avatar of lillylilly
    Participant
    @lilly
    #775

    플러그인을 쓰고 싶어서 php 파일을 플러그인즈 폴더에 올리고
    활성화만 시키면 이런 경고가 떠요.
    그리고 이 경고 나오고 나서

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-admin/plugins.php on line 16

    로그아웃을 하면

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-login.php on line 9

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 234

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 236

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 194

    이런 게 나오면서 로그아웃이 안되요.

    어떤 에러죠? 전혀 이런데에 사전 지식이 없어서 힘드네요.

    Avatar of lillylilly
    Participant
    @lilly
    #777

    플러그인을 쓰고 싶어서 php 파일을 플러그인즈 폴더에 올리고
    활성화만 시키면 이런 경고가 떠요.
    그리고 이 경고 나오고 나서

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-admin/plugins.php on line 16

    로그아웃을 하면

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-login.php on line 9

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 234

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 235

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 236

    Warning: Cannot modify header information – headers already sent by (output started at /home1/africasia/public_html/invisible/wp-content/plugins/holler.php:2) in /home1/africasia/public_html/invisible/wp-includes/pluggable-functions.php on line 194

    이런 게 나오면서 로그아웃이 안되요.

    어떤 에러죠? 전혀 이런데에 사전 지식이 없어서 힘드네요.

    Avatar of GosingaGosinga
    Participant
    @Gosinga
    #776

    위드프레스 사용자들이 자주 겪는 Headers already sent 오류입니다. 이 오류를 정정하기 위해서는 wp-content/plugins/holler.php:2 파일을 점검해야 합니다.

    1. holler.php의 첫 문장은 <?php 로 시작할텐데, 이 <?php 앞에 공백을 두면 이런 결가가 발생할 수 있습니다.

    2. holler.php의 마지막 문장은 ?> 로 끝날텐데, 이 ?> 뒤에 공백을 남기면 이런 결과가 발생할 수 있습니다.

    3. holler.php 파일을 저장할 때 노트패드나 편집기에서 ANSI 코드로 저장하지 않고 utf-8로 저장할 때 이런 결과가 발생할 수 있습니다.

    Avatar of GosingaGosinga
    Participant
    @Gosinga
    #778

    위드프레스 사용자들이 자주 겪는 Headers already sent 오류입니다. 이 오류를 정정하기 위해서는 wp-content/plugins/holler.php:2 파일을 점검해야 합니다.

    1. holler.php의 첫 문장은 <?php 로 시작할텐데, 이 <?php 앞에 공백을 두면 이런 결가가 발생할 수 있습니다.

    2. holler.php의 마지막 문장은 ?> 로 끝날텐데, 이 ?> 뒤에 공백을 남기면 이런 결과가 발생할 수 있습니다.

    3. holler.php 파일을 저장할 때 노트패드나 편집기에서 ANSI 코드로 저장하지 않고 utf-8로 저장할 때 이런 결과가 발생할 수 있습니다.

5 글 보임 - 1에서 5 까지 (총 5 중에서)
  • 답변은 로그인 후 가능합니다.