도와주세요!! 정보
도와주세요!!관련링크
본문
안녕하세요
다름이 아니라 제가 그누보드 최신버전 설치후
there007 님이 "올리신 해상도에따라 변하는 슬라이더"라는 파일을
사용하려고 하는데 외부게시물 불러오는 소스를 입력해도 안되서요
그래서 기본베이직 파일을 불러오는것도 시도해 봤는데 똑같은 오류 메시지가 뜹니다.
---------------------------------------------------------------------------------------
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/hana8081/html/test2.html on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/hana8081/html/test2.html on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/hana8081/html/test2.html on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/hana8081/html/test2.html on line 3
Fatal error: Call to undefined function latest() in /host/home2/hana8081/html/test2.html on line 5
----------------------------------------------------------------------------------------
라는 문구가 뜹니다.
한가지 더 궁금한것은 제로보드에서는 도메인 설정하는게 있었는데
그누보드에서는 어떤파일을 어떤식으로 설정해주는지 모르겠습니다.
제가 볼때는 내용이 경로에 없다는것과 테이블이 생성되지 않아서 불러오지 못한다
이런 내용인거 같은데..
config파일에 맨밑에 계정등록도 시켜놨는데 안되네요..
// www.sir.co.kr 과 sir.co.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.co.kr 과 같이 입력하세요.
// 이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
$g4['cookie_domain'] = ".dothome.co.kr";
// 게시판에서 링크의 기본갯수를 말합니다.
// 필드를 추가하면 이 숫자를 필드수에 맞게 늘려주십시오.
$g4['link_count'] = 2;
$g4['charset'] = "utf-8";
$g4['phpmyadmin_dir'] = $g4['admin'] . "/phpMyAdmin/";
$g4['token_time'] = 3; // 토큰 유효시간
// config.php 가 있는곳의 웹경로. 뒤에 / 를 붙이지 마세요.
// 예) http://g4.sir.co.kr
$g4['url'] = "http://hana8081.dothome.co.kr";
$g4['https_url'] = "https://hana8081.dothome.co.kr";
// 입력예
//$g4['url'] = "http://www.sir.co.kr";
//$g4['https_url'] = "https://www.sir.co.kr";
?>
----------------------------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "free", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
이건 제가 테스트페이지로 만든것입니다.
다름이 아니라 제가 그누보드 최신버전 설치후
there007 님이 "올리신 해상도에따라 변하는 슬라이더"라는 파일을
사용하려고 하는데 외부게시물 불러오는 소스를 입력해도 안되서요
그래서 기본베이직 파일을 불러오는것도 시도해 봤는데 똑같은 오류 메시지가 뜹니다.
---------------------------------------------------------------------------------------
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/hana8081/html/test2.html on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/hana8081/html/test2.html on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/hana8081/html/test2.html on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/hana8081/html/test2.html on line 3
Fatal error: Call to undefined function latest() in /host/home2/hana8081/html/test2.html on line 5
----------------------------------------------------------------------------------------
라는 문구가 뜹니다.
한가지 더 궁금한것은 제로보드에서는 도메인 설정하는게 있었는데
그누보드에서는 어떤파일을 어떤식으로 설정해주는지 모르겠습니다.
제가 볼때는 내용이 경로에 없다는것과 테이블이 생성되지 않아서 불러오지 못한다
이런 내용인거 같은데..
config파일에 맨밑에 계정등록도 시켜놨는데 안되네요..
// www.sir.co.kr 과 sir.co.kr 도메인은 서로 다른 도메인으로 인식합니다. 쿠키를 공유하려면 .sir.co.kr 과 같이 입력하세요.
// 이곳에 입력이 없다면 www 붙은 도메인과 그렇지 않은 도메인은 쿠키를 공유하지 않으므로 로그인이 풀릴 수 있습니다.
$g4['cookie_domain'] = ".dothome.co.kr";
// 게시판에서 링크의 기본갯수를 말합니다.
// 필드를 추가하면 이 숫자를 필드수에 맞게 늘려주십시오.
$g4['link_count'] = 2;
$g4['charset'] = "utf-8";
$g4['phpmyadmin_dir'] = $g4['admin'] . "/phpMyAdmin/";
$g4['token_time'] = 3; // 토큰 유효시간
// config.php 가 있는곳의 웹경로. 뒤에 / 를 붙이지 마세요.
// 예) http://g4.sir.co.kr
$g4['url'] = "http://hana8081.dothome.co.kr";
$g4['https_url'] = "https://hana8081.dothome.co.kr";
// 입력예
//$g4['url'] = "http://www.sir.co.kr";
//$g4['https_url'] = "https://www.sir.co.kr";
?>
----------------------------------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "free", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
이건 제가 테스트페이지로 만든것입니다.
댓글 전체
테스트페이지파일이 있는 디렉토리에서 _common.php 파일을 만드셔서
$g4_path = ".."; // <---- 그누보드 설치 상대경로 (같은 페이지라면 "."; )
include_once("$g4_path/common.php");
를 넣어보세요.
$g4_path = ".."; // <---- 그누보드 설치 상대경로 (같은 페이지라면 "."; )
include_once("$g4_path/common.php");
를 넣어보세요.
말씀하신대로 해봤는데.. 똑같네요 ㅠ
휴 정확한 설치방법과 설치후 도메인설정하는등등 이러한것들에 대한 설명이 없어서
쉽지가 않네요
답변에 감사드립니다 ㅠ
휴 정확한 설치방법과 설치후 도메인설정하는등등 이러한것들에 대한 설명이 없어서
쉽지가 않네요
답변에 감사드립니다 ㅠ
./gnuboard4/ 가 그누보드 설치 디렉토리라면
test2,html파일이 있는 디렉토리에서
_common.php
$g4_path = "./gnuboard4"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
해보세요 되는지
test2,html파일이 있는 디렉토리에서
_common.php
$g4_path = "./gnuboard4"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
해보세요 되는지
DB파일이 존재하지 않습니다.
라는 문구가 뜨는데요...
후~ 답답하네요 ㅠ
경로 문제인거 같은데 어디가 잘못된건지 모르니 ㅠ
복뚝이님 답변 감사해요!
라는 문구가 뜨는데요...
후~ 답답하네요 ㅠ
경로 문제인거 같은데 어디가 잘못된건지 모르니 ㅠ
복뚝이님 답변 감사해요!
/gnuboard4/install/
실행한번 하세요 ㅡ.ㅡㅋㅋㅋ
http://sir.co.kr/manual/kcp_youngcart4/?man=g4.install2.htm
그누보드 파일을 올리셨으면 설치를 하셔야죠 ^^
실행한번 하세요 ㅡ.ㅡㅋㅋㅋ
http://sir.co.kr/manual/kcp_youngcart4/?man=g4.install2.htm
그누보드 파일을 올리셨으면 설치를 하셔야죠 ^^
설치가 되어있는데 이러네요 ㅠ
재설치만 10번넘게 한거같아요 ㅠ
재설치만 10번넘게 한거같아요 ㅠ