p

최신글 경로 문제??? 이상하네요

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

오류 주소 : http://skkupolymer.com/nanobio/

그누보드는 www/ 에 깔려있구요 www/nanobio 안에서 최신글을 불러오니 이렇게 뜨네요

Warning: latest(./board/latest.skin.php): failed to open stream: No such file or directory in /home/hosting_users/skkupolymer/www/nanobio/lib/latest.lib.php on line 29

Warning: latest(./board/latest.skin.php): failed to open stream: No such file or directory in /home/hosting_users/skkupolymer/www/nanobio/lib/latest.lib.php on line 29

Warning: latest(): Failed opening './board/latest.skin.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/skkupolymer/www/nanobio/lib/latest.lib.php on line 29



분명 그누보드 깔린경로로 다음과 같이 상단에 넣었는데 말이죠

<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = " ";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>

이렇게 해도 안되고

<?
include_once("./_common.php");
include_once("./lib/latest.lib.php");

$g4['title'] = " ";
include_once("./head.sub.php");
include_once("./lib/outlogin.lib.php");
include_once("./lib/poll.lib.php");
include_once("./lib/visit.lib.php");
include_once("./lib/connect.lib.php");
include_once("./lib/popular.lib.php");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>

이렇게 해도 안됩니다.

댓글 1개

상단에

$g4_path = "."; // common.php 의 상대 경로 가 빠진게 아닐까요 ?

include_once("$g4_path/common.php");
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
09-02-04 조회 836
09-02-04 조회 837
09-02-04 조회 825
09-02-04 조회 857
09-02-04 조회 1,001
09-02-04 조회 848
09-02-04 조회 1,049
09-02-04 조회 1,025
09-02-04 조회 843
09-02-04 조회 892
09-02-04 조회 1,853
09-02-04 조회 926
09-02-04 조회 841
09-02-04 조회 1,001
09-02-03 조회 866
09-02-03 조회 838
09-02-03 조회 881
09-02-03 조회 791
09-02-03 조회 1,022
09-02-03 조회 1,100