최신글 경로문제때문에. > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

최신글 경로문제때문에. 정보

최신글 경로문제때문에.

본문

제가 홈페이지를 초보라...
어찌해야할지 모르겠습니다.
경로가 계속 틀리다고 나오는 바람에 ;;;
ftp파일 위치랑 ...index 작업한거 올립니다..
ㅠ0ㅠ 좀 알려주세여 ㅠㅠ

<?
 include_once("./gnuboard4/_common.php");
 include_once("$g4[path]/lib/latest.lib.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>---------------title>
</head>

<body bgcolor="#000000">

<table width="800" align="center" bgcolor="#000000" >


  <tr>
    <td bgcolor="#000000"><table width="880" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td><?include "top.php" ?></td>
      </tr>
      <tr>
        <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="800" height="400">
                  <param name="movie" value="flash/Main-slide.swf" />
                  <param name="quality" value="high" />
                  <embed src="flash/Main-slide.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="800" height="400"></embed>
                </object></td>
              </tr>
              <tr>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td height="30">&nbsp;</td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><?= latest("basic", 'community1', 3, 20);?>
</td>
                        <td>&nbsp;</td>
                      </tr>
                    </table></td>
                  </tr>
                  <tr>
                    <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><a href="sb1.php"><img src="image/main_s1.png" width="220" height="140" border="0" /></a></td>
                        <td><a href="product2.php"><img src="image/main_s2.png" width="220" height="140" border="0" /></a></td>
                        <td><a href="product1.php"><img src="image/main_s3.png" width="220" height="140" border="0" /></a></td>
                        <td><a href="sb3.php"><img src="image/main_s4.png" width="220" height="140" border="0" /></a></td>
                      </tr>
                    </table></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td bgcolor="#CCCCCC"><script language="JavaScript">
<!--
function calcHeight()
{
//find the height of the internal page
var the_height=
document.getElementById('the_iframe').contentWindow.
document.body.scrollHeight;

//change the height of the iframe
document.getElementById('the_iframe').height=
the_height;
}
//-->
</script>

</td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td><?include "bottom.php" ?></td>
      </tr>
    </table></td>
  </tr>
</table>
</body>
</html>
  • 복사

댓글 전체

index.php 는 www아래에 있고 나머지 파일들은 gnuboard4에 넣으셨네요.
가장 좋은 방법은 gnuboard4아래에 있는 파일들을 모두 www로 옮겨 주시는 건데요.
만일 그것이 여의치 않다면 다음 파일을 수정해 보세요.
gnuboard4/_common.php 파일을 아래와 같이 수정해 주세요.

<?
$g4_path = "../gnuboard4"; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
Warning: main(../gnuboard4/_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/iraeuplus/www/index.php on line 3

Warning: main() [function.include]: Failed opening '../gnuboard4/_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/iraeuplus/www/index.php on line 3

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/iraeuplus/www/index.php on line 4

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/iraeuplus/www/index.php on line 4

Fatal error: Call to undefined function: latest() in /home/hosting_users/iraeuplus/www/index.php on line 48

이렇게 뜨드라구요..
© SIRSOFT
현재 페이지 제일 처음으로