최근게시물 출력이 안됩니다. 도와주세요. 정보
최근게시물 출력이 안됩니다. 도와주세요.- typelibrary 자기소개 아이디로 검색 회원게시물
- 1,232
본문
이 곳 아무리 뒤져서 해봐도 계속 에러가 나네요
뭐가 잘못 된건가요..
출력파일: index2.htm
그누보드 : /www/gnuboard4
게시판 스킨 : 기본(basic)
게시판 타이틀 : memo
소스
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
<!--
body {
margin-left: 20px;
margin-top: 83px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
<!--
body {
margin-left: 20px;
margin-top: 83px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="784" height="0" border="0" cellpadding="0" cellspacing="0">
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<? echo latest("basic", "memo", 5, 70); ?>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
<table width="784" height="0" border="0" cellpadding="0" cellspacing="0">
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<? echo latest("basic", "memo", 5, 70); ?>
</td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</body>
</html>
댓글 전체
주소를 링크해 주시면 조금 도움이 될듯 싶습니다.
주소를 알려주시기 어려운지요?
경로가 정확한지 확인해 봐야 할 것 같네요.
index2.htm 의 경로를 확인해 보세요.
그리고 정상적으로 그누보드가 설치 되었는지요?
경로가 정확한지 확인해 봐야 할 것 같네요.
index2.htm 의 경로를 확인해 보세요.
그리고 정상적으로 그누보드가 설치 되었는지요?
<? = latest("basic", "memo", 5, 70); ?>
이렇게 해보세요..^^
이렇게 해보세요..^^
PhotoFly 님 처럼 해봤는데도 여전히 에러가 나네요
Parse error: parse error, unexpected '=' in /home/hosting_users/sepets/www/index2.htm on line 31
------------
http://sepets.cafe24.com/index2.htm
여기가 주소입니다.ㅠㅠ
Parse error: parse error, unexpected '=' in /home/hosting_users/sepets/www/index2.htm on line 31
------------
http://sepets.cafe24.com/index2.htm
여기가 주소입니다.ㅠㅠ
인덱스가 그누폴더 밖으로 나와있네요.. 그렇다면..
index가 있는 곳에..
_common.php 파일을 만드셔서...
<?
$g4_path = "gnuboard4";
include_once("$g4_path/common.php");
?>
로 저장하시고.. 위 님께서 작성하신 인덱스로 불러오시던지..
또는..
include_once("./gnuboard4/_common.php");
로 바꿔보세요..
2가지중 1가지 방법만 하셔야합니다.
index가 있는 곳에..
_common.php 파일을 만드셔서...
<?
$g4_path = "gnuboard4";
include_once("$g4_path/common.php");
?>
로 저장하시고.. 위 님께서 작성하신 인덱스로 불러오시던지..
또는..
include_once("./gnuboard4/_common.php");
로 바꿔보세요..
2가지중 1가지 방법만 하셔야합니다.
include_once("./gnuboard4/_common.php");
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
<!--
body {
margin-left: 20px;
margin-top: 83px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="784" height="0" border="0" cellpadding="0" cellspacing="0">
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<? = latest("basic", "memo", 5, 70); ?></td>
</tr>
</table>
</body>
</html>
이렇게 했는데...
Parse error: parse error, unexpected '=' in /home/hosting_users/sepets/www/index2.htm on line 23
이런 에러가 나네요
파일이 올려져 있는 주소는 http://sepets.cafe24.com/index2.htm 입니다
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
<!--
body {
margin-left: 20px;
margin-top: 83px;
margin-right: 0px;
margin-bottom: 0px;
}
-->
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="784" height="0" border="0" cellpadding="0" cellspacing="0">
</table>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<? = latest("basic", "memo", 5, 70); ?></td>
</tr>
</table>
</body>
</html>
이렇게 했는데...
Parse error: parse error, unexpected '=' in /home/hosting_users/sepets/www/index2.htm on line 23
이런 에러가 나네요
파일이 올려져 있는 주소는 http://sepets.cafe24.com/index2.htm 입니다
include_once("("./gnuboard4/_common.php"); 아래에
include_once("$g4[path]/lib/latest.lib.php"); 추가해 보세요.
맨위에는 있었는데 바로 위 소스에서는 빠져 있네요.
위 내용 모두 처리 된 상태라면
<?= latest
물음표와 = 사이의 공백을 없애 주세요.
include_once("$g4[path]/lib/latest.lib.php"); 추가해 보세요.
맨위에는 있었는데 바로 위 소스에서는 빠져 있네요.
위 내용 모두 처리 된 상태라면
<?= latest
물음표와 = 사이의 공백을 없애 주세요.
사노라가노라 임 말한데로 했는데도 안되네요...무가 문제가 있는건지 모르겠네요..
참 가슴이 답답하네요..
http://sepets.cafe24.com/index2.htm 입니다
----
include_once("./gnuboard4/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?= latest("basic", "memo", 5, 70); ?></td>
</tr>
</table>
</body>
</html>
참 가슴이 답답하네요..
http://sepets.cafe24.com/index2.htm 입니다
----
include_once("./gnuboard4/_common.php");
include_once("$g4[path]/lib/latest.lib.php");
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>TYPE-LIBRARY</title>
<style type="text/css">
</style>
<script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<?= latest("basic", "memo", 5, 70); ?></td>
</tr>
</table>
</body>
</html>
<?= 이 부분은 해결되었는데, $g4[path] 와 관련하여 폴더(gnuboard4)하위에 설치된 관계로 경로 문제로 보여 집니다.
include_once("./gnuboard4/_common.php");
include_once("./gnuboard4/lib/latest.lib.php"); 이와 같이 우선 해 보신 후
php 파일 위치를 잘 확인하셔서 경로를 정확히 설정해 보세요.
설정이 다를 수 있으니 아래 팁을 참고 해 보시기 바랍니다.
http://sir.co.kr/bbs/tb.php/g4_tiptech/271
include_once("./gnuboard4/_common.php");
include_once("./gnuboard4/lib/latest.lib.php"); 이와 같이 우선 해 보신 후
php 파일 위치를 잘 확인하셔서 경로를 정확히 설정해 보세요.
설정이 다를 수 있으니 아래 팁을 참고 해 보시기 바랍니다.
http://sir.co.kr/bbs/tb.php/g4_tiptech/271
에러화면에.. 인클루드 소스가 그대로나오는거 보니..
<? ?> 안하셨네여?
<?
include_once("./gnuboard4/_common.php");
include_once("./gnuboard4/lib/latest.lib.php");
?>
입니다.
php 소스는 반드시 <? 와 ?> 사이에 있어야합니다.
<? ?> 안하셨네여?
<?
include_once("./gnuboard4/_common.php");
include_once("./gnuboard4/lib/latest.lib.php");
?>
입니다.
php 소스는 반드시 <? 와 ?> 사이에 있어야합니다.
모두들 감사합니다. 아직도 해메고 있습니다. ㅠㅠ 그래도 답변 채택은 해야겠네요...감사한 마음으로...모드들 감사~.......어라? 한 분밖에 못주나요? 포인트? ㅠㅠ
됐어요 ~~~~^^ _common.php를 index 있는 쪽으로 만들어서 했어요......모두들 감사합니다. 치에님 포인트 드릴께요~ 어떻게 하면 되나요.....