w

index 화일을 이렇게 수정했더니 이런 애러만 나죠?

바쁘신 시간에 들려주셔서 고마워요...

index.php 를 아래와 같이 수정을 했어요.
잘못된 부분을 지적해주시면 고맙겠어요.

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

$g4['title'] = "";
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

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");

//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.

$table_width = 1004;
?>

<!-- 메인화면 최신글 시작 -->
<?
echo "./main1.php"; // 이곳에 내용이 들어가면 됩니다.
?>
<!-- 메인화면 최신글 끝 -->

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/tail.sub.php");
?>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

결국은

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/lib/common.lib.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 38
./main1.php

이런 애러가 나군요...^^

봐주셔서 고마워요.

댓글 5개

head 밑에 빈공간이나, 글이 먼저 적혀있을때, 주로 생깁니다.

이미 헤더가 들어갔다면서.
<?
include_once("./_common.php");

$g4['title'] = "";
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

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"); <<<< 이렇게 바꿔보세요
답변 감사합니다.
그렇게 수정을 해서 올렸더니요..
이번에는
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/lib/common.lib.php on line 109

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/bufan/www/index.php:1) in /home/hosting_users/bufan/www/head.sub.php on line 38
./main1.php

라고 애러가 나죠?
저두 그런 애러가 나고 있네요.
답변해주셔서 정말 고마워요.
http://www.sir.co.kr/bbs/board.php?bo_table=g4_qa&wr_id=81829&sca=&sfl=&stx=&sst=&sod=&spt=0&page=1
여기로 다시 질문글을 올렸어요.
아이디 변경을 했어요^^
미안 합니다.
두번 다시 이런 일이 없도록 하겠어요....
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
08-01-30 조회 1,589
08-01-30 조회 1,618
08-01-30 조회 1,995
08-01-30 조회 1,722
08-01-30 조회 1,591
08-01-30 조회 1,622
08-01-30 조회 1,966
08-01-30 조회 1,735
08-01-30 조회 1,587
08-01-30 조회 1,613
08-01-30 조회 1,797
08-01-30 조회 1,296
08-01-30 조회 1,627
08-01-30 조회 1,890
08-01-30 조회 1,997
08-01-30 조회 1,729
08-01-30 조회 1,663
08-01-30 조회 1,798
08-01-30 조회 1,615
08-01-30 조회 1,790