팝업이뜨네요~!이에러만잡으면될것같은데.도와주세요~ > 그누4 질문답변

그누4 질문답변

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

팝업이뜨네요~!이에러만잡으면될것같은데.도와주세요~ 정보

팝업이뜨네요~!이에러만잡으면될것같은데.도와주세요~

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://www.homed.co.kr/indexd.php
많은분들의 도움으로 여기까지왔네요..ㅠㅠ감사드립니다.
팝업이 드디어 메인에 뜨네요~!
링크가 잘걸렸다는소리인데 왜 이에러는무엇일까요??
Warning: Cannot modify header information - headers already sent by (output started at /home/homed49/www/indexd.php:10) in /home/homed49/www/gnuboard4.euckr/gnuboard4/common.php on line 8

이미지 파일은 파일경로입니다~


<html>

<head>

<title>::  homed  ::</title>

<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"  topmargin=0 leftmargin=0; margin-right:0;leftmargin=0 >
 
<LINK href="./css/style.css" type=text/css rel=stylesheet>
<?
$g4_path = "./gnuboard4.euckr/gnuboard4";
include_once("$g4_path/common.php");
?>

<script language="javascript" src="./include/flash.js"></script>
<script language="javascript" src="/_Common/js/Common.js"></script>
<script language="JavaScript" type="text/JavaScript"></script>
<style type="text/css"  >

   
}
</style>

</head>

<body topmargin=0 leftmargin=0>
<table width="1408"  height="930" background="/img/h_bg.jpg" border="0" align="left" cellpadding="0" cellspacing="0" topmargin=0 leftmargin=0 >
  <tr align="left" valign="top">
    <td ><table width="100%" border="0" cellpadding="0" cellspacing="0">
   
      <tr>
        <td valign="botom"><script language="javascript">flash('./include/img/top.swf','1352','86','white','high','menu')</script></td>
        </tr>
    </table></td>
  </tr>
  <tr align="left" valign="top">
  <td height="465"><div id="banner" style="position:absolute; left:1054px; top:87px">
    <table width="300" height="300" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><script language="javascript">flash('./include/img/4.swf','300','300','white','high','quick_menu')</script></td>
      </tr>
    </table>
  </div>    <script language="javascript">flash('/img/main.swf','1354','500','white','high','menu')</script></td>
  </tr>
  <tr align="left" valign="top">
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="10" height="185" background="./include/img/un01.gif"></td>
        <td width="260"><table width="250"  height="110" border="0" cellpadding="0" cellspacing="0">
 
          <tr>
            <td><img src="/img/3.png" width="320" height="307"></td>
          </tr>
        </table>        </td>
        <td valign="top" ><img src="/img/un01.jpg" width="1028" height="229" border="0" usemap="#Map"></td>
        <td width="11%" background="./include/img/un_bg.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>




<map name="Map"><area shape="rect" coords="178,176,294,203" href="http://www.homed.co.kr/gnuboard4.euckr/gnuboard4/bbs/board.php?bo_table=q" target="_self">
</map>
<?
$g4_path = "./gnuboard4.euckr/gnuboard4"; // common.php 의 상대 경로
include_once("$g4_path/popup_open.php");
?>

댓글 전체

지금 인덱스의 위치를 정확히 알수 없으므로
1.아래의 $g4_path = "../../"; 를 $g4_path = "../"; 와 $g4_path = "../../";  로  변경해
  서 적용해보시구요
2.인덱스에서 head.php를 인쿠르드 시키지 않을경우 include_once("$g4[path]/head.sub.php"); 를 붙이셔야해요
3.<? 아래부터  위에 공백이 없어야해요
4.<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"  topmargin=0 leftmargin=0; margin-right:0;leftmargin=0 > 는 이미그누보드 프로그램
head.sub.php에 이미 설정되어있으므로 붙이게 되면 중복사용이구요 ..
5.include_once("$g4[path]/head.sub.php"); 와
  include_once("$g4[path]/tail.sub.php");  는 보통 헤드와 테일파일을 인쿠르드 시키면 그파일에 포함이되어있게 만들어지는데요 지금 님의 경우는 인댁스를 통페이지로 만들었으므로 상단과 하단에  넣어주시고요


------------------아래를 인덱스파일위에 공백없이 붙여보새요
<?
$g4_path = "../../";
include_once("$g4_path/common.php");
include_once("$g4[path]/head.sub.php");
?>

<script language="javascript" src="./include/flash.js"></script>
<script language="javascript" src="./_Common/js/Common.js"></script>
<script language="JavaScript" type="text/JavaScript"></script>
<LINK href="./css/style.css" type=text/css rel=stylesheet>


<body topmargin=0 leftmargin=0>
<table width="1408"  height="930" background="/img/h_bg.jpg" border="0" align="left" cellpadding="0" cellspacing="0" topmargin=0 leftmargin=0 >
  <tr align="left" valign="top">
    <td ><table width="100%" border="0" cellpadding="0" cellspacing="0">
   
      <tr>
        <td valign="botom"><script language="javascript">flash('./include/img/top.swf','1352','86','white','high','menu')</script></td>
        </tr>
    </table></td>
  </tr>
  <tr align="left" valign="top">
  <td height="465"><div id="banner" style="position:absolute; left:1054px; top:87px">
    <table width="300" height="300" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td valign="top"><script language="javascript">flash('./include/img/4.swf','300','300','white','high','quick_menu')</script></td>
      </tr>
    </table>
  </div>    <script language="javascript">flash('/img/main.swf','1354','500','white','high','menu')</script></td>
  </tr>
  <tr align="left" valign="top">
    <td><table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="10" height="185" background="./include/img/un01.gif"></td>
        <td width="260"><table width="250"  height="110" border="0" cellpadding="0" cellspacing="0">
 
          <tr>
            <td><img src="/img/3.png" width="320" height="307"></td>
          </tr>
        </table>        </td>
        <td valign="top" ><img src="/img/un01.jpg" width="1028" height="229" border="0" usemap="#Map"></td>
        <td width="11%" background="./include/img/un_bg.gif">&nbsp;</td>
      </tr>
    </table></td>
  </tr>
</table>
<map name="Map"><area shape="rect" coords="178,176,294,203" href="http://www.homed.co.kr/gnuboard4.euckr/gnuboard4/bbs/board.php?bo_table=q" target="_self">
</map>
<?
include_once("$g4[path]/tail.sub.php");
?>
<html>

<head>

<title>::  homed  ::</title>

<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"  topmargin=0 leftmargin=0; margin-right:0;leftmargin=0 >
 
<LINK href="./css/style.css" type=text/css rel=stylesheet>
<?
$g4_path = "./gnuboard4.euckr/gnuboard4";
include_once("$g4_path/common.php");
?>

위사항은 잘못된사용입니다. 아래와같이 사용하시면될듯합니다.

<?
$g4_path = "./gnuboard4.euckr/gnuboard4";
include_once("$g4_path/common.php");
?>
<html>
<head>
<title>::  homed  ::</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr"  topmargin=0 leftmargin=0; margin-right:0;leftmargin=0 >
 
<LINK href="./css/style.css" type=text/css rel=stylesheet>
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

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