상단에 뜨는 에러메세지들이가 미워요~~^^ 정보
상단에 뜨는 에러메세지들이가 미워요~~^^본문
먼저 나모에서 작업중인 html입니다.
<?
include_once("./_common.php");
$g4[title] = "제목";
include_once("$g4[path]/head.sub.php");
?>
<html>
<head>
<title>경기중앙침례교회</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
include_once("./_common.php");
$g4[title] = "제목";
include_once("$g4[path]/head.sub.php");
?>
<html>
<head>
<title>경기중앙침례교회</title>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr">
<script language="JavaScript">
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
<!--
function na_restore_img_src(name, nsdoc)
{
var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);
if (name == '')
return;
여기까지만...
중간에는
<td colspan="6" bgcolor="white">
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php"); // outlogin() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo outlogin("o_basic"); // o_basic 스킨으로 아웃로그인을 출력합니다.
?>
</td>
<td rowspan="49">
<img src="images/index_18.gif" width="5" height="799" alt=""></td>
?>
</td>
<td rowspan="49">
<img src="images/index_18.gif" width="5" height="799" alt=""></td>
그리고 마지막에는
<td></td>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
<!-- End ImageReady Slices -->
</body>
</html>
</tr>
</table>
<?
include_once("$g4[path]/tail.sub.php");
?>
<!-- End ImageReady Slices -->
</body>
</html>
이렇게 처음 중간 끝순으로 붙였습니다.
그런데 계속 상단에 에러메세지가 뜨네요
물론 그거 빼고는 아무 문제없지만요..
다음은 홈페이지 소스입니다.
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>34</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>36</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>38</b><br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>그누보드4</title>
<link rel="stylesheet" href="./gnuboard4/style.css" type="text/css">
</head>
<script language="javascript">
// 자바스크립트에서 사용하는 전역변수 선언
var g4_path = "./gnuboard4";
var g4_bbs = "bbs";
var g4_bbs_img = "img";
var g4_url = "http://kcbc.or.kr";
var g4_is_member = "";
var g4_is_admin = "";
var g4_bo_table = "";
var g4_sca = "";
var g4_charset = "euc-kr";
var g4_is_gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
</script>
<script language="javascript" src="./gnuboard4/js/common.js"></script>
<body topmargin="0" leftmargin="0" >
<a name="g4_head"></a>
<html>
<head>
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>34</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>35</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>36</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>37</b><br />
<br />
<b>Warning</b>: Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5) in <b>/home/hosting_users/kcbc/www/gnuboard4/head.sub.php</b> on line <b>38</b><br />
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>그누보드4</title>
<link rel="stylesheet" href="./gnuboard4/style.css" type="text/css">
</head>
<script language="javascript">
// 자바스크립트에서 사용하는 전역변수 선언
var g4_path = "./gnuboard4";
var g4_bbs = "bbs";
var g4_bbs_img = "img";
var g4_url = "http://kcbc.or.kr";
var g4_is_member = "";
var g4_is_admin = "";
var g4_bo_table = "";
var g4_sca = "";
var g4_charset = "euc-kr";
var g4_is_gecko = navigator.userAgent.toLowerCase().indexOf("gecko") != -1;
var g4_is_ie = navigator.userAgent.toLowerCase().indexOf("msie") != -1;
</script>
<script language="javascript" src="./gnuboard4/js/common.js"></script>
<body topmargin="0" leftmargin="0" >
<a name="g4_head"></a>
<html>
<head>
원인을 알려주시면 감사하겠슴니다!
그럼 행복하세요!!
댓글 전체
Cannot modify header information - headers already sent by (output started at /home/hosting_users/kcbc/www/_common.php:5)
이 말로 보아
_common.php 내용을 봐야겠습니다.
이 말로 보아
_common.php 내용을 봐야겠습니다.
중간에는 에서.......
include_once("./_common.php");
이부분을 지워 보세요 중복 된듯 합니다.....
include_once("./_common.php");
이부분을 지워 보세요 중복 된듯 합니다.....