아 휴온빌더 수정중에 에러가 뜹니다... > 그누4 질문답변

그누4 질문답변

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

아 휴온빌더 수정중에 에러가 뜹니다... 정보

아 휴온빌더 수정중에 에러가 뜹니다...

본문

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 39

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 41

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 42

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 43

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 44

Warning: Cannot modify header information - headers already sent by (output started at /home/content/g/e/m/gemmaky/html/gnuboard4/index.php:1) in /home/content/g/e/m/gemmaky/html/gnuboard4/head.sub.php on line 45







손본거라곤 게시판 숫자 줄인거랑 갤러리 숫자 줄인게 다인데...워낙 초보인지라 뭔소리인지 모르겠네요...

그렇다고 덥썩 저 라인들을 지울수도 없고

www.hojugreen.com/gnuboard4

도움부탁드립니다...
  • 복사

댓글 전체

index.php 파일을 열어 확인을 해보셔야 할 것 같은데요.

head.sub.php 파일 위쪽으로 인클루드 및 출력문이 있어서는 안 됩니다.

공백 같은 것 있는지 확인해보셔야 하고요.


아래와 같은 식이 잘못 된 것이죠.

<?
echo "가나다라마바사";
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/head.sub.php");
?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "휴온빌더";
include_once("./_head.php");

//테스트용 샘플게시판 생성 코드 시작 - 샘플게시판 생성 후 삭제하시거나 주석처리(/* */)하여 주세요.
$sql = " select count(*) as cnt from $g4[board_table] where gr_id = 'sample'";
$row = sql_fetch($sql);
if(!$row[cnt]) {
include_once("$g4[path]/sample/sample_upgrade.php");
}
//테스트용 샘플게시판 생성 코드 끝.
?>
<!-- index페이지용 스타일시트 -->
<link href="<?=$g4[path]?>/css/index.css" rel="stylesheet" type="text/css">

<!-- 메인 이미지 -->
<div id="mainPic"><img src="<?=$g4[path]?>/images/main_pic.jpg" alt="메인이미지"></div>

<!-- mainLeft -->
<div id="mainLeft">
<?= latest("hn_basic", "sample_bbs1", 5, 30) /* 최신글("스킨명", "게시판명", 줄수, 글자수) */?>
</div><!-- end mainLeft -->

<!-- mainRight -->
<div id="mainRight">
<?= latest("hn_basic", "sample_bbs2", 5, 30) ?>
</div><!-- end mainRight -->

<!-- 하단 갤러리 최신글 -->
<div class="elemMargin">
<?= latest("hn_gallery", "sample_gallery1", 6, 0) ?>
<p class="elemMargin"></p>
<?= latest("hn_gallery", "sample_gallery2", 6, 0) ?>
</div>

<div  class="elemMargin">

</div>

<?
include_once("./_tail.php");
?>
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "휴온빌더";
include_once("./_head.php");


위 부분을 아래처럼 고쳐보세요..





<?
include_once("./_common.php");
$g4['title'] = "휴온빌더";
include_once("./_head.php");
include_once("$g4[path]/lib/latest.lib.php");
© SIRSOFT
현재 페이지 제일 처음으로