이런 에러는 어디가 문제일까요?
본문
http://hangbok.woobi.co.kr/ 홈페이지 인덱스화면입니다.
상단에 아래와 같은 에러메시지가 나옵니다.
왜 그런가요?
Warning: scandir(/home/hangbok96/www/tmpl): failed to open dir: No such file or directory in /home/hangbok96/www/extend/template.extend.php on line 28 Warning: scandir(): (errno 2): No such file or directory in /home/hangbok96/www/extend/template.extend.php on line 28 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 553 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 555 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 556 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 557 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 558 Warning: Cannot modify header information - headers already sent by (output started at /home/hangbok96/www/extend/template.extend.php:28) in /home/hangbok96/www/common.php on line 559
답변 1
tmpl 이라는 디렉토리를 발견하지 못했다는 경고 메시지가 출력되고 있는 겁니다.
밑으로는 header 출력전에 출력된 문구가 있어 발생하는 오류이구요.
home/hangbok96/www/ 디렉토리 밑에 tmpl 이라는 디렉토리를 생성해 주셔야 할것 같습니다.