최근게시물 추출 진짜 못하겠습니다. 2일꼬박 고생하고 고수님들께 도움을 요청드립니다. 정보
최근게시물 추출 진짜 못하겠습니다. 2일꼬박 고생하고 고수님들께 도움을 요청드립니다.본문
2틀동안 거의 꼬박 고생고생하고 있는데 도저히 모르겠습니다.
초보를 가여워하시고 좀 조언주시면 감사하겠습니다.
호스팅- 카페24
(그누보드 설치하여 세부페이지에서는 잘돌아갑니다)
파일구조는
www/index.htm
www/gnuboard4/그누보드관련 자료는 그누보드 메뉴얼대로 그대로 올리고 설치하였기에
이 곳에 다 있는 상태입니다.
세부페이지에 설치한 일반 그누보드 게시판은 잘 작동하는 데 최근게시물은 index페이지에
추출하려고 하니 아래와 같은 오류가 납니다.
2일동안 별짓다해봤는데 너무너무 힘드네요.
문제점을 아실 수 있으신 고수분들의 답변에 도움을 구합니다. 정말 힘듭니다. ㅜㅜ
-----------------index.htm 상단 에러메세지는 다음과 같습니다
Warning: main(../gnuboard4/common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/campingtimes/www/index4.htm on line 3
Warning: main() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/campingtimes/www/index4.htm on line 3
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/campingtimes/www/index4.htm on line 4
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/campingtimes/www/index4.htm on line 4
------------- index 최근게시물이 나와야할 곳의 에러메세지는 다음과 같습니다.
Fatal error: Call to undefined function: latest() in /home/hosting_users/campingtimes/www/index4.htm on line 109
--------------index 페이지 상단소스와 최근게시물 나올 곳의 소스는 다음과 같습니다.
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "free", 5, 70);?>
초보를 가여워하시고 좀 조언주시면 감사하겠습니다.
호스팅- 카페24
(그누보드 설치하여 세부페이지에서는 잘돌아갑니다)
파일구조는
www/index.htm
www/gnuboard4/그누보드관련 자료는 그누보드 메뉴얼대로 그대로 올리고 설치하였기에
이 곳에 다 있는 상태입니다.
세부페이지에 설치한 일반 그누보드 게시판은 잘 작동하는 데 최근게시물은 index페이지에
추출하려고 하니 아래와 같은 오류가 납니다.
2일동안 별짓다해봤는데 너무너무 힘드네요.
문제점을 아실 수 있으신 고수분들의 답변에 도움을 구합니다. 정말 힘듭니다. ㅜㅜ
-----------------index.htm 상단 에러메세지는 다음과 같습니다
Warning: main(../gnuboard4/common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/campingtimes/www/index4.htm on line 3
Warning: main() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/campingtimes/www/index4.htm on line 3
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/campingtimes/www/index4.htm on line 4
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/campingtimes/www/index4.htm on line 4
------------- index 최근게시물이 나와야할 곳의 에러메세지는 다음과 같습니다.
Fatal error: Call to undefined function: latest() in /home/hosting_users/campingtimes/www/index4.htm on line 109
--------------index 페이지 상단소스와 최근게시물 나올 곳의 소스는 다음과 같습니다.
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "free", 5, 70);?>
댓글 전체
현재
www/gnuboard4/ 처럼 설치되어있는것을
gnuboard4 폴더내의 파일을 모두 상위(루트) 로 올려보세요.
그리고 gnuboard4 폴더는 비어 있으므로 삭제합니다.
그러면
현재의 index.php 에 정상적으로 출력됩니다.
www/gnuboard4/ 처럼 설치되어있는것을
gnuboard4 폴더내의 파일을 모두 상위(루트) 로 올려보세요.
그리고 gnuboard4 폴더는 비어 있으므로 삭제합니다.
그러면
현재의 index.php 에 정상적으로 출력됩니다.
답변 감사합니다. 말씀하신대로 하였으나 같은 에러메세지가 계속 나옵니다. 임시인터넷파일이나 쿠기삭제까지 다 하고 다시봐도 같은 내용의 에러가 뜹니다....
위의 index.php 경로가 틀렸네요
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "처음화면";
include_once("./_head.php");
?>
<?=latest("basic", "free", 5, 70); //최신글스킨명, 게시판명, 출력할줄수, 제목길이 ?>
<?
include_once("./_tail.php");
?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "처음화면";
include_once("./_head.php");
?>
<?=latest("basic", "free", 5, 70); //최신글스킨명, 게시판명, 출력할줄수, 제목길이 ?>
<?
include_once("./_tail.php");
?>
정말 감사합니다... 늦은시간까지 많은 도움이 되었습니다. xe로 넘어가야할 것 같습니다.
사실 제로보드4.1p18에서 위와같은 문제로 고생하여서 그누보드로 넘어온 것인데
xe가 직관적이어서 넘어갈 생각입니다. 답변감사드립니다^^
사실 제로보드4.1p18에서 위와같은 문제로 고생하여서 그누보드로 넘어온 것인데
xe가 직관적이어서 넘어갈 생각입니다. 답변감사드립니다^^
xe 보다 그누보드가 낳을텐데요..
보안업데이트 등 ..
잘되고 있으므로..
위 질문은
처음 그누보드 설치시 메뉴얼을 한번 읽어봤으면 안해도 되는..
재로 보다는 그누가 작업이 쉬워요...
쪽지 주시면 설치 무료로 도와드려요..
요즘 한가해서요...
보안업데이트 등 ..
잘되고 있으므로..
위 질문은
처음 그누보드 설치시 메뉴얼을 한번 읽어봤으면 안해도 되는..
재로 보다는 그누가 작업이 쉬워요...
쪽지 주시면 설치 무료로 도와드려요..
요즘 한가해서요...