디렉토리 수정후 관리자모드 접속 에러 문의 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

디렉토리 수정후 관리자모드 접속 에러 문의 정보

디렉토리 수정후 관리자모드 접속 에러 문의

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소

    <?
        $g4_path = "./gnuboard"; // common.php의 상대경로
        include_once "$g4_path/common.php";
        include_once("$g4[path]/lib/latest.lib.php");
      ?> 
<html>
 <head></head>
<body>
        <? echo latest("basic","custom1",4,40); ?>
</body>
</html>

 index.html 에 위와같이 소스 넣었습니다
그리고  _common.php 파일안에있는 소스 중 상대경로를

<?
$g4_path = "./gnuboard"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>

위와같이 수정했습니다.

최근글은 출력이 되는데요.....
관리자 모드로 접속하면 에러가 납니다 아래와같은 에러입니다
Warning: main(./gnuboard/common.php) [function.main]: failed to open stream: No such file or directory in /www/suwondent/public_html/gnuboard/_common.php on line 3

Warning: main() [function.include]: Failed opening './gnuboard/common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/suwondent/public_html/gnuboard/_common.php on line 3

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /www/suwondent/public_html/gnuboard/index.php on line 3

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /www/suwondent/public_html/gnuboard/index.php on line 3


_common.php 파일소스를 수정하면  관리자접속 에러가 나는데요.
 왜그런가요?
어디를 어떻게 해야 되는지요?

댓글 전체

/www/suwondent/public_html/gnuboard/_common.php 의 3번째 줄에 있는 ./gnuboard/common.php 상대 경로 지정이 잘못되서 파일이나 디렉토리가 없다고 하네요 확인해보세용
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT