위화면의 메인부분의 오류는
Fatal error: Call to undefined function latest() in /host/home3/rgwc9351/html/index.html on line 35
이런식으로 오류가 나버립니다
홈페이지의 index.html 은
<?php
$g4[path]="./html/gnuboard4/";
include_once("$g4[path]/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<title>령강노인종합복지센터 홈페이지</title>
<link rel="shortcut icon" href="./images/heart.ico">
</head>
<body leftmargin="0" topmargin="0">
<table align="center" width="1024" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="8" height="40" background="./images/header.gif"></td>
</tr>
<tr>
<td height="84" width="232"><a href="index.html"><img src="./images/menu12.gif" border="0"></a></td>
<td width="132"><a href="index2.html"><img src="./images/menu2.gif" onmouseover="this.src='./images/menu2_over.gif'" onmouseout="this.src='./images/menu2.gif'" border="0"></a></td>
<td width="132"><a href="index3.html"><img src="./images/menu3.gif" onmouseover="this.src='./images/menu3_over.gif'" onmouseout="this.src='./images/menu3.gif'" border="0"></a></td>
<td width="132"><a href="index4.html"><img src="./images/menu4.gif" onmouseover="this.src='./images/menu4_over.gif'" onmouseout="this.src='./images/menu4.gif'" border="0"></a></td>
<td width="132"><a href="index5.html"><img src="./images/menu5.gif" onmouseover="this.src='./images/menu5_over.gif'" onmouseout="this.src='./images/menu5.gif'" border="0"></a></td>
<td width="132"><a href="index6.html"><img src="./images/menu6.gif" onmouseover="this.src='./images/menu6_over.gif'" onmouseout="this.src='./images/menu6.gif'" border="0"></a></td>
<td width="132"><a href="index7.html"><img src="./images/menu7.gif" onmouseover="this.src='./images/menu7_over.gif'" onmouseout="this.src='./images/menu7.gif'" border="0"></a></td>
</tr>
<tr>
<td colspan="8">
<table width="1024" height="764" border="0" cellspacing="0" cellpadding="0">
<tr>
<td background="..."><?=latest("simple_blue","notice",5,20) ?> </td>
</tr>
</table>
</td>
</tr>
<tr>
<td colspan="8" height="102" background="./images/footer.gif"></td>
</tr>
</table>
</body>
</html>
이렇게 되잇습니다..... 여러번 문의를 해보았지만 도저히 모르겠습니다 ㅠ
답변 3개 / 댓글 7개
1번째 코드표 부분이 수정해야될 부분입니다. 2번째 코드표 부분이 수정완료 부분입니다.
1CODE
<td background="..."><?=latest("simple_blue","notice",5,20) ? > </td>
2CODE
<td background="..."><?=latest("simple_blue","notice",5,20)?> </td>
이렇게 수정해보시길바랍니다. 문제는 즉슨) ? > , ?> 이 것의 차이입니다.~
답변에 대한 댓글 5개
홈디렉토리에 gnuboard4 라는 디렉토리를 만들고 거기에 그누보드를 설치한 상태..
그 상태가 맞다면 제가 알려드린게 틀린건 아닙니다.
alert 메시지가 깨어져 나오니 더이상의 답변은 어렵네요. 해당 사이트의 url 이라도 알려주시죠.
답변을 작성하려면 로그인이 필요합니다.
$g4[path]="./gnuboard4"; 를 $g4[path]="./"; 로 바꾸시고 해보시길.. 그래도 안되면... 좀더 고수분들이 ....