최근게시물 추출 오류 ㅜ_ㅜ
메인에서 최근게시물을 추출하려고 했는데 아래와같이 오류가 나네요
아무리해도 안되고 제가 아는것도 없어서... 제발 알려주세요 ㅜ_ㅜ
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 바로가기
기존 게시물은 열람만 가능합니다.
기존 게시물은 열람만 가능합니다.
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 66454 | 11년 전 | 3462 | ||
| 66453 | 11년 전 | 2860 | ||
| 66452 |
jumphu
|
11년 전 | 3168 | |
| 66451 | 11년 전 | 2034 | ||
| 66450 | 11년 전 | 3170 | ||
| 66449 |
겸손1935
|
11년 전 | 3103 | |
| 66448 | 11년 전 | 2891 | ||
| 66447 |
열라뽕똬이
|
11년 전 | 2286 | |
| 66446 | 11년 전 | 3760 | ||
| 66445 | 11년 전 | 2602 | ||
| 66444 | 11년 전 | 3217 | ||
| 66443 | 11년 전 | 2724 | ||
| 66442 |
missGo
|
11년 전 | 3175 | |
| 66441 | 11년 전 | 2725 | ||
| 66440 | 11년 전 | 2753 | ||
| 66439 | 11년 전 | 3047 | ||
| 66438 | 11년 전 | 11576 | ||
| 66437 |
heon2slow
|
11년 전 | 3505 | |
| 66436 | 11년 전 | 2731 | ||
| 66435 | 11년 전 | 2509 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기