홈페이지 상단 Warning: Cannot modify 오류 채택완료
자사용하던 호스팅 서버에서 다른 호스팅 서버로 백업후 복구를 했는데 복구하고나니 레이아웃 상단에
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 579
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 581
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 582
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 583
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 584
Warning: Cannot modify header information - headers already sent by (output started at /home/bbs/index.php:1) in /home/bbs/common.php on line 585
메시지가 출력되더군요 혹시나 싶어 검색해보니 해당 파일에 빈검색어가 있다고하는데 해당 파일은 애초에
수정하거나 건들지도않았고 혹시나 싶어 그누보드5 파일 받아 원본파일 올려봐도 증상은 똑같네요.
해당 소스 봐도 딱히 문제될만한 오류가없는데 해결방법이 없으니 미칠꺼같네요.
호스팅 서버 이전하기전까지만해도 아무런 문제없이 잘사용하던건데 이전하고서 이런문제가 발생하네요.
답변 1개
답변에 대한 댓글 3개
/home/bbs/index.php 파일 또는 해당 파일에서 인클루드하고 있는 파일들에서
공백, 줄바뀜 또는 echo 등으로 먼저 출력된 것이 있어서 그런것입니다. 해당 부분 찾기가 힘드시면 그렇게 하시는것도...
서버 이전하기전까지만해도 아무런 문제가 없던건데 이전하고나서 오류가 발생하니깐 답답하더라고요.
결국엔 데이터파일이랑 게시글 백업해서 새로설치해서 복구하긴햇지만..난감하더라고요.
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
파일만 과 게시글만 백업후 싹지우고 다시해야겠네요.