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

에러코드 접속 불가인 부분. 도와주세요 채택완료

엉2엉2 4년 전 조회 1,348

Warning: dir(/host/home2/heheo3/html/extend): failed to open dir: No such file or directory in /host/home2/heheo3/html/common.php on line 688

Fatal error: Uncaught Error: Call to a member function read() on bool in /host/home2/heheo3/html/common.php:689 Stack trace: #0 /host/home2/heheo3/html/_common.php(2): include_once() #1 /host/home2/heheo3/html/index.php(2): include_once('/host/home2/heh...') #2 {main} thrown in /host/home2/heheo3/html/common.php on line 689

 

잘되다가 index.php 수정중 갑자기 이렇게 에러가 떴습니다.
저 위치에 에러다 라는것밖에 모르겠네요 제발 고수님들의 도움 부탁드립니다...
닷홈이용중인데 그쪽 문제는 아니라고하네요.
common 파일은 건드린적은 없습니다.


--------------------------------------------------------------

688과 689 부분

$extend_file = array();

$tmp = dir(G5_EXTEND_PATH);

while ($entry = $tmp->read()) {

    // php 파일만 include 함

    if (preg_match("/(\.php)$/i", $entry))

        $extend_file[] = $entry;

}</p>

<p>

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

답변 1개

채택된 답변
+20 포인트
4년 전

/host/home2/heheo3/html/extend

폴더가 제대로 있는지 확인해보세요~

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

답변에 대한 댓글 1개

엉2엉2
4년 전
세상에 감사합니다♡

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

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

로그인