최

최근 게시물 자꾸 에러가 나네요.도와주세요

· 2011-12-17 (토) 02:03:10 · 2575 · 3
Warning: include_once(gboard/common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home/kimjihoon/html/index.html on line 3

Warning: include_once() [function.include]: Failed opening 'gboard/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home/kimjihoon/html/index.html on line 3
홈페이지 상단에 이런 에러가 뜹니다

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

로 넣고



최근 게시물이 들어가는 테이블 안에

<td><?=latest_group("gallery", "skyda_photo", 20, 50); ?> </td>


넣었는데 뭐가 문제 인가요?

초보라서 도무지 모르겠습니다..ㅠㅠ

5시간째 인터넷 뒤지면서 찾는중인데 모르겠네요;;


아시는분 있으시면 꼭 좀 도와주세요
|

댓글 3개

include_once("$g4[path]/lib/latest.lib.php"); 요거 빼먹으신듯..

그리고 헤더도 빼먹으셨네요

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

$g4['title'] = "";
include_once("./_head.php");
?>
혹시 가능하시면 원격으로 좀 봐주실 있나요?ㅜㅜ
gboard/common.php 가 경로가 틀리거나 없다는 에러입니다

index.html 파일이 있는 곳을 기준으로
gboard폴더가 존재하는지 경로가 맞는지부터 체크하시길 권장합니다
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-12-17 조회 987
11-12-17 조회 1,652
11-12-17 조회 1,090
11-12-17 조회 833
11-12-17 조회 908
11-12-17 조회 1,083
11-12-17 조회 883
11-12-17 조회 856
11-12-17 조회 845
11-12-17 조회 879
11-12-17 조회 2,486
11-12-17 조회 1,685
11-12-17 조회 972
11-12-17 조회 603
11-12-17 조회 772
11-12-17 조회 2,275
11-12-17 조회 2,576
11-12-17 조회 3,107
11-12-17 조회 3,047
11-12-16 조회 1,178