호스팅 옮기고 재 설치후, 에러가 나옵니다.
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 92
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 94
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 95
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 96
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 97
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 98
기존의 호스팅에서 타호스팅으로 이전을 하고, 그대로 복원설치를 완료하였는데
위와 같은 에러가 발생을 합니다. 해당 head.sub.php 에러줄의 내용을 대략 확인해보니 아래와 같습니다.
----------------------------------------------------------------
92라인) header("Content-Type: text/html; charset=$g4[charset]");
93라인) $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
94라인) header("Expires: 0"); // rfc2616 - Section 14.21
95라인) header("Last-Modified: " . $gmnow);
96라인) header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
97라인) header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
98라인) header("Pragma: no-cache"); // HTTP/1.0
------------------------------------------------------------------------
대충보니 세션관련인듯한데
/data/session/ 폴더내의 세션파일도 모두 삭제처리해서 깨끗이 비워둔 상태인데
어디서 왜 이런 에러를 일으키는지 모르겠네요.
경험있으신 분들의 도움글이나 해결방법을 좀 부탁드립니다.
참고로, '웹제로'에서 '마루넷'으로 호스팅을 옮겼습니다.
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 94
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 95
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 96
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 97
Warning: Cannot modify header information - headers already sent by (output started at /home/myboxing/public_html/ysboard/head.sub.php:19) in /home/myboxing/public_html/ysboard/head.sub.php on line 98
기존의 호스팅에서 타호스팅으로 이전을 하고, 그대로 복원설치를 완료하였는데
위와 같은 에러가 발생을 합니다. 해당 head.sub.php 에러줄의 내용을 대략 확인해보니 아래와 같습니다.
----------------------------------------------------------------
92라인) header("Content-Type: text/html; charset=$g4[charset]");
93라인) $gmnow = gmdate("D, d M Y H:i:s") . " GMT";
94라인) header("Expires: 0"); // rfc2616 - Section 14.21
95라인) header("Last-Modified: " . $gmnow);
96라인) header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
97라인) header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
98라인) header("Pragma: no-cache"); // HTTP/1.0
------------------------------------------------------------------------
대충보니 세션관련인듯한데
/data/session/ 폴더내의 세션파일도 모두 삭제처리해서 깨끗이 비워둔 상태인데
어디서 왜 이런 에러를 일으키는지 모르겠네요.
경험있으신 분들의 도움글이나 해결방법을 좀 부탁드립니다.
참고로, '웹제로'에서 '마루넷'으로 호스팅을 옮겼습니다.
댓글 2개
14년 전
저기가 아니라 19 줄이 문제입니다.
atria
14년 전
감사합니다.
확인해보니 주석으로 처리된 부분이있는데 그걸 지우니 에러가 사라지네요.
기존 호스팅에서는 이상이 없는데.... 왜 주석처리된 부분이 에러가 생기는지는 잘모르겠네요
어쨋던 해결되었으니 감사 ^^
확인해보니 주석으로 처리된 부분이있는데 그걸 지우니 에러가 사라지네요.
기존 호스팅에서는 이상이 없는데.... 왜 주석처리된 부분이 에러가 생기는지는 잘모르겠네요
어쨋던 해결되었으니 감사 ^^
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66434 | 11년 전 | 2820 | ||
| 66433 |
|
11년 전 | 3593 | |
| 66432 |
열라뽕똬이
|
11년 전 | 2065 | |
| 66431 |
겸손1935
|
11년 전 | 4981 | |
| 66430 |
hyeyun
|
11년 전 | 3165 | |
| 66429 | 11년 전 | 2076 | ||
| 66428 | 11년 전 | 2814 | ||
| 66427 | 11년 전 | 3899 | ||
| 66426 | 11년 전 | 2583 | ||
| 66425 |
스카이바디
|
11년 전 | 3184 | |
| 66424 |
|
11년 전 | 2287 | |
| 66423 | 11년 전 | 3188 | ||
| 66422 | 11년 전 | 2531 | ||
| 66421 | 11년 전 | 1945 | ||
| 66420 |
해피마인드
|
11년 전 | 3700 | |
| 66419 |
겸손1935
|
11년 전 | 2161 | |
| 66418 | 11년 전 | 3072 | ||
| 66417 | 11년 전 | 3058 | ||
| 66416 |
|
11년 전 | 4558 | |
| 66415 | 11년 전 | 5150 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기