최근게시물 오류 정보
최근게시물 오류본문
최근 게시물을 설치하다 오류가 났는데 어떻게 수정을 해야 할지 몰라 질문 드립니다.
오류 페이지 주소는
http://yastory.mireene.com/sub/test.html
이고
눌러보기 귀찮으실 테니 오류 텍스트를 적어 보자면
[상단 오류 메시지]
Warning: main(./_common.php): failed to open stream: No such file or directory in /web/home/yastory/html/sub/test.html on line 2
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/yastory/html/sub/test.html on line 2
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /web/home/yastory/html/sub/test.html on line 3
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/yastory/html/sub/test.html on line 3
Warning: main(./_head.php): failed to open stream: No such file or directory in /web/home/yastory/html/sub/test.html on line 4
Warning: main(): Failed opening './_head.php' for inclusion (include_path='.:/usr/lib/php/pear') in /web/home/yastory/html/sub/test.html on line 4
[최근게시물 게시판 위치 오류 메시지]
Fatal error: Call to undefined function: latest() in /web/home/yastory/html/sub/test.html on line 65
페이지 상단 입력 내용은
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_head.php");
?>
이며
최근게시물 위치 입력 내용은
<?=latest("basic", "info", 5, 70);?>
입니다.
도와주세요. 이해가 잘 안됩니다.
댓글 전체
http://yastory.mireene.com/gnuboard4 인것 같네요.
http://yastory.mireene.com/gnuboard4 이 경로를 접속하니
일단 폴더의 권한을 707으로 설정하라는 오류가 나옵니다.
FTP접속을 하셔서 그누보드가 설치된 경로를 707로 권한 변경하시고요.
혹시 권한 설정에 대해서 잘 모르신다면
http://sir.co.kr/manual/youngcart4/?man=g4.install2.htm 페이지를 참조하시고요.
그리고 위의 에러는 경로때문에 문제가 발생하는 것 같은데요.
그누보드가 지금과 같이 설치가 되었다면
sub폴더를 gnuboard4폴더 안으로 지정해서 사용하시는 것이 바른 방법입니다.