최근게시물,외부로그인 문제 정보
최근게시물,외부로그인 문제본문
Warning: include_once(./common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home1/tjpark/html/_common.php on line 3
Warning: include_once() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/_common.php on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home1/tjpark/html/index.html on line 6
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/index.html on line 6
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home1/tjpark/html/index.html on line 7
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/index.html on line 7
Fatal error: Call to undefined function outlogin() in /host/home1/tjpark/html/index.html on line 93
여기 검색해서 나와있는대로 다 수정하고 바꿔봤는데 안되네요. 뭐가 문제일까요..
아래는 제 인덱스홈페이지 소스
<html>
<?
$g4_path = "./gnuboard4.utf8";
include './_common.php';
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<head>
<title>Template</title>
<style>
td{
font-size:10px;
font-family:tahoma;
color:000000;
}
a{
text-decoration:none;
font-size:11px;
color:000000;
font-family:verdana;
font:900
}
a:hover{
color:red;
}
a:visited{
font-size:11px;
color:000000;
}
a.blue {
font-size:9px;
color:4D6289;
font-family:verdana;
text-decoration:underline;
font:100
}
a.white:visited {
color:4D6289;
}
body,td,th {
color: #000000;
}
body {
background-color: #FFF;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="760" height="100%">
<tr>
<td rowspan="3"><img src="../images/1_01.png" border="0" width="235" height="298" alt=""><br>
<img src="../images/1_02.gif" border="0" width="235" height="271" alt=""><a href="../../All Users/시작 메뉴/프로그램/Adobe Photoshop CS5.lnk"></a></td>
<td width="247" rowspan="3" valign="top" background="../images/back_center.jpg"><table border="0" cellpadding="0" cellspacing="0" width="247">
<tr>
<td><img src="../images/S1.gif" border="0" width="247" height="42" alt=""></td>
</tr>
<tr>
<td height="111" valign="top" background="../images/back_center_top.jpg" bgcolor="#33CCFF" style="background-repeat:no-repeat; padding-left:20; padding-right:20; color:ffffff;"><p><br>
<strong>TJ PARK</strong>에 오신 것을 진심으로 환영합니다 <strong>TJ PARK</strong>는 개인적인 취미를 수집하고 그것을 공개하여 성취감을 얻는 사이트입니다. 불법/상업적인 취지로 만들어진 홈페이지가 아닙니다. 저작권에 대한 문제는 아래와 같은 메일이나 핸드폰으로 연락주시기 바랍니다*** 개인정보보호를 위한 이메일주소 노출방지 *** H.P *** 개인정보보호를 위한 휴대폰번호 노출방지 ***</p></td>
</tr>
<tr>
<td valign="top" class="blue" style="padding-left:10; font-family: Tahoma, Geneva, sans-serif; font-size: 16px; font-weight: bold;">Agenda(Diary)</td>
</tr>
<tr>
<td height="111" valign="top" bgcolor="#33CCFF" style="padding-left:20; padding-right:20; color:ffffff; padding-bottom:6"><br></td>
</tr>
<tr>
<td style="padding-left:10; font-size: 16px; font-family: Tahoma, Geneva, sans-serif; font-weight: bold;" valign="top">Tableav(Board)</td>
</tr>
<tr>
<td height="111" valign="top" bgcolor="#33CCFF" style="padding-left:20; padding-right:20; color:ffffff; padding-bottom:20"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
<td valign="top"><?=outlogin("ro")?>
</td>
<td width="1" rowspan="12" bgcolor="#C4C3F8"><img src="../images/spacer.gif" border="0" width="1" height="1" alt=""></td>
</tr>
<tr>
<td height="233" valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td colspan="3" align="center" valign="top" bgcolor="3F3F3F"><?=latest(c_02,photo , 5, 10);?> </td>
</tr>
<tr>
<td colspan="3" bgcolor="3F3F3F" height="100%"></td>
</tr>
<tr>
<td colspan="3" valign="middle" background="../images/footer.jpg" height="74" align="center"><strong>Copyright ⓒ TJ PARK. All rights Reserved.</strong></td>
</tr>
</table>
</body>
</html>
Warning: include_once() [function.include]: Failed opening './common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/_common.php on line 3
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home1/tjpark/html/index.html on line 6
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/index.html on line 6
Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home1/tjpark/html/index.html on line 7
Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home1/tjpark/html/index.html on line 7
Fatal error: Call to undefined function outlogin() in /host/home1/tjpark/html/index.html on line 93
여기 검색해서 나와있는대로 다 수정하고 바꿔봤는데 안되네요. 뭐가 문제일까요..
아래는 제 인덱스홈페이지 소스
<html>
<?
$g4_path = "./gnuboard4.utf8";
include './_common.php';
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
<head>
<title>Template</title>
<style>
td{
font-size:10px;
font-family:tahoma;
color:000000;
}
a{
text-decoration:none;
font-size:11px;
color:000000;
font-family:verdana;
font:900
}
a:hover{
color:red;
}
a:visited{
font-size:11px;
color:000000;
}
a.blue {
font-size:9px;
color:4D6289;
font-family:verdana;
text-decoration:underline;
font:100
}
a.white:visited {
color:4D6289;
}
body,td,th {
color: #000000;
}
body {
background-color: #FFF;
}
</style>
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body leftmargin="0" topmargin="0" rightmargin="0" bottommargin="0">
<table border="0" cellpadding="0" cellspacing="0" width="760" height="100%">
<tr>
<td rowspan="3"><img src="../images/1_01.png" border="0" width="235" height="298" alt=""><br>
<img src="../images/1_02.gif" border="0" width="235" height="271" alt=""><a href="../../All Users/시작 메뉴/프로그램/Adobe Photoshop CS5.lnk"></a></td>
<td width="247" rowspan="3" valign="top" background="../images/back_center.jpg"><table border="0" cellpadding="0" cellspacing="0" width="247">
<tr>
<td><img src="../images/S1.gif" border="0" width="247" height="42" alt=""></td>
</tr>
<tr>
<td height="111" valign="top" background="../images/back_center_top.jpg" bgcolor="#33CCFF" style="background-repeat:no-repeat; padding-left:20; padding-right:20; color:ffffff;"><p><br>
<strong>TJ PARK</strong>에 오신 것을 진심으로 환영합니다 <strong>TJ PARK</strong>는 개인적인 취미를 수집하고 그것을 공개하여 성취감을 얻는 사이트입니다. 불법/상업적인 취지로 만들어진 홈페이지가 아닙니다. 저작권에 대한 문제는 아래와 같은 메일이나 핸드폰으로 연락주시기 바랍니다*** 개인정보보호를 위한 이메일주소 노출방지 *** H.P *** 개인정보보호를 위한 휴대폰번호 노출방지 ***</p></td>
</tr>
<tr>
<td valign="top" class="blue" style="padding-left:10; font-family: Tahoma, Geneva, sans-serif; font-size: 16px; font-weight: bold;">Agenda(Diary)</td>
</tr>
<tr>
<td height="111" valign="top" bgcolor="#33CCFF" style="padding-left:20; padding-right:20; color:ffffff; padding-bottom:6"><br></td>
</tr>
<tr>
<td style="padding-left:10; font-size: 16px; font-family: Tahoma, Geneva, sans-serif; font-weight: bold;" valign="top">Tableav(Board)</td>
</tr>
<tr>
<td height="111" valign="top" bgcolor="#33CCFF" style="padding-left:20; padding-right:20; color:ffffff; padding-bottom:20"> </td>
</tr>
<tr>
<td> </td>
</tr>
</table>
</td>
<td valign="top"><?=outlogin("ro")?>
</td>
<td width="1" rowspan="12" bgcolor="#C4C3F8"><img src="../images/spacer.gif" border="0" width="1" height="1" alt=""></td>
</tr>
<tr>
<td height="233" valign="top"> </td>
</tr>
<tr>
<td valign="top"> </td>
</tr>
<tr>
<td colspan="3" align="center" valign="top" bgcolor="3F3F3F"><?=latest(c_02,photo , 5, 10);?> </td>
</tr>
<tr>
<td colspan="3" bgcolor="3F3F3F" height="100%"></td>
</tr>
<tr>
<td colspan="3" valign="middle" background="../images/footer.jpg" height="74" align="center"><strong>Copyright ⓒ TJ PARK. All rights Reserved.</strong></td>
</tr>
</table>
</body>
</html>
댓글 전체
그누보드 기본 index.php 파일을 참고해서 작성하세요.
기본 index.php 파일이 무엇이죠
경로가 잘못됨