테스트 사이트 - 개발 중인 베타 버전입니다

인텍스에서 공지 최신글을 출력하면 오류가 뜹니다..

· 15년 전 · 1486 · 3
제목처럼 최신글을 출력하면

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");
?>
으랏찻차님 답변처럼 하시고
include_once("$g4_path/common.php");
위쪽의 공백라인 부분을 삭제 하세요
답변처럼 했는데...오류가 더 뜨더라구요...;;
그래서 원래 했던
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
을 헤드 위로...그러니깐 가장 위로 올렸더니...괜찮아 지네요...
근데 이방법도 맞는건지...

게시글 목록

번호 제목
284438
284437
284435
284430
284420
284417
284409
284401
284399
284397
284380
284378
284371
284370
284366
284364
284360
284357
284355
284354