로그인 전에 에러 lib\common.lib.php on line 109
Warning: Cannot modify header information - headers already sent by (output started at h:\apm_setup\htdocs\index.php:12) in h:\apm_setup\htdocs\lib\common.lib.php on line 109
이 에러가 발생합니다.
회원가입 버튼을 클릭하거나 로그인 후 로그아웃 하거나 할 시에는 위의 메세지가 뜨지 않습니다.
제가 적용한 소스의 일부 입니다.
//////////////
<html>
<head>
<title>제목 없음</title>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<body leftmargin="0" topmargin="0">
<head>
<title>제목 없음</title>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
</head>
<body leftmargin="0" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="185" height="535" valign="top" background="sub_img/left_bg.gif">
<p><img src="sub_img/logo.gif" width="185" height="70"></p>
<p><!-- 여기서 부터 외부로그인 -->
<?include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");?>
<?=outlogin("make");?>
<tr>
<td width="185" height="535" valign="top" background="sub_img/left_bg.gif">
<p><img src="sub_img/logo.gif" width="185" height="70"></p>
<p><!-- 여기서 부터 외부로그인 -->
<?include_once("./_common.php");
include_once("$g4[path]/lib/outlogin.lib.php");?>
<?=outlogin("make");?>
<!-- 여기까지 외부로그인 --> </p>
//////////////////////
고수분들의 도움 부탁 드립니다.
|
댓글을 작성하시려면 로그인이 필요합니다.
댓글 3개
이 줄 위로....
이 구문 <?include_once("./_common.php");
옮겨서
<?include_once("./_common.php");?>
<html>
이렇게 위치하도록 해주니까 되네요...
어제는 안됐는데 자고 일어나서 쿠키삭제, 인터넷 임시파일 등등 삭제하고
해보니 잘 됩니다. 너무 감사드립니다.rolo님...^^
좋은 주말 보내세요...
php언어는 거의 손을 못대는 수준이고 다른 님들이 올린 글을 참고로 수정해보기도 했고, 심지어 emeditor로 다시 새롭게 저장하면 된다 해서 그것도 해보았는데 해결이 안되더라구요.
묘하게도 어떤 때는 에러메시지가 나타났다가도 또 어떤때는 안 나타나기도 하고...
저는 아래 문구를 index.html파일 맨 위로 추가 시켰습니다.
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이후로 에러메시지는 안뜨는데.... 또 모르져. 다시 뜨게 될지... 불안불안!!