최근게시물 에러코드 해석을 부탁드립니다. 정보
최근게시물 에러코드 해석을 부탁드립니다.- JenniferLee 자기소개 아이디로 검색 회원게시물
- 조회 1,554
- 댓글 4
본문
index페이지에 원하는 게시판의 최근게시물이 나오는것 까지 성공했습니다만
index맨 윗줄에
Warning: Cannot modify header information - headers already sent by (output started at /iweb/rexo/wwwhome/kortest.php:2) in /iweb/rexo/wwwhome/gnuboard4/common.php on line 8
라는 에러메세지가 뜹니다 ㅡ.ㅡa
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<?=latest("basic", "data", 2, 70);?>
</html>
위소스에서 무엇이 잘못된것인지 고수님들의 조언을 부탁드립니다.
index.php파일과 gnuboard4 폴더는 함께 최상위루트에 있습니다.
index맨 윗줄에
Warning: Cannot modify header information - headers already sent by (output started at /iweb/rexo/wwwhome/kortest.php:2) in /iweb/rexo/wwwhome/gnuboard4/common.php on line 8
라는 에러메세지가 뜹니다 ㅡ.ㅡa
<?
$g4_path="gnuboard4";
include_once("gnuboard4/common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<?=latest("basic", "data", 2, 70);?>
</html>
위소스에서 무엇이 잘못된것인지 고수님들의 조언을 부탁드립니다.
index.php파일과 gnuboard4 폴더는 함께 최상위루트에 있습니다.
댓글 전체
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
답변해주셔서 감사합니다. 일러주신대로 위와 같이 변경해도 에러메세지가 계속 출력이 되는데요...
어디가 문제가 있는것일까요.. 경로가 잘못된건 확실히 알겠는데.. ㅡ.ㅡa
어디가 문제가 있는것일까요.. 경로가 잘못된건 확실히 알겠는데.. ㅡ.ㅡa
이거 아닌가요..
index.php
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 여기 내용 -->
<?=latest("basic", "data", 2, 70);?>
<!-- 여기 내용 -->
<?
include_once("./_tail.php");
?>
index.php
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?>
<!-- 여기 내용 -->
<?=latest("basic", "data", 2, 70);?>
<!-- 여기 내용 -->
<?
include_once("./_tail.php");
?>
ㅠ.ㅠ 알송달송님께서 답변해주신 내용에도 에러메세지는 계속 출력이 되네요.. ㅡㅡ,