최근게시물 질문입니다. 전문가님의 따듯한 손길 부탁드립니다.
현재 이 문제로 3일동안 문제를 안고 있습니다.
제 폴더는
html
├ gnuboard4 ┬ adm
│ ├ bbs
│ ├ cheditor
│ ├ convert
│ ├ data
│ ├ extend
│ ├ img
│ ├ js
│ ├ lib
│ └ skin
│
│
├ index.php (index.html)
└ _common.php
├ gnuboard4 ┬ adm
│ ├ bbs
│ ├ cheditor
│ ├ convert
│ ├ data
│ ├ extend
│ ├ img
│ ├ js
│ ├ lib
│ └ skin
│
│
├ index.php (index.html)
└ _common.php
입니다.. 여기다가 index 파일에다가
index.php
<?
$g4_path = ".";
include_once("$g4_path/_common.php");
$g4[title] = "제목";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "bbs", 5, 60);?>
<?
include_once("$g4[path]/tail.sub.php");
?>
<?
$g4_path = ".";
include_once("$g4_path/_common.php");
$g4[title] = "제목";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<?=latest("basic", "bbs", 5, 60);?>
<?
include_once("$g4[path]/tail.sub.php");
?>
이렇게 적었습니다.
그러니깐.. 에러 파일이
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 32
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 34
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 35
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 36
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 37
Warning: Cannot add header information - headers already sent by (output started at /home/.sites/48/site10/.users/10/hana/web/_common.php:4) in /home/.sites/48/site10/.users/10/hana/web/gnuboard4/head.sub.php on line 38
이렇게 나왔습니다. 해결 방법좀 가르쳐 주세요 ㅠㅠ
hanalease.co.kr/index.php 입니다.
이 파일을 html 페이ㅣ 중간에 넣을려구 하는데..
그것도 가르쳐 주세요.. 감사합니다.
댓글을 작성하시려면 로그인이 필요합니다.
댓글 6개
제가 초보자라서요.
INdex 파일에다가 메인페이지 html내용을 넣으라는 말씀인가요??
참조라구 영남이님께서 올려주신거요.. ㅡㅡ
위에 제가 그거 보고 하다가 안되서 올린거라서요 ;;
최근게시물이 나오기는하는데 에러메세지가 나오니깐 미치겠네요.
누가 설명좀 자세히 해 주세요 ㅠㅠ
위 내용을 그대로 복사하면 <? 과 ?> 부분에 공백이 생기게 됩니다.
공백이 생기면 오류나므로 공백을 없애세요.
http://sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=54865