아웃로그인 설치 도와주세요..에러// 정보
아웃로그인 설치 도와주세요..에러//본문
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파일 안에 넣으면 저같은 에러가 나더군요...
넘 어렵네요 문제가 뭔지...
스샷 첨부합니다...
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파일 안에 넣으면 저같은 에러가 나더군요...
넘 어렵네요 문제가 뭔지...
스샷 첨부합니다...
댓글 전체
흠..... 대부분 이런문제들은
<? 이거위에 공백이나 뭔가 내용이있을때 나더라구요.
일단.. 인클루드는 잘되고, 아마 작동도 잘될것으로 보이네요. 에러문구가 나올뿐..
정안되시면 일단
@include_once("./_common.php");
이런식으로 하시면 에러메세지가 일단은 출력은 안될겁니다.
그리고 여담으로,
저기.. 소스에서 <html> 과 <head>는 지우시고 <body>이하만 적어주세요.
왜냐면 불러오는 head.sub.php 에서 정의가 되어있거든요.
<? 이거위에 공백이나 뭔가 내용이있을때 나더라구요.
일단.. 인클루드는 잘되고, 아마 작동도 잘될것으로 보이네요. 에러문구가 나올뿐..
정안되시면 일단
@include_once("./_common.php");
이런식으로 하시면 에러메세지가 일단은 출력은 안될겁니다.
그리고 여담으로,
저기.. 소스에서 <html> 과 <head>는 지우시고 <body>이하만 적어주세요.
왜냐면 불러오는 head.sub.php 에서 정의가 되어있거든요.
답변 감사드려요...
근데, 다른방법으로 해결이 되었네요...^^;
근데, 다른방법으로 해결이 되었네요...^^;