회원가입 register.php의 오류인데요. > 그누4 질문답변

그누4 질문답변

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

회원가입 register.php의 오류인데요. 정보

회원가입 register.php의 오류인데요.

본문

오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://acominc.co.kr/kor/bbs/register.php


Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 32

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 34

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 35

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 36

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 37

Warning: Cannot modify header information - headers already sent by (output started at /home/hosting_users/acominc/www/kor/bbs/register.php:1) in /home/hosting_users/acominc/www/kor/head.sub.php on line 38


----------------------

위처럼 뜨는건 head.sub.php를 인클루드 안시켜서 나는 오류인가요?;
인클루드 시켜야한다면 소스의 어느부분을 고쳐야하는지요
어제 질문올렸는데 고마우신 몇몇분의 도움이있었지만 아직도 해결을 못봣어요ㅠ

head.sub.php 소스의 32~38 라인 입니다

--------------
header("Content-Type: text/html; charset=$g4[charset]");
$gmnow = gmdate("D, d M Y H:i:s") . " GMT";
header("Expires: 0"); // rfc2616 - Section 14.21
header("Last-Modified: " . $gmnow);
header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1
header("Cache-Control: pre-check=0, post-check=0, max-age=0"); // HTTP/1.1
header("Pragma: no-cache"); // HTTP/1.0

register.php 소스이구요.
------------------
<script language="javascript" src="<?=$g4[path]?>/js/md5.js"></script>
<script language="javascript" src="<?=$g4[path]?>/js/sideview.js"></script>

<?
include_once("./_common.php");
include_once("./_head.php");
include_once("./head.sub.php");

// 로그인중인 경우 회원가입 할 수 없습니다.
if ($member[mb_id])
    goto_url($g4[path]);

// 세션을 지웁니다.
set_session("ss_mb_reg", "");

$member_skin_path = "$g4[path]/skin/member/$config[cf_member_skin]";

$g4[title] = "회원가입약관";

include_once("$member_skin_path/register.skin.php");
?>
  • 복사

댓글 전체

main(./head.sub.php): failed to open stream: No such file or directory in /home/hosting_users/acominc/www/kor/bbs/register.php on line 7
일단 이 파일 인쿠르드 하는 경로가 잘못되었구요

include_once("./head.sub.php"); 이 파일 인쿠르드 하기 전에 위에  자바스크립트 부분을 적지 말고요 자바스크립트를 소스 제일 밑으로 내려보세요

<script language="javascript" src="<?=$g4[path]?>/js/md5.js"></script>
<script language="javascript" src="<?=$g4[path]?>/js/sideview.js"></script>
즉 헤드 인쿠르드 하기전에 위 자바스크립트가 나와서 그래요.

<script language="javascript" src="/js/md5.js"></script>
<script language="javascript" src="/js/sideview.js"></script>
© SIRSOFT
현재 페이지 제일 처음으로