급한 질문입니다. <최근게시물 설치하기> 정보
급한 질문입니다. <최근게시물 설치하기>본문
왕초보 그누보드 사용자입니다.
어찌어찌해서 구누보드 설치하고 게시판까지 간신히 설치 했습니다.
index.php 에 최신게시물이 보이게 하고 싶어서 index.php 에 아래와 같이 넣구서 확인해 보니 최신글은 링크가 안되고 계속 Warning 만 보이네여. 흑흑.뭐가 문제인지 도와주세요~~~~~
nayana 계정을 사용하고 있기때문에, html 폴더 밑에 gnuboard4폴더와 index.php를 넣었구요.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("basic", "notice1", 5, 70);
?>
Warning: main(./_common.php): failed to open stream: No such file or directory in /free/home/도메인 /html/index.php on line 31
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /free/home/도메인/html/index.php on line 31
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /free/home/도메인/html/index.php on line 32
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /free/home/도메인/html/index.php on line 32
Fatal error: Call to undefined function: latest() in /free/home/도메인/html/index.php on line 34
어찌어찌해서 구누보드 설치하고 게시판까지 간신히 설치 했습니다.
index.php 에 최신게시물이 보이게 하고 싶어서 index.php 에 아래와 같이 넣구서 확인해 보니 최신글은 링크가 안되고 계속 Warning 만 보이네여. 흑흑.뭐가 문제인지 도와주세요~~~~~
nayana 계정을 사용하고 있기때문에, html 폴더 밑에 gnuboard4폴더와 index.php를 넣었구요.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("basic", "notice1", 5, 70);
?>
Warning: main(./_common.php): failed to open stream: No such file or directory in /free/home/도메인 /html/index.php on line 31
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /free/home/도메인/html/index.php on line 31
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /free/home/도메인/html/index.php on line 32
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /free/home/도메인/html/index.php on line 32
Fatal error: Call to undefined function: latest() in /free/home/도메인/html/index.php on line 34
댓글 전체

아마도 html 폴더에 gnuboard4 폴더가 있는듯 한데..
이렇게 함 해보세요
gnuboard4에 있는 _command.php 파일을 열어서
<?
if(!isset($g4_path)) $g4_path = ".";
include_once("$g4_path/common.php");
?>
로 바꿔주시고
index.php는
<?
$g4_path = "gunboard4"; // 그누보드 상대경로
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("basic", "notice1", 5, 70);
?>
로 고쳐서 해보세요.
이렇게 함 해보세요
gnuboard4에 있는 _command.php 파일을 열어서
<?
if(!isset($g4_path)) $g4_path = ".";
include_once("$g4_path/common.php");
?>
로 바꿔주시고
index.php는
<?
$g4_path = "gunboard4"; // 그누보드 상대경로
include_once("$g4_path/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("basic", "notice1", 5, 70);
?>
로 고쳐서 해보세요.
태엽푸는새님 감사합니다.
간단하게 g4설치 디렉토리 외부 경로에서 그누보드를 실행시킬 수 있는 멋진 팁입니다.
if(!isset($g4_path)) $g4_path = "."; _common.php에 추가된 한줄, 이 소스코드의 위력이 막강하네요.
그누보드 팁에 올려주시면 좋겠습니다.
간단하게 g4설치 디렉토리 외부 경로에서 그누보드를 실행시킬 수 있는 멋진 팁입니다.
if(!isset($g4_path)) $g4_path = "."; _common.php에 추가된 한줄, 이 소스코드의 위력이 막강하네요.
그누보드 팁에 올려주시면 좋겠습니다.
태엽푸는 새님,
자세한 답변 너무 고마워요. 하나 더 부탁드릴께요.
최신글이 index.php에 잘 보이는데요......
도메인/gnuboard4 에 들어가니, 페이지 맨위에 또 Warning 이 뜨네요. 그 아래로 그누보드 관리자 화면은 잘 보이고요.....
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 57
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 59
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 60
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 61
자세한 답변 너무 고마워요. 하나 더 부탁드릴께요.
최신글이 index.php에 잘 보이는데요......
도메인/gnuboard4 에 들어가니, 페이지 맨위에 또 Warning 이 뜨네요. 그 아래로 그누보드 관리자 화면은 잘 보이고요.....
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 55
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 57
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 58
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 59
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 60
Warning: Cannot modify header information - headers already sent by (output started at /free/home/도메인/html/gnuboard4/_common.php:2) in /free/home/도메인/html/gnuboard4/head.sub.php on line 61

_common.php 에서 맨위 <? 가 나오기전 모든 문자(공백,엔터 포함)를 삭제해주세용
정말 왕초보네요. shy * *
이제 문제가 잘 해결되었습니다. 고마워요.
이제 문제가 잘 해결되었습니다. 고마워요.
문제해결했음다... 감사 감사...~~~~
태엽님 정말 감사.. 위에 문자 제거 하니까 바로 풀리네요,.. 감사합니다.