그누보드처음쓰는데 3시간째해메고있습니다 도와주세요

제로보드를 쓰다가 그누보드를 시작했습니다
 
그런데 처음부터 막히는군요
 
문서젤 첫부분에 들어가는
 
<?
$g4_path = ".."; // 그누보드 설치 경로 html있는 장소에 봐서 ../..  ../../..
include_once("$g4/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.sub.php");
?>
 
이부분있자나요....
도무지 설치경로에 뭘 넣어도 되는지 모르겠어요...
 
여기저기 다찾아보고 시키는데로 해봤는데도 안되네요.,..
 
그누보드폴더명은
deta로 이름을 변경해서 올렸거든요 
고수님들 도와주세요...
 
제로보드랑 비슷할줄알았는데
 
너무 힘드네요... 부탁드립니다...
|

댓글 9개

index.php

<?
$g4_path = "./data"; // 그누보드 설치 경로 html있는 장소에 봐서 ../.. ../../..
include_once("$g4/_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

index.php 파일이 data 폴더에 있다면...

$g4_path = "."; // 그누보드 설치 경로 html있는 장소에 봐서 ../.. ../../..
$g4_path 를 굳이 따로 넣으실 필요 없습니다.

_common.php를 열어보시면 그안에 있습니다.

bbs/_common.php와 비교해보시면 대충 감이 오실 겁니다.
이런 방법도...

http://www.morssola.com/bbs/board.php?bo_table=g4_tip&wr_id=17&page=3
모르솔라준회원님!!
님이 하라는데로 했는데 이러&#53012;뜨네요 정말 미치겠습니다...
왜그런걸까요

Warning: main(/_common.php): failed to open stream: No such file or directory in /home/hosting_users/a2369019/www/deta/exxx.php on line 11

Warning: main(): Failed opening '/_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/a2369019/www/deta/exxx.php on line 11

Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/a2369019/www/deta/exxx.php on line 12

Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/a2369019/www/deta/exxx.php on line 12

Warning: main(/head.sub.php): failed to open stream: No such file or directory in /home/hosting_users/a2369019/www/deta/exxx.php on line 13

Warning: main(): Failed opening '/head.sub.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/a2369019/www/deta/exxx.php on line 13




Fatal error: Call to undefined function: latest() in /home/hosting_users/a2369019/www/deta/exxx.php on line 19
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&sca=&sfl=mb_id,1&stx=aechae

'뜨락의이름'이란 분께서 만드신 메뉴얼입니다. 유용할거라 생각되네요. ^^
index.php

<?
$g4_path = ".";
include_once("$g4_path/_common.php");
$g4[title] = "제목";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>

<?=latest("스킨명", "게시판명", 갯수, 글자수);?>

<?
include_once("$g4[path]/tail.sub.php");
?>
index.php 파일은 deta 에 있어야겠죠.
기본적으로 그누보드 설치폴더가 deta 라면...

deta 폴더에 아래와 같은 파일이 있습니다.

_common.php

<?
$g4_path = ".";
include_once("$g4_path/common.php");
?>
도데체 무엇을 하시는중인지 모르겟네요^^ index.php를 꾸밀려면 기본에 있는것을 이용해서 하시면 되지않을까요? 그누보드 폴더명을 바꿨어도 상관이 없지 않나요?^^ 바꾸어도 그냥 처음 주어진 대로 쓰시면 되는것 같은데...

일단 제로보드에 대한 생각을 버리시고 그누로 하시길....저도 제로에서 넘어 왓을때 무지 해깔렸습니다...
댓글을 작성하시려면 로그인이 필요합니다. 로그인

그누4 질문답변

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

+
제목 글쓴이 날짜 조회
19년 전 조회 1,541
19년 전 조회 1,509
19년 전 조회 1,857
19년 전 조회 2,133
19년 전 조회 1,655
19년 전 조회 2,358
19년 전 조회 1,845
19년 전 조회 1,509
19년 전 조회 1,530
19년 전 조회 1,599
19년 전 조회 1,536
19년 전 조회 1,565
19년 전 조회 3,859
19년 전 조회 1,528
19년 전 조회 1,532
19년 전 조회 1,897
19년 전 조회 1,568
19년 전 조회 1,875
19년 전 조회 1,886
19년 전 조회 1,677
🐛 버그신고