_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 질문답변

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

+
제목 글쓴이 날짜 조회
17년 전 조회 827
17년 전 조회 682
17년 전 조회 788
17년 전 조회 781
17년 전 조회 852
17년 전 조회 792
17년 전 조회 775
17년 전 조회 799
17년 전 조회 755
17년 전 조회 834
17년 전 조회 787
17년 전 조회 754
17년 전 조회 954
17년 전 조회 856
17년 전 조회 882
17년 전 조회 2,729
17년 전 조회 1,163
17년 전 조회 987
17년 전 조회 811
17년 전 조회 744