남

_common.php

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

오류 주소 : http://cod1.cafe24.com/gnuboard4/

Warning: main(./gnuboard4/common.php) [function.main]: failed to create stream: No such file or directory in /home/hosting_users/cod1/www/gnuboard4/_common.php on line 3

Warning: main() [function.main]: Failed opening './gnuboard4/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/cod1/www/gnuboard4/_common.php on line 3

Warning: main(/lib/latest.lib.php) [function.main]: failed to create stream: No such file or directory in /home/hosting_users/cod1/www/gnuboard4/index.php on line 3

Warning: main() [function.main]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/cod1/www/gnuboard4/index.php on line 3

댓글 1개

해결 했습니다. 경로 문제 였군요.

저의 경우 www 루트 경로 아래에 gnuboard4 라는 폴더를 만들어 사용 했는데 그러면서 경로가 꼬였던 것 같습니다.

_common.php 각각의 폴더별로
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>

.. 혹은 ./ 혹은 $g4_path = "./gnuboard4";
조정을 했더니 해결이 되는군요.

^______________________________________^

상대경로를 쓰기 때문에 경로설정이 중요 하군요.
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
08-06-24 조회 919
08-06-24 조회 855
08-06-24 조회 823
08-06-24 조회 1,042
08-06-24 조회 935
08-06-23 조회 963
08-06-23 조회 2,819
08-06-23 조회 1,230
08-06-23 조회 1,046
08-06-23 조회 869
08-06-23 조회 816
08-06-23 조회 769
08-06-23 조회 808
08-06-23 조회 782
08-06-23 조회 1,789
08-06-23 조회 824
08-06-23 조회 967
08-06-23 조회 1,057
08-06-23 조회 1,271
08-06-23 조회 1,802