g4 path 변수가 선언되지 않았습니다. js/wrest.js 오류 해결좀 해주세요 ㅠㅠ > 그누4 질문답변

그누4 질문답변

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

g4 path 변수가 선언되지 않았습니다. js/wrest.js 오류 해결좀 해주세요 ㅠㅠ 정보

g4 path 변수가 선언되지 않았습니다. js/wrest.js 오류 해결좀 해주세요 ㅠㅠ

본문

안녕하세요 그누보드를 처음 사용하는 초보입니다.
그누보드를 이용해 홈페이지 메인 최시글 띄우기에 간신히 성공했건만
다음과 같은 오류
 
[ g4 path 변수가 선언되지 않았습니다. js/wrest.js ]
 
가 발생하여 해결방법을 찾지 못하고 있습니다.
위 오류가 뜨는 페이지의 html 전부 보여드리니.. 확인하시고 잘못된 부분 지적
수정방법좀 자세히 가르쳐 주시면 감사하겠습니다. 부탁드립니다 ㅠㅠ
 
 
 
 
 
============================== 아래부터 시작  ================================
 
 
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.<br>
?>
 
<html>
<head>
<title>※반디펜션에 오신것을 환영합니다※</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<style type="text/css">
<!--
A:link { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:active { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:visited { COLOR: #666666; FONT-SIZE: 9pt; TEXT-DECORATION: none}
A:hover { COLOR: #666666; FONT-SIZE: 9pt}
TD { COLOR: #666666; FONT-FAMILY : 굴림; FONT-SIZE: 9pt}
body {
 background-color: #000000;
 background-image:  url(http://www.bandihouse.co.kr/images/pattern/index_pattern.jpg);
 margin-center: 0px;
 margin-top: 0px;
 margin-right: 0px;
 margin-bottom: 0px;
 margin-left: 0px;
}
-->
</style></head>
<body style="overflow-x:hidden">
<!-- ImageReady Slices (index_2.psd) -->
<table width="1001" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="1001" align="center" valign="top"><table width="1001" border="0" cellspacing="0" cellpadding="0">
      <tr align="center" valign="top">
        <th height="76" colspan="2" scope="col"><table width="1001" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="1001" height="76" align="center" valign="top" scope="col"><img src="/images/index/index_01.jpg" width="1001" height="76" alt=""></th>
          </tr>
        </table></th>
        </tr>
      <tr align="center" valign="top">
        <td height="50" colspan="2"><table width="1001" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="1001" height="50" align="center" valign="top" bgcolor="#000000" scope="col"><SPAN style="FONT-SIZE: 9pt"> <span style="FONT-SIZE: 9pt"> <SPAN style="FONT-SIZE: 9pt">
            <script language="javascript" src="http://daokorea.co.kr/new/daojs.js"></script>
            <SCRIPT LANGUAGE="JavaScript">
   <!--
activeFlash("/swf/index.swf","_FLASH","width=1001,height=50,align=middle,allowScriptAccess=sameDomain,bgcolor=#FFFFFF,menu=false,quality=high,wmode=transparent");
//-->
            </SCRIPT>
            </span> </span> </SPAN></th>
          </tr>
        </table></td>
        </tr>
      <tr>
        <td width="982" height="313" align="center" valign="top"><table width="982" height="313" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <th width="227" height="313" align="center" valign="top" scope="col"><table width="227" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="227" height="267" align="center" valign="top" scope="col"><table width="227" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <th width="227" height="267" align="center" valign="top" scope="col"><SPAN style="FONT-SIZE: 9pt"> <span style="FONT-SIZE: 9pt"> <SPAN style="FONT-SIZE: 9pt">
                    <script language="javascript" src="http://daokorea.co.kr/new/daojs.js"></script>
                    <SCRIPT LANGUAGE="JavaScript">
   <!--
activeFlash("/swf/index_left.swf","_FLASH","width=227,height=267,align=middle,allowScriptAccess=sameDomain,bgcolor=#FFFFFF,menu=false,quality=high,wmode=transparent");
//-->
                    </SCRIPT>
                    </span> </span> </SPAN></th>
                  </tr>
                </table></th>
              </tr>
              <tr>
                <td><table width="227" height="46" border="0" cellpadding="0" cellspacing="0">
                  <tr>
                    <th width="22" height="46" rowspan="2" align="center" valign="top" scope="col"><table width="22" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <th width="22" height="46" align="center" valign="top" scope="col"><img src="/images/index/index_07.jpg" width="22" height="46" alt=""></th>
                      </tr>
                    </table></th>
                    <th width="188" height="31" align="center" valign="top" scope="col"><table width="188" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <th width="188" height="31" align="center" valign="top" scope="col"><a href="/direction.php" target="_self" onFocus="blur()"><img src="/images/index/index_08.jpg" alt="" width="188" height="31" border="0"></a></th>
                      </tr>
                    </table></th>
                    <th rowspan="2" align="center" valign="top" bgcolor="#161616" scope="col"><img src="/images/index/index_09.jpg" width="17" height="46" alt=""></th>
                  </tr>
                  <tr>
                    <td align="center" valign="top" bgcolor="#161616"><img src="/images/index/index_10.jpg" width="188" height="15" alt=""></td>
                    </tr>
                </table></td>
              </tr>
            </table></th>
            <th align="center" valign="top" scope="col"><table width="755" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="755" height="19" align="center" valign="top" bgcolor="#000000" scope="col"></th>
              </tr>
              <tr>
                <td width="755" height="294" align="center" valign="top"><table width="755" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <th width="755" height="294" align="center" valign="top" scope="col"><img src="/images/index/index_05.jpg" width="755" height="294" alt=""></th>
                  </tr>
                </table></td>
              </tr>
            </table></th>
          </tr>
        </table></td>
        <td width="19" height="603" rowspan="2" align="center" valign="top"><table width="19" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="19" height="19" align="center" valign="top" bgcolor="#000000" scope="col"></th>
          </tr>
          <tr>
            <td width="19" height="603" align="center" valign="top"><img src="/images/index/index_06.jpg" width="19" height="603" alt=""></td>
          </tr>
        </table></td>
      </tr>
      <tr>
        <td height="309" align="center" valign="top"><table width="982" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="465" height="309" align="center" valign="top" scope="col"><table width="465" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="10" height="309" rowspan="5" align="center" valign="top" scope="col"><table width="22" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <th width="22" height="309" align="center" valign="top" scope="col"><img src="/images/index/index_11.jpg" width="22" height="309" alt=""></th>
                  </tr>
                </table></th>
                <th width="443" height="12" align="center" valign="top" bgcolor="171717" scope="col"></th>
              </tr>
              <tr>
                <th width="443" height="164" align="center" valign="top" scope="col"><table width="443" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <th width="371" height="42" rowspan="3" align="center" valign="top" scope="col"><img src="/images/index/index_14.jpg" width="371" height="42" alt=""></th>
                    <th width="44" height="18" align="center" valign="top" bgcolor="1A1919" scope="col"></th>
                    <th width="28" height="42" rowspan="3" align="center" valign="middle" scope="col"><img src="/images/index/index_16.jpg" width="28" height="42" alt=""></th>
                  </tr>
                  <tr>
                    <td width="44" height="12" align="center" valign="top"><a href="http://bandihouse.co.kr/board/bbs/board.php?bo_table=b6_notice" target="_self" onFocus="blur()"><img src="/images/index/index_22.jpg" alt="" width="44" height="12" border="0"></a></td>
                    </tr>
                  <tr>
                    <td width="44" height="12" align="center" valign="top" bgcolor="1C1D1C"></td>
                    </tr>
                  <tr align="center" valign="top">
                    <td height="122" colspan="3"><table width="443" height="122" border="0" cellpadding="0" cellspacing="0">
                      <tr>
                        <th width="443" height="122" align="left" valign="top" background="/images/index/index_29.jpg" scope="col"><?=latest("new", "b6_notice", 5, 70, "10, 35")?></th>
                      </tr>
                    </table></td>
                    </tr>
                </table></th>
              </tr>
              <tr>
                <th width="443" height="19" align="center" valign="top" bgcolor="262626" scope="col"></th>
              </tr>
              <tr>
                <th width="443" height="76" align="center" valign="top" scope="col"><img src="/images/index/index_44.jpg" width="443" height="76" alt=""></th>
              </tr>
              <tr>
                <th width="443" height="38" align="center" valign="top" scope="col"><img src="/images/index/index_46.jpg" width="443" height="38" alt=""></th>
              </tr>
            </table></th>
            <th align="center" valign="top" scope="col"><table width="517" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <th width="517" height="15" align="center" valign="top" bgcolor="171718" scope="col"></th>
              </tr>
              <tr>
                <td width="517" height="294" align="center" valign="top"><table width="517" border="0" cellspacing="0" cellpadding="0">
                  <tr align="center" valign="top">
                    <th width="29" height="294" scope="col"><img src="/images/index/index_17.jpg" width="29" height="294" alt=""></th>
                    <th width="279" height="294" scope="col"><table width="279" height="294" border="0" cellpadding="0" cellspacing="0">
                      <tr align="center" valign="top">
                        <th height="39" colspan="5" scope="col"><img src="/images/index/index_18.jpg" width="279" height="39" alt=""></th>
                        </tr>
                      <tr align="center" valign="top">
                        <td width="88" height="233"><img src="/images/index/index_30.jpg" width="88" height="233" alt=""></td>
                        <td width="7" height="255" rowspan="2"><img src="/images/index/index_31.jpg" width="7" height="255" alt=""></td>
                        <td width="88"><img src="/images/index/index_32.jpg" width="88" height="233" alt=""></td>
                        <td width="8" height="255" rowspan="2"><img src="/images/index/index_33.jpg" width="8" height="255" alt=""></td>
                        <td width="88"><img src="/images/index/index_34.jpg" width="88" height="233" alt=""></td>
                      </tr>
                      <tr align="center" valign="top">
                        <td width="88" height="22"><img src="/images/index/index_47.jpg" width="88" height="22" alt=""></td>
                        <td width="88"><img src="/images/index/index_48.jpg" width="88" height="22" alt=""></td>
                        <td width="88"><img src="/images/index/index_49.jpg" width="88" height="22" alt=""></td>
                      </tr>
                    </table></th>
                    <th width="20" height="294" scope="col"><img src="/images/index/index_19.jpg" width="20" height="294" alt=""></th>
                    <th width="184" height="294" scope="col"><table width="186" border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <th align="center" valign="top" scope="col"><table width="186" border="0" cellspacing="0" cellpadding="0">
                          <tr align="center" valign="top">
                            <th colspan="3" scope="col"><img src="/images/index/index_20.jpg" width="186" height="19" alt=""></th>
                            </tr>
                          <tr align="center" valign="top">
                            <td width="137" height="20" rowspan="3"><img src="/images/index/index_23.jpg" width="137" height="20" alt=""></td>
                            <td width="44" height="6" bgcolor="1B1B1B"></td>
                            <td width="5" height="20" rowspan="3" bgcolor="1B1C1C"></td>
                          </tr>
                          <tr align="center" valign="top">
                            <td width="44" height="8"><img src="/images/index/index_26.jpg" width="44" height="8" alt=""></td>
                            </tr>
                          <tr align="center" valign="top">
                            <td width="44" height="6" bgcolor="1c1c1c"></td>
                            </tr>
                          <tr align="center" valign="top">
                            <td colspan="3"><table width="186" border="0" cellspacing="0" cellpadding="0">
                              <tr>
                                <th width="186" height="122" align="left" valign="top" background="/images/index/index_52.jpg" scope="col"></th>
                              </tr>
                            </table></td>
                            </tr>
                        </table></th>
                      </tr>
                      <tr>
                        <td width="186" align="center" valign="top"><table width="186" border="0" cellspacing="0" cellpadding="0">
                          <tr>
                            <th width="186" height="44" align="center" valign="top" scope="col"><img src="/images/index/index_43.jpg" width="186" height="44" alt=""></th>
                          </tr>
                        </table></td>
                      </tr>
                      <tr>
                        <td width="186" height="67" align="center" valign="top"><img src="/images/index/index_45.jpg" width="186" height="67" alt=""></td>
                      </tr>
                      <tr>
                        <td width="186" height="22" align="center" valign="top"><img src="/images/index/index_50.jpg" width="186" height="22" alt=""></td>
                      </tr>
                    </table></th>
                    <th width="5" height="294" scope="col"><img src="/images/index/index_21.jpg" width="3" height="294" alt=""></th>
                  </tr>
                </table></td>
              </tr>
            </table></th>
          </tr>
        </table></td>
        </tr>
      <tr align="center" valign="top">
        <td height="59" colspan="2"><table width="1001" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <th width="1001" height="59" align="center" valign="top" scope="col"><img src="/images/index/index_51.jpg" width="1001" height="59" alt=""></th>
          </tr>
        </table></td>
        </tr>
    </table></td>
  </tr>
</table>
<!-- End ImageReady Slices -->
</body>
</html>
<?
include_once("./_tail.php");
?>

댓글 전체

head.sub.php파일을 인크루드 하지 않아 생긴문제일겁니다.
이곳에 쪽지등 각종 소스가 포함되어있습니다.
head.sub.php 및 tail.sub.php 를 상하단에 인클루드해보세요.
또는

<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.<br>
?>


<?
//include_once("./_tail.php");
include_once("$g4[path]/tail.sub.php");
?>
답변 너무 감사합니다.(__) 답변주신 님들 덕분에 문제가 잘 해결되었습니다.
모두 맞는 답변이라 어느분 답변을 채택해야 될지 몰라... 바로 적용할 수 있는 빠른 답변을
주신 분 root 님 답변을 채택해드리겠습니다.
다른분들 자세한 설명 모두 감사드립니다.
앞으로 더욱 더 열심히 공부하겠습니다 (__)
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT