v

아웃로그인 설치 도와주세요..에러//

· 2010-11-10 (수) 21:20:18 · 1104 · 2
Untitled-2 copy.jpg
Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/common.php on line 8

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /web/home/uissiu/html/index.php:1) in /web/home/uissiu/html/head.sub.php on line 38

이런 에러가 뜨네요...

index.php 파일안에
<?
include_once("./_common.php");
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<html>
<head>
</head>
<body>
<?echo outlogin("basic"); ?>
</body>
</html>
이렇게 작성 하였구요...그누보드 설치는 gnuboard4 폴더를 만들지 않고 맨 상위폴더 html 아래에
풀어넣었습니다. index.php/_common.php/common.php 파일 모두 같은곳 html 폴더 안에 있습니다.
_common.php 파일은 그대로 두었습니다.
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>

문제가 뭘까요?

@ gnuboard4 폴더안에 넣어서도 해봤었습니다..
html 파일로 했을때 html 파일 안에 로그인 출력 소스만 넣을땐 에러 없이 잘보이다가...
테이블이 다짜여지고 홈페이지 제작중인 html파일 안에 넣으면 저같은 에러가 나더군요...
넘 어렵네요 문제가 뭔지...
스샷 첨부합니다...

첨부파일

Untitled-2 copy.jpg (490.6 KB)
1회 2010-11-10 21:37
|

댓글 2개

흠..... 대부분 이런문제들은
<? 이거위에 공백이나 뭔가 내용이있을때 나더라구요.
일단.. 인클루드는 잘되고, 아마 작동도 잘될것으로 보이네요. 에러문구가 나올뿐..
정안되시면 일단
@include_once("./_common.php");
이런식으로 하시면 에러메세지가 일단은 출력은 안될겁니다.

그리고 여담으로,
저기.. 소스에서 <html> 과 <head>는 지우시고 <body>이하만 적어주세요.
왜냐면 불러오는 head.sub.php 에서 정의가 되어있거든요.
답변 감사드려요...
근데, 다른방법으로 해결이 되었네요...^^;
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
10-11-10 조회 1,105
10-11-10 조회 995
10-11-10 조회 922
10-11-10 조회 862
10-11-10 조회 1,210
10-11-10 조회 1,321
10-11-10 조회 1,027
10-11-10 조회 1,136
10-11-10 조회 1,015
10-11-10 조회 1,058
10-11-10 조회 887
10-11-10 조회 2,129
10-11-10 조회 1,066
10-11-10 조회 880
10-11-10 조회 1,710
10-11-10 조회 3,939
10-11-10 조회 1,004
10-11-10 조회 1,088
10-11-10 조회 911
10-11-10 조회 1,055