홈페이지 메인이 안뜨네요. 좀 도와주세요. > 그누4 질문답변

그누4 질문답변

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

홈페이지 메인이 안뜨네요. 좀 도와주세요. 정보

홈페이지 메인이 안뜨네요. 좀 도와주세요.

본문

http://www.dblamar.com/index.htm 소스는 밑에꺼 처럼되있구요.
 
<meta http-equiv="refresh" content="0; url=http:./gnuboard4/bbs/index.php"> 
 
---------------------------------------------------------------------------------------------------
 
 
여기 소스는 아래와 같습니다.
 
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<title></title>
<?
include_once("./_common.php");
$g4[title] = "";
include_once("./_head9.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<style>
.a {  
   border-top:0px solid #d7d7d7 ;
   border-bottom:0px solid #d7d7d7 ;
   border-left:0px solid #d7d7d7 ;
   border-right:1px solid #d7d7d7 ;
   
  }
.b {  
   border-top:1px solid #d7d7d7 ;
   border-bottom:0px solid #d7d7d7 ;
   border-left:0px solid #d7d7d7 ;
   border-right:0px solid #d7d7d7 ;
   
  }
  </style>
  
  <!--Code generated by Cool Web Scrollbars from Harmony Hollow Software-->
<!--http://www.harmonyhollow.net-->
<STYLE type="text/css">
<!--
BODY {
scrollbar-face-color:#FFFFFF;
scrollbar-highlight-color:#000000;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-darkshadow-color:#FFFFFF;
scrollbar-shadow-color:#000000;
scrollbar-arrow-color:#000000;
scrollbar-track-color:#FFFFFF;
}
-->
</STYLE>
<style type="text/css">
<!--
#floater {position:absolute; visibility:visible}
-->
</style>
<script language="JavaScript">
<!--
self.onError=null;
currentX = currentY = 0;
whichIt = null;
lastScrollX = 0; lastScrollY = 0;
NS = (document.layers) ? 1 : 0;
IE = (document.all) ? 1: 0;
<!-- STALKER CODE -->
function heartBeat() {
if(IE) {
diffY = document.body.scrollTop;
diffX = 0;
}
if(NS) { diffY = self.pageYOffset; diffX = self.pageXOffset; }
if(diffY != lastScrollY) {
percent = .1 * (diffY - lastScrollY);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelTop += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
if(diffX != lastScrollX) {
percent = .1 * (diffX - lastScrollX);
if(percent > 0) percent = Math.ceil(percent);
else percent = Math.floor(percent);
if(IE) document.all.floater.style.pixelLeft += percent;
if(NS) document.floater.top += percent;
lastScrollY = lastScrollY + percent;
}
}
if(NS || IE) action = window.setInterval("heartBeat()",1);
//-->
</script>
<script language="JavaScript">
<!--
function bluring(){
if(event.srcElement.tagName=="A"||event.srcElement.tagName=="IMG") document.body.focus();
}
document.onfocusin=bluring;
// -->
</script>
 

</head>
    
<body>
<div id=floater style="left:905px; top:415px; width:119; height:53; z-index:10"><? include "r_q.php" ?></div>
<table width="100%"  border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td width="891" align="left" valign="top"><table width="890" height="857"  border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
      <tr>
        <td valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td><? include ("./main_flash.php"); ?></td>
                </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><? include("l_menu.php"); ?></td>
                  </tr>
                </table></td>
                <td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><a href="./board.php?bo_table=calendar"><img src="images/index/lamar_05.gif" width="298" height="250" border="0"></a></td>
                  </tr>
                  <tr>
                    <td><a href="./board.php?bo_table=notice"><img src="images/index/lamar_08.gif" width="298" height="38" border="0"></a></td>
                  </tr>
                  <tr>
                    <td align="right" valign="top"><table width="92%"  border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><?=latest("basic", "notice", 6, 40);?>
</td>
                      </tr>
                    </table>                      <p> </p></td>
                  </tr>
                </table></td>
                <td align="center" valign="top"><table width="100%"  border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><a href="./sub_2_2"><img src="images/index/lamar_06.gif" width="363" height="250" border="0"></a></td>
                  </tr>
                  <tr>
                    <td><a href="./board.php?bo_table=board"><img src="images/index/lamar_09.gif" width="363" height="38" border="0"></a></td>
                  </tr>
                  <tr>
                    <td align="right" valign="top"><table width="85%"  border="0" cellspacing="0" cellpadding="0">
                      <tr>
                        <td><?=latest("basic", "board", 6, 40);?></td>
                      </tr>
                    </table>
                      <p> </p></td>
                  </tr>
                </table></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><? include("./down.php"); ?></td>
              </tr>
            </table></td>
          </tr>
        </table></td>
      </tr>
    </table></td>
    <td align="left" valign="top"><table width="100%" height="385"  border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td background="images/index/bg_02.jpg"> </td>
      </tr>
    </table></td>
  </tr>
</table>         
</body>
</html>
 
-------------------------------------------------------------------------------------------------------
 
머가 잘못 되었는지 뜨지를 않네요. 무엇이 잘못되었는지... 파일이 지웠졌는지 잘모르겠네요.
다른 한분이 ftp 들와서 만지기는 하는데요. 지금 연락이 두절되서요.
전 메일링 주소 바꾸려고 config.php 여기서 주소 바꾸고 올린거 밖에 없거든요.
게시판 들어가는 곳만 화면이 안나옵니다.
 
답변좀 부탁드려요

댓글 전체

include_once("./_common.php");
$g4[title] = "";
include_once("./_head9.php");
===> 이부분이 include_once("./_head.php"); 아닌가요?
_head9.php를 새로 만들지 않았다면 이게 맞는 것 같네요.
한번 테스트 해보세요.
고쳐도 여전히 안뜨네요. 게시판종류는 다 안뜨는걸로봐서 index.php 파일보다 다른 파일이 문제가 있는듯한 제 생각입니다.
ohora는 소중한 답변 감사합니다. 오늘은 포기하고 자야겠네요;;
설치 경로를 다시 한 번 확인해 보세요.
root 가 아닌 별도의 폴더에 설치하셨다면 config 파일을 여신 후에 그누보드가 설치된 경로를 수정해주셔야 합니다.

$g4['bbs']            = "bbs";

$g4['bbs']            = "gnuboard4/bbs";
이렇게...

수정하신 상태라면 링크는 ./ 이것보다는 <?=g4[path]?>/ 이런 식으로 해보세요.
url=http:./gnuboard4/bbs/index.php" 이거는 절대 열리지 않습니다. -_-;;;;;;;

url=./gnuboard4/bbs/index.php" 이렇게 상대경로를 입력하던가 아님
url=http://www.dblamar.com/gnuboard4/bbs/index.php" 이렇게 절대경로를 입력하세요.
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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