묻고답하기
page_full_width" class="col-xs-12" |cond="$__Context->page_full_width">
include에러가 나네요. 좀 도와주세요.
2002.10.24 15:03
홈피를 만들고 있는 중인데...-_-;
계속 include에러가 나네요.
Warning: Failed opening '/home1/public_html/fudagy/zb41/zboard.php?id=k_memo' for inclusion (include_path='.:/usr/lib/php') in /home1/fudagy/public_html/kukkyo/index.php on line 157
에러명은 이렇게 나고요..
태그는 <? include "/home1/public_html/fudagy/zb41/zboard.php?id=k_memo"; ?> 이렇게 했고요.
절대 경로가 틀린 건 아뉘거 같은데.
그런데 이상하게 에러가 나네요.
저기 말고 다른 사이트나 다른 것 include해도 에러가나네요. -_-; 소스 어디가에서 문제가 있는거 같은데...;;
잘 모르겠네요. 좀 도와주세요.
에러나는 사이트 주소입니다.
http://fudagy.byus.net/kukkyo/index.php
소스는
<?
$_zb_url = "http://fudagy.byus.net/zb41/";
$_zb_path = "/home1/fudagy/public_html/zb41/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>한남대학교 국어교육과</title>
<link rel=StyleSheet HREF=http://fudagy.byus.net/style.css type=text/css title=style>
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="820" background="/kukkyo/img/shadow_line.gif">
<tr><td>
<table bgcolor="white" border="0" cellpadding="0" cellspacing="0" width="800">
<tr><td>
<Table border="0" cellpadding="0" cellspacing="0">
<tr><td height="15">
<p align="right">contact us | WebMaster </P>
</td></tr>
<tr><td align=center colspan=2><img src="/kukkyo/img/top.gif" width="795" height="120" border="0" align="center">
</td></tr>
<tr><td align=left colspan=2><a href="/kukkyo/index.php"><img src="/kukkyo/img/tap.gif" width="170" height="30" border="0"></a> <img src="/img/menu.gif" width="600" height="30" usemap="#Map" border="0">
</td></tr>
<tr><td bgcolor="#F0F0F0">
<div id="Layer1" style="position:absolute; left:200px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>학과연혁 | 교과목개요 | 교과과정 | <a href="http://fudagy.byus.net/kukkyo/professor.php">교수소개</a> | 신입생 안내</b></font></div>
<div id="Layer2" style="position:absolute; left:279px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>학생회활동 | 행사일정 | 학회활동</b></font></div>
<div id="Layer3" style="position:absolute; left:284px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>김명순교수 | 윤정룡교수 | 김홍범교수 | 이상우교수</b></font></div>
<div id="Layer4" style="position:absolute; left:335px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>극문화부 | 문학부 | 편집부 | 천지인 | 학술부 | <a href="http://fudagy.byus.net/zb41/zboard.php?id=99cafe">소모임</a></b></font></div>
<div id="Layer5" style="position:absolute; left:270px; top:172px; width:500px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>자유게시판 | 문예마당 | 토론게시판 | 정보마당 | 방명록 | <a href="http://fudagy.byus.net/zb41/zboard.php?id=homepibbs">홈피게시판</a></b></font></div>
</td></tr>
</table>
<map name="Map">
<area shape="rect" coords="116,5,170,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','show','Layer2','','inherit','Layer3','','inherit','Layer4','','inherit','Layer5','','+ '+ 'inherit')">
<area shape="rect" coords="178,4,231,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','+ 'inherit','Layer2','','show','Layer3','','inherit','Layer4','','inherit','Layer5','','inherit')">
<area shape="rect" coords="241,5,281,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','show','Layer4','','inherit','Layer5',''+ ','inherit')">
<area shape="rect" coords="293,4,353,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','inherit','Layer4','','show','Layer5','','inherit')">
<area shape="rect" coords="363,5,416,25" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','inherit','Layer4','','inherit','Layer5','','show')">
<area shape="rect" coords="425,5,467,25" href="#">
<area shape="rect" coords="475,5,517,26" href="#">
<area shape="rect" coords="526,5,589,26" href="#">
<area shape="rect" coords="7,4,70,26" href="#">
</map>
</td></tr>
<tr><td>
<!-- 서브메뉴와 텍스트-->
<!-- 서브메뉴 -->
<table border="0" cellspacing="0" cellpadding="0" bordercolor="white">
<tr><td valign="top" bgcolor="#f8f8f8">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#f8f8f8">
<table border="1" align="center" cellspacing="0" cellpadding="0" bordercolor="#E6EBF5">
<tr><td bgcolor="#F0F4F8" height="15"><center><b>국어교육과 자물쇠</b></font></center></td></tr>
<tr><td border="1"><? print_outlogin("mnetv2", 2, 10) ?></td></tr>
<tr><td bgcolor="#F0F4F8" height="15"><center><b>메인메뉴<b></center></td></tr>
<tr><td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height="15"><center>회원가입<br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=k_notice">공지사항</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=vote">설문조사</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=homepibbs">홈피게시판</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td><td width="1*">
</td><td align="center">
<!-- 서브메뉴끝 -->
<!-- 텍스트 -->
<!-- 첫화면 -->
<table align="center" cellspacing="5" cellpadding="0">
<tr>
<td colspan="3" width="600">
<? print_bbs("aurora_latest_notice", "공지사항", "k_notice", 5, 30)?>
</tr>
<tr>
<td width="250">
<? print_bbs("aurora_latest_bbs", "홈피게시판", "homepibbs", 5, 30)?>
</td>
<td rowspan="3" width="10"> </td>
<td rowspan="3" valign="top">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR VALIGN="MIDDLE" ALIGN="LEFT">
<TD><IMG SRC="/kukkyo/img/tleft.gif" WIDTH=12 HEIGHT=30 BORDER="0"></TD>
<TD width=100% BACKGROUND="/kukkyo/img/t.gif">
<p align="left"> <b>설문조사</b></TD>
<TD><IMG SRC="/kukkyo/img/tright.gif" WIDTH=8 HEIGHT=30 BORDER="0"></TD>
</TR>
<TR VALIGN="TOP">
<TD> </TD>
<TD>
<?print_survey("default/default_survey", "설문조사", "vote", 90)?>
</td>
</tr>
</table>
</td>
<td rowspan="3" width="50"> </td>
</tr>
<tr>
<td width="250">
<? print_bbs("aurora_latest_bbs", "99카페(임시)", "99cafe", 5, 30)?>
</td>
</tr>
<tr>
<td colspan="3">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR VALIGN="MIDDLE" ALIGN="LEFT">
<TD><IMG SRC="/kukkyo/img/tleft.gif" WIDTH=12 HEIGHT=30 BORDER="0"></TD>
<TD width=100% BACKGROUND="/kukkyo/img/t.gif" valign="middle">
<p align="left" valign="middle"> <img src="/kukkyo/img/site_menu05.gif" border="0"> <b>낙서장</b></p></TD>
<TD><IMG SRC="/kukkyo/img/tright.gif" WIDTH=8 HEIGHT=30 BORDER="0"></TD>
</TR>
<TR VALIGN="TOP">
<TD> </TD>
<TD>
-----------------------------------------------------------------------------------------------------
<? include "/home1/public_html/fudagy/zb41/zboard.php?id=k_memo"; ?>
-----------------------------------------------------------------------------------------------------
이 줄에서 에러가 납니다. 위처럼 썼거든요.
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 첫화면끝 -->
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>
계속 include에러가 나네요.
Warning: Failed opening '/home1/public_html/fudagy/zb41/zboard.php?id=k_memo' for inclusion (include_path='.:/usr/lib/php') in /home1/fudagy/public_html/kukkyo/index.php on line 157
에러명은 이렇게 나고요..
태그는 <? include "/home1/public_html/fudagy/zb41/zboard.php?id=k_memo"; ?> 이렇게 했고요.
절대 경로가 틀린 건 아뉘거 같은데.
그런데 이상하게 에러가 나네요.
저기 말고 다른 사이트나 다른 것 include해도 에러가나네요. -_-; 소스 어디가에서 문제가 있는거 같은데...;;
잘 모르겠네요. 좀 도와주세요.
에러나는 사이트 주소입니다.
http://fudagy.byus.net/kukkyo/index.php
소스는
<?
$_zb_url = "http://fudagy.byus.net/zb41/";
$_zb_path = "/home1/fudagy/public_html/zb41/";
include $_zb_path."outlogin.php";
?>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<title>한남대학교 국어교육과</title>
<link rel=StyleSheet HREF=http://fudagy.byus.net/style.css type=text/css title=style>
<script language="JavaScript">
<!--
<!--
function MM_reloadPage(init) { //reloads the window if Nav4 resized
if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
function MM_findObj(n, d) { //v4.0
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && document.getElementById) x=document.getElementById(n); return x;
}
function MM_showHideLayers() { //v3.0
var i,p,v,obj,args=MM_showHideLayers.arguments;
for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v='hide')?'hidden':v; }
obj.visibility=v; }
}
//-->
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" leftmargin="0" marginwidth="0" topmargin="0" marginheight="0">
<table border="0" cellpadding="0" cellspacing="0" width="820" background="/kukkyo/img/shadow_line.gif">
<tr><td>
<table bgcolor="white" border="0" cellpadding="0" cellspacing="0" width="800">
<tr><td>
<Table border="0" cellpadding="0" cellspacing="0">
<tr><td height="15">
<p align="right">contact us | WebMaster </P>
</td></tr>
<tr><td align=center colspan=2><img src="/kukkyo/img/top.gif" width="795" height="120" border="0" align="center">
</td></tr>
<tr><td align=left colspan=2><a href="/kukkyo/index.php"><img src="/kukkyo/img/tap.gif" width="170" height="30" border="0"></a> <img src="/img/menu.gif" width="600" height="30" usemap="#Map" border="0">
</td></tr>
<tr><td bgcolor="#F0F0F0">
<div id="Layer1" style="position:absolute; left:200px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>학과연혁 | 교과목개요 | 교과과정 | <a href="http://fudagy.byus.net/kukkyo/professor.php">교수소개</a> | 신입생 안내</b></font></div>
<div id="Layer2" style="position:absolute; left:279px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>학생회활동 | 행사일정 | 학회활동</b></font></div>
<div id="Layer3" style="position:absolute; left:284px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>김명순교수 | 윤정룡교수 | 김홍범교수 | 이상우교수</b></font></div>
<div id="Layer4" style="position:absolute; left:335px; top:172px; width:400px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>극문화부 | 문학부 | 편집부 | 천지인 | 학술부 | <a href="http://fudagy.byus.net/zb41/zboard.php?id=99cafe">소모임</a></b></font></div>
<div id="Layer5" style="position:absolute; left:270px; top:172px; width:500px; height:15px; z-index:1; visibility: hidden"><font size="2" color="#aaaaaa"><b>자유게시판 | 문예마당 | 토론게시판 | 정보마당 | 방명록 | <a href="http://fudagy.byus.net/zb41/zboard.php?id=homepibbs">홈피게시판</a></b></font></div>
</td></tr>
</table>
<map name="Map">
<area shape="rect" coords="116,5,170,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','show','Layer2','','inherit','Layer3','','inherit','Layer4','','inherit','Layer5','','+ '+ 'inherit')">
<area shape="rect" coords="178,4,231,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','+ 'inherit','Layer2','','show','Layer3','','inherit','Layer4','','inherit','Layer5','','inherit')">
<area shape="rect" coords="241,5,281,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','show','Layer4','','inherit','Layer5',''+ ','inherit')">
<area shape="rect" coords="293,4,353,26" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','inherit','Layer4','','show','Layer5','','inherit')">
<area shape="rect" coords="363,5,416,25" href="#" onMouseOver="MM_showHideLayers('Layer1','','inherit','Layer2','','inherit','Layer3','','inherit','Layer4','','inherit','Layer5','','show')">
<area shape="rect" coords="425,5,467,25" href="#">
<area shape="rect" coords="475,5,517,26" href="#">
<area shape="rect" coords="526,5,589,26" href="#">
<area shape="rect" coords="7,4,70,26" href="#">
</map>
</td></tr>
<tr><td>
<!-- 서브메뉴와 텍스트-->
<!-- 서브메뉴 -->
<table border="0" cellspacing="0" cellpadding="0" bordercolor="white">
<tr><td valign="top" bgcolor="#f8f8f8">
<table border="0" cellspacing="0" cellpadding="0">
<tr><td bgcolor="#f8f8f8">
<table border="1" align="center" cellspacing="0" cellpadding="0" bordercolor="#E6EBF5">
<tr><td bgcolor="#F0F4F8" height="15"><center><b>국어교육과 자물쇠</b></font></center></td></tr>
<tr><td border="1"><? print_outlogin("mnetv2", 2, 10) ?></td></tr>
<tr><td bgcolor="#F0F4F8" height="15"><center><b>메인메뉴<b></center></td></tr>
<tr><td>
<table width="100%" cellspacing="0" cellpadding="0">
<tr><td height="15"><center>회원가입<br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=k_notice">공지사항</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=vote">설문조사</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
<tr><td height="15"><center><a href="http://fudagy.byus.net/zb41/zboard.php?id=homepibbs">홈피게시판</a><br><img src=/kukkyo/img/underline.gif border=0 width=100% height=3><br></center></td></tr>
</table>
</td></tr>
</table>
</td></tr>
</table>
</td><td width="1*">
</td><td align="center">
<!-- 서브메뉴끝 -->
<!-- 텍스트 -->
<!-- 첫화면 -->
<table align="center" cellspacing="5" cellpadding="0">
<tr>
<td colspan="3" width="600">
<? print_bbs("aurora_latest_notice", "공지사항", "k_notice", 5, 30)?>
</tr>
<tr>
<td width="250">
<? print_bbs("aurora_latest_bbs", "홈피게시판", "homepibbs", 5, 30)?>
</td>
<td rowspan="3" width="10"> </td>
<td rowspan="3" valign="top">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR VALIGN="MIDDLE" ALIGN="LEFT">
<TD><IMG SRC="/kukkyo/img/tleft.gif" WIDTH=12 HEIGHT=30 BORDER="0"></TD>
<TD width=100% BACKGROUND="/kukkyo/img/t.gif">
<p align="left"> <b>설문조사</b></TD>
<TD><IMG SRC="/kukkyo/img/tright.gif" WIDTH=8 HEIGHT=30 BORDER="0"></TD>
</TR>
<TR VALIGN="TOP">
<TD> </TD>
<TD>
<?print_survey("default/default_survey", "설문조사", "vote", 90)?>
</td>
</tr>
</table>
</td>
<td rowspan="3" width="50"> </td>
</tr>
<tr>
<td width="250">
<? print_bbs("aurora_latest_bbs", "99카페(임시)", "99cafe", 5, 30)?>
</td>
</tr>
<tr>
<td colspan="3">
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="0" WIDTH="100%">
<TR VALIGN="MIDDLE" ALIGN="LEFT">
<TD><IMG SRC="/kukkyo/img/tleft.gif" WIDTH=12 HEIGHT=30 BORDER="0"></TD>
<TD width=100% BACKGROUND="/kukkyo/img/t.gif" valign="middle">
<p align="left" valign="middle"> <img src="/kukkyo/img/site_menu05.gif" border="0"> <b>낙서장</b></p></TD>
<TD><IMG SRC="/kukkyo/img/tright.gif" WIDTH=8 HEIGHT=30 BORDER="0"></TD>
</TR>
<TR VALIGN="TOP">
<TD> </TD>
<TD>
-----------------------------------------------------------------------------------------------------
<? include "/home1/public_html/fudagy/zb41/zboard.php?id=k_memo"; ?>
-----------------------------------------------------------------------------------------------------
이 줄에서 에러가 납니다. 위처럼 썼거든요.
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 첫화면끝 -->
</td></tr>
</table>
</td></tr>
</table>
</body>
</html>
댓글 5
-
아이쿠
2002.10.24 15:36
-
푸다기
2002.10.24 16:09
그거 고쳤는데도 그러네요..-_-;
/home1/fudagy/public_html/ 이 절대경로는 맞고요. -_-;;
여전히 이렇게
Warning: Failed opening '/home1/fudagy/public_html/zb41/zboard.php?id=k_memo' for inclusion (include_path='.:/usr/lib/php') in /home1/fudagy/public_html/kukkyo/index.php on line 157
나온다는...;;아악..ㅠㅠ -
M2Vis
2002.10.24 16:25
그거 안된다는..ㅡㅡ;
제로보드가 zboard.php파일에서 인클루드를 사용했기 때문에.
그파일을 다시 인클루드가 안된다는..-_-;;
(맞는지는 모르겠습니다. 저도 이것때문에.. 여러번 삽질한적이 있죠.)
제가 보기엔..
노프레임으로 홈을 만드시는것 같은데.. 그 방법 말고.. 다른 방법
(제로보드에 집어넣기로 해보세요 http://nzeo.com/manual/에 보시면
노프레임 만들기 있습니다. -
푸다기
2002.10.24 16:43
M2Vis // -_- 구런 거였군요. 감솨합니다.
군데 제로보드에 집어넣기는 -_-하면 안된다는...첫페이지걸랑요.
다른 페이지들은 집어넣었다는...;; -_-... 구냥 아이 플레임으로 줘야겠네요..-_-;;;; -
M2Vis
2002.10.24 19:31
푸다기 //
제로보드에 집어 넣는 식으로 해도 다 만들수 있다는..^^;
부분부분 파일로 만들어 인클루드 시키는 방법..
그렇게 홈페이지 만들면서 놀고 있다는..^^~
/home1/fudagy/public_html/
둘중에 어느게 맞는지는 모르겠습니다만.. ^.^ 두개가 혼용되어 사용되었네요..
둘중 정확한 경로로 수정해보세요.. ^.^