인텍스에서 공지 최신글을 출력하면 오류가 뜹니다..
제목처럼 최신글을 출력하면
Warning: Cannot modify header information - headers already sent by (output started at /DATA/wawa58/public_html/index.html:5) in /DATA/wawa58/public_html/gnuboard4/common.php on line 8
이런 오류가 뜹니다...
인덱스 헤드 부분에
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
를 입력했구요...
어떤걸 수정해야 할까요....
Warning: Cannot modify header information - headers already sent by (output started at /DATA/wawa58/public_html/index.html:5) in /DATA/wawa58/public_html/gnuboard4/common.php on line 8
이런 오류가 뜹니다...
인덱스 헤드 부분에
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
를 입력했구요...
어떤걸 수정해야 할까요....
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 3개
$g4_path=".";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
include_once("$g4_path/common.php");
위쪽의 공백라인 부분을 삭제 하세요
그래서 원래 했던
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
을 헤드 위로...그러니깐 가장 위로 올렸더니...괜찮아 지네요...
근데 이방법도 맞는건지...