인텍스에서 공지 최신글을 출력하면 오류가 뜹니다..
제목처럼 최신글을 출력하면
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개
15년 전
<?
$g4_path=".";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
$g4_path=".";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
15년 전
으랏찻차님 답변처럼 하시고
include_once("$g4_path/common.php");
위쪽의 공백라인 부분을 삭제 하세요
include_once("$g4_path/common.php");
위쪽의 공백라인 부분을 삭제 하세요
58wawa
15년 전
답변처럼 했는데...오류가 더 뜨더라구요...;;
그래서 원래 했던
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
을 헤드 위로...그러니깐 가장 위로 올렸더니...괜찮아 지네요...
근데 이방법도 맞는건지...
그래서 원래 했던
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
을 헤드 위로...그러니깐 가장 위로 올렸더니...괜찮아 지네요...
근데 이방법도 맞는건지...
게시글 목록
| 번호 | 제목 |
|---|---|
| 284348 | |
| 284336 | |
| 284333 | |
| 284332 | |
| 284320 | |
| 284318 | |
| 284316 | |
| 284313 | |
| 284307 | |
| 284306 | |
| 284303 | |
| 284298 | |
| 284296 | |
| 284290 | |
| 284286 | |
| 284280 | |
| 284277 | |
| 284272 | |
| 284261 | |
| 284259 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기