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

게시판 추출이 안되요

· 12년 전 · 918 · 1
 Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/joycups/www/gnuboard4/la-no.php:1) in /home/hosting_users/joycups/www/gnuboard4/common.php on line 8
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/joycups/www/gnuboard4/la-no.php:1) in /home/hosting_users/joycups/www/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/joycups/www/gnuboard4/la-no.php:1) in /home/hosting_users/joycups/www/gnuboard4/lib/common.lib.php on line 98
Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/joycups/www/gnuboard4/la-no.php:1) in /home/hosting_users/joycups/www/gnuboard4/lib/common.lib.php on line 98
이런 에러가 납니다.
 
_head.php파일엔
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.php");
?>
이렇게 들어가 있구요.
la-no.php파일엔 다음과 같이 있습니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
<html>
<head>
<title>마음까지 따뜻해지는 "JOY CUPS"</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body leftmargin="0" topmargin="0">
<table width="250"><tr><td bgcolor="#00CC66" width="100%">
<?=latest("enaksu", "notice", 5, 60); ?>
</td></tr></table>
</body>
</html>
 
common.lib.php이파일은 건들지 안았어요. 그누보드 설치해서 사용한거라...
메인에 게시물추출을 하려 추출은 되는데 에러메세지와 같이 나오네요.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 1개

la-no.php파일을 살펴보셔야 할 것 같습니다...
저 에러는 보통 헤더 선언 이전에 출력 명령이 들어갈 경우 발생하는 것입니다.
header(); 함수 상단에는 echo, print 등의 명령어나 출력문이 있으면 안됩니다.

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440