최근게시물 추출 오류 ㅜ_ㅜ
메인에서 최근게시물을 추출하려고 했는데 아래와같이 오류가 나네요
아무리해도 안되고 제가 아는것도 없어서... 제발 알려주세요 ㅜ_ㅜ
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp/:/DATA/dogmozzi/) in /DATA/dogmozzi/public_html/main.php on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /DATA/dogmozzi/public_html/main.php on line 2
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/home/app/php/lib/php') in /DATA/dogmozzi/public_html/main.php on line 2
Fatal error: Call to undefined function latest() in /DATA/dogmozzi/public_html/main.php on line 16
------------ 메인 소스 ----------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_head.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>개모찌 1호</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="680" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" style="padding-top:80"><?=latest("naver", "diary", 5, 70)?>
</td>
</tr>
</table>
</body>
</html>
아무리해도 안되고 제가 아는것도 없어서... 제발 알려주세요 ㅜ_ㅜ
Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp/:/DATA/dogmozzi/) in /DATA/dogmozzi/public_html/main.php on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /DATA/dogmozzi/public_html/main.php on line 2
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/home/app/php/lib/php') in /DATA/dogmozzi/public_html/main.php on line 2
Fatal error: Call to undefined function latest() in /DATA/dogmozzi/public_html/main.php on line 16
------------ 메인 소스 ----------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_head.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>개모찌 1호</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<link href="css/style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<table width="680" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top" style="padding-top:80"><?=latest("naver", "diary", 5, 70)?>
</td>
</tr>
</table>
</body>
</html>
댓글 2개
14년 전
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_head.php");
?>
위에서 latest.lib.php파일을 불러오지 못해서 생성되는 에러입니다.
_common.php파일에서 $g4_path파일경로가 정확한지 확인해보세요.
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("./_head.php");
?>
위에서 latest.lib.php파일을 불러오지 못해서 생성되는 에러입니다.
_common.php파일에서 $g4_path파일경로가 정확한지 확인해보세요.
14년 전
감사합니다 ^^
게시판 목록
그누4 질문답변
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66494 | 11년 전 | 7752 | ||
| 66493 |
|
11년 전 | 3004 | |
| 66492 |
alexseo
|
11년 전 | 3989 | |
| 66491 | 11년 전 | 3091 | ||
| 66490 | 11년 전 | 3439 | ||
| 66489 | 11년 전 | 5053 | ||
| 66488 | 11년 전 | 2312 | ||
| 66487 | 11년 전 | 3933 | ||
| 66486 | 11년 전 | 9922 | ||
| 66485 | 11년 전 | 3004 | ||
| 66484 | 11년 전 | 4444 | ||
| 66483 | 11년 전 | 2938 | ||
| 66482 |
jthree
|
11년 전 | 4102 | |
| 66481 | 11년 전 | 2559 | ||
| 66480 | 11년 전 | 2384 | ||
| 66479 | 11년 전 | 2910 | ||
| 66478 |
|
11년 전 | 3046 | |
| 66477 |
|
11년 전 | 3543 | |
| 66476 | 11년 전 | 2337 | ||
| 66475 |
JJins
|
11년 전 | 3626 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기