최근게시물이 안되요 정보
최근게시물이 안되요본문
<?
include_once("./_common.php");
include_once("./gnuboard4/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
include_once("./gnuboard4/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
?>
<html>
<head>
<head>
</head>
<body>
<?=latest("latest", "test", 5, 15)?>
</body>
</html>
</html>
-------------------------------
그누보드가 설치된 폴더는 gnuboard4입니다.
그 안에 파일들 다 확인해 보았고요 latest방에 제가 원하는 스킨인 latest방을 만들어서 올리고 게시판이름인 test라고 썼습니다.
위 문서의 파일이름은 main.htm입니다.
그런데 서버에 올린다음 열어보면
-------------------------------
Warning: main(./common.php): failed to open stream: No such file or directory in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(): Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
----------------------------
라고 나옵니다
제로보드만 쓰다가 그누보드를 처음 쓰는데..
도통 모르겠어요
제발 쉽게 알려주시면 감사드리겠습니다.
댓글 전체
다음팁을 참고하십시오.
g4 파일마다 들어있는 $g4_path, _common.php 설정 및 사용법
http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=271
g4 파일마다 들어있는 $g4_path, _common.php 설정 및 사용법
http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=271
경로 오류예요. root님 댓글에 링크된거 보세요
이젠 그누보드 완전 망가졌습니다.
그누보드 관리자 화면에서는
Warning: main(gnuboard4/common.php): failed to open stream: No such file or directory in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(): Failed opening 'gnuboard4/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/scien202/www/gnuboard4/index.php on line 3
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/index.php on line 3
======================
고친 문서에는
select * from g4_write_test where wr_is_comment = 0 order by wr_num limit 0, 5
1146 : Table 'scien202.g4_write_test' doesn't exist
error file : /index.htm
이렇게 에러가 나오고
=================
여기저기 찾다가 설명서는 이미 읽어본겁니다. 그래도 알수 없어서 질문을 남긴건데... 기대치 못한 답변이네요
그누보드..굿바이~~
그누보드 관리자 화면에서는
Warning: main(gnuboard4/common.php): failed to open stream: No such file or directory in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(): Failed opening 'gnuboard4/common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/_common.php on line 3
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/scien202/www/gnuboard4/index.php on line 3
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/scien202/www/gnuboard4/index.php on line 3
======================
고친 문서에는
select * from g4_write_test where wr_is_comment = 0 order by wr_num limit 0, 5
1146 : Table 'scien202.g4_write_test' doesn't exist
error file : /index.htm
이렇게 에러가 나오고
=================
여기저기 찾다가 설명서는 이미 읽어본겁니다. 그래도 알수 없어서 질문을 남긴건데... 기대치 못한 답변이네요
그누보드..굿바이~~