테스트 사이트 - 개발 중인 베타 버전입니다

경고문구 지우는방법 채택완료

blackbr 7년 전 조회 2,400

게시판 위에

 

Warning: include(./include/title.php): failed to open stream: No such file or directory in /home/wonil/public_html/m/sub02_01.php on line 10

Warning: include(./include/title.php): failed to open stream: No such file or directory in /home/wonil/public_html/m/sub02_01.php on line 10

Warning: include(): Failed opening './include/title.php' for inclusion (include_path='.:/usr/share/pear:/usr/share/php') in /home/wonil/public_html/m/sub02_01.php on line 10

 

이게 뜨는데 왜뜨는건가요?

저부분 어떻게해야 지울수있는건가요

댓글을 작성하려면 로그인이 필요합니다.

답변 3개

채택된 답변
+20 포인트
베원
7년 전

아예 저런게 나타나는게 싫으시면

common.php 상단에 이런 문구를 추가해보십시오.

 

</p>

<p>error_reporting(0);</p>

<p>ini_set("display_errors", "off");</p>

<p>

로그인 후 평가할 수 있습니다

답변에 대한 댓글 1개

채지연
7년 전
좋은 해결이네용@!

댓글을 작성하려면 로그인이 필요합니다.

플래토
7년 전

경고문구를 지우시는방법

 

없는경우에도

include_once 사용하실때

앞에

 

@include_once( ... 

해보세요

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

d
7년 전

/home/wonil/public_html/m/include/title.php

에러는 저 위치에 저 파일이 없어서 나오는 현상입니다.

위치에 따라서 아래처럼 바꿔 보세요..

include(../include/title.php);

include(../../include/title.php);

로그인 후 평가할 수 있습니다

댓글을 작성하려면 로그인이 필요합니다.

답변을 작성하려면 로그인이 필요합니다.

로그인