최근게시물 추출 오류 ㅜ_ㅜ
메인에서 최근게시물을 추출하려고 했는데 아래와같이 오류가 나네요
아무리해도 안되고 제가 아는것도 없어서... 제발 알려주세요 ㅜ_ㅜ
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년 전
감사합니다 ^^
게시글 목록
| 번호 | 제목 |
|---|---|
| 284508 | |
| 284499 | |
| 284492 | |
| 284490 | |
| 284484 | |
| 284481 | |
| 284478 | |
| 284476 | |
| 284474 | |
| 284472 | |
| 284470 | |
| 284458 | |
| 284457 | |
| 284454 | |
| 284453 | |
| 284447 | |
| 284446 | |
| 284444 | |
| 284441 | |
| 284440 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기