최근 게시물달기
index.html에 최근게시물을 두개정도 넣고싶은데
<html> 위에
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
넣고
출력하고 싶은 부분에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<?=latest("basic", "게시판명", 5, 70);?>
</body>
</html>
이렇게 넣었는데 오류가 뜨네요ㅠㅠㅠㅠ
혹시나 해서 출력하고싶은 부분에 밑줄 그은 부분을 빼고 넣어봐도 똑같이 오류가 생기네요..
Warning: include_once(../gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home1/페이지주소/public_html/index.html on line 3
Warning: include_once() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 3
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/home1/dacoplec) in /home1/페이지주소/public_html/index.html on line 4
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /home1/페이지주소/public_html/index.html on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 4
이거는 맨 위에 뜨는 오류이구요
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in/home1/페이지주소/public_html/index.html on line 36
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 36
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/home1/dacoplec) in /home1/페이지주소/public_html/index.html on line 37
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in/home1/페이지주소/public_html/index.html on line 37
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 37
Fatal error: Call to undefined function latest() in /home1/페이지주소/public_html/index.html on line 45
이건 출력하고싶은 부분에 뜨는 오류입니다....
<html> 위에
<?
$g4_path="../gnuboard4";
include_once("../gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
넣고
출력하고 싶은 부분에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title></title>
</head>
<body>
<?=latest("basic", "게시판명", 5, 70);?>
</body>
</html>
이렇게 넣었는데 오류가 뜨네요ㅠㅠㅠㅠ
혹시나 해서 출력하고싶은 부분에 밑줄 그은 부분을 빼고 넣어봐도 똑같이 오류가 생기네요..
Warning: include_once(../gnuboard4/common.php) [function.include-once]: failed to open stream: No such file or directory in /home1/페이지주소/public_html/index.html on line 3
Warning: include_once() [function.include]: Failed opening '../gnuboard4/common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 3
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/home1/dacoplec) in /home1/페이지주소/public_html/index.html on line 4
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /home1/페이지주소/public_html/index.html on line 4
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 4
이거는 맨 위에 뜨는 오류이구요
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in/home1/페이지주소/public_html/index.html on line 36
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 36
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/home1/dacoplec) in /home1/페이지주소/public_html/index.html on line 37
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in/home1/페이지주소/public_html/index.html on line 37
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/페이지주소/public_html/index.html on line 37
Fatal error: Call to undefined function latest() in /home1/페이지주소/public_html/index.html on line 45
이건 출력하고싶은 부분에 뜨는 오류입니다....
댓글 1개
takumi22
12년 전
밑줄부분은 지우시고요.. 상단에 이렇게 넣어보세요
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?
$g4_path = "./gnuboard4";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66414 |
|
11년 전 | 3681 | |
| 66413 | 11년 전 | 3395 | ||
| 66412 |
kimch
|
11년 전 | 3131 | |
| 66411 |
포도주스와
|
11년 전 | 4398 | |
| 66410 | 11년 전 | 2611 | ||
| 66409 |
알지오공유
|
11년 전 | 5085 | |
| 66408 | 11년 전 | 4321 | ||
| 66407 |
알지오공유
|
11년 전 | 2907 | |
| 66406 |
Header
|
11년 전 | 2512 | |
| 66405 |
fancytank
|
11년 전 | 2261 | |
| 66404 | 11년 전 | 2450 | ||
| 66403 |
|
11년 전 | 3079 | |
| 66402 | 11년 전 | 4295 | ||
| 66401 | 11년 전 | 3308 | ||
| 66400 |
kimch
|
11년 전 | 2900 | |
| 66399 | 11년 전 | 2137 | ||
| 66398 |
열라뽕똬이
|
11년 전 | 2345 | |
| 66397 | 11년 전 | 3898 | ||
| 66396 |
안드로메달
|
11년 전 | 2404 | |
| 66395 |
그누초보님
|
11년 전 | 3473 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기