현재 접속자 정보
현재 접속자본문
현재접속자스킨을썻는대 어덯게 추가시키는지도 좀 자세히 알려주세요.
제가 설명대로 하니까 아래대로 애러나네요.;
Fatal error: Call to undefined function: connect() in /kfidc/home/pschoi36/html/home/index.php on line 75
이렇게 오류나네요.
tingenara 이게 스킨명인대 <?=connect("tingenara"); // 접속자 ?> 이렇게
플러그인에다가 추가해서 해밧는대 위에처럼 오류나네요.
제가 설명대로 하니까 아래대로 애러나네요.;
Fatal error: Call to undefined function: connect() in /kfidc/home/pschoi36/html/home/index.php on line 75
이렇게 오류나네요.
tingenara 이게 스킨명인대 <?=connect("tingenara"); // 접속자 ?> 이렇게
플러그인에다가 추가해서 해밧는대 위에처럼 오류나네요.
댓글 전체

connect 함수를 불러오지 못해서 생기는 에러내요. lib파일 체크 해보심이 좋을것 같습니다.
lib파일을 분명히 덮어쓰기해서 올렷는대두 저런대;; 혹시 제가 저 스킨이 정상적으로 작동대는지
웹에서 확인하는 주소 방법좀 알려주세요.
웹에서 확인하는 주소 방법좀 알려주세요.

include_once("$g4[path]/lib/connect.lib.php");
커넥트 라이브러리 파일을 인클루드 했는지 다시 체크해보세요~~
인덱스파일 상단에
include_once("$g4[path]/lib/connect.lib.php");
라이브러리파일 인클루드 해보세요
커넥트 라이브러리 파일을 인클루드 했는지 다시 체크해보세요~~
인덱스파일 상단에
include_once("$g4[path]/lib/connect.lib.php");
라이브러리파일 인클루드 해보세요
인클루드 뜻이머져? ㅠ_ㅠ
인덱스파일은 어디꺼 말씀하시는거져? d4들어가자 마자 바로 인덱스php말슴하시는고?

모든 페이지라면 head.php에
아니고 쳇페이지만이라면
index.php에
include_once("$g4[path]/lib/connect.lib.php");
상단에 추가해보세요
include=>"내 파일안에 너를 끼우도록 하겠다! 어서 이리 오너라~~~"
ㅌㅌㅌ
아니고 쳇페이지만이라면
index.php에
include_once("$g4[path]/lib/connect.lib.php");
상단에 추가해보세요
include=>"내 파일안에 너를 끼우도록 하겠다! 어서 이리 오너라~~~"
ㅌㅌㅌ
서누니님 네이트온 원격제어 한번해주심 안댈가여 ㅠ_ㅠ
제발부탁드려여 ㅠ_ㅠ

ㅈㅅㅈㅅ 지금 쓰고 있는 컴이 똥컴이라 네이트온 돌리기도 힘듭니다....ㄷㄷ
head.php index.php 소스 보여주시면 해결해드릴께요
head.php index.php 소스 보여주시면 해결해드릴께요
인덱스파일에 <?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?> 이렇게 추가햇거든여 그래두 똑같은대 ㅠ_ㅠ
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
$g4['title'] = "";
include_once("./_head.php");
?> 이렇게 추가햇거든여 그래두 똑같은대 ㅠ_ㅠ
이건 헤드 php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
<!-- 상단 배경 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td background="<?=$g4['path']?>/img/top_img_bg.gif">
<table width="100%" height="52" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?=$g4['path']?>/img/top_img.gif" width="100%" height="52"></td>
</tr>
</table></td>
</tr>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="57"></td>
<!-- 로고 -->
<td width="220"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.jpg" width="220" height="57" border="0"></a></td>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="390" align="right">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 처음으로 버튼 -->
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="31" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="31" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/new.php"><img src="<?=$g4['path']?>/img/top_m06.gif" width="78" height="31" border="0"></a></td>
</tr>
</table></td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="11"></td>
<td width="220"></td>
<td width=""></td>
<td width="234"><img src="<?=$g4['path']?>/img/search_top.gif" width="234" height="11"></td>
<td width="35"></td>
</tr>
<tr>
<td height="33"><img src="<?=$g4['path']?>/img/bar_01.gif" width="43" height="33"></td>
<td><img src="<?=$g4['path']?>/img/bar_02.gif" width="220" height="33"></td>
<td background="<?=$g4['path']?>/img/bar_03.gif" width="472" height="33"><table width=100% cellpadding=0 cellspacing=0><tr><td width=25> </td><td><?//=popular();?></td></tr></table></td>
<td>
<form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);" style="margin:0px;">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<table width="100%" height="33" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"><img src="<?=$g4['path']?>/img/search_01.gif" width="25" height="25"></td>
<td width="136" valign="middle" bgcolor="#F4F4F4"><INPUT name="stx" type="text" maxlength=20 style="BORDER : 0px solid; width: 125px; HEIGHT: 20px; BACKGROUND-COLOR: #F4F4F4" maxlength="20"></td>
<td width="12"><img src="<?=$g4['path']?>/img/search_02.gif" width="12" height="25"></td>
<td width="48"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" width="48" height="25" border="0"></td>
<td width="13"><img src="<?=$g4['path']?>/img/search_03.gif" width="13" height="25"></td>
</tr>
<tr>
<td width="234" height="8" colspan="5"><img src="<?=$g4['path']?>/img/search_down.gif" width="234" height="8"></td>
</tr>
</table>
</form>
</td>
<td></td>
</tr>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<div style='height:18px;'></div>
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<td width=43></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=18></td>
<!-- 중간 -->
<td width=683 valign=top>
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
//print_r2(get_defined_constants());
// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
$table_width = 1004;
?>
<!-- 상단 배경 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td background="<?=$g4['path']?>/img/top_img_bg.gif">
<table width="100%" height="52" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<?=$g4['path']?>/img/top_img.gif" width="100%" height="52"></td>
</tr>
</table></td>
</tr>
</table>
<!-- 상단 배경 끝 -->
<!-- 상단 로고 및 버튼 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="57"></td>
<!-- 로고 -->
<td width="220"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/logo.jpg" width="220" height="57" border="0"></a></td>
<td>
<table width=100% border=0 cellpadding=0 cellspacing=0>
<tr>
<td> </td>
</tr>
</table>
</td>
<td width="390" align="right">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 처음으로 버튼 -->
<td width="78"><a href="<?=$g4['path']?>/"><img src="<?=$g4['path']?>/img/top_m01.gif" width="78" height="31" border="0"></a></td>
<? if (!$member['mb_id']) { ?>
<!-- 로그인 이전 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/login.php?url=<?=$urlencode?>"><img src="<?=$g4['path']?>/img/top_m02.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/register.php"><img src="<?=$g4['path']?>/img/top_m03.gif" width="78" height="31" border="0"></a></td>
<? } else { ?>
<!-- 로그인 이후 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/logout.php"><img src="<?=$g4['path']?>/img/top_m04.gif" width="78" height="31" border="0"></a></td>
<td width="78"><a href="<?=$g4['bbs_path']?>/member_confirm.php?url=register_form.php"><img src="<?=$g4['path']?>/img/top_m05.gif" width="78" height="31" border="0"></a></td>
<? } ?>
<!-- 최근게시물 버튼 -->
<td width="78"><a href="<?=$g4['bbs_path']?>/new.php"><img src="<?=$g4['path']?>/img/top_m06.gif" width="78" height="31" border="0"></a></td>
</tr>
</table></td>
<td width="35"></td>
</tr>
</table>
<!-- 상단 로고 및 버튼 끝 -->
<!-- 검색 시작 -->
<table width="<?=$table_width?>" cellspacing="0" cellpadding="0">
<tr>
<td width="43" height="11"></td>
<td width="220"></td>
<td width=""></td>
<td width="234"><img src="<?=$g4['path']?>/img/search_top.gif" width="234" height="11"></td>
<td width="35"></td>
</tr>
<tr>
<td height="33"><img src="<?=$g4['path']?>/img/bar_01.gif" width="43" height="33"></td>
<td><img src="<?=$g4['path']?>/img/bar_02.gif" width="220" height="33"></td>
<td background="<?=$g4['path']?>/img/bar_03.gif" width="472" height="33"><table width=100% cellpadding=0 cellspacing=0><tr><td width=25> </td><td><?//=popular();?></td></tr></table></td>
<td>
<form name="fsearchbox" method="get" onsubmit="return fsearchbox_submit(this);" style="margin:0px;">
<!-- <input type="hidden" name="sfl" value="concat(wr_subject,wr_content)"> -->
<input type="hidden" name="sfl" value="wr_subject||wr_content">
<input type="hidden" name="sop" value="and">
<table width="100%" height="33" cellspacing="0" cellpadding="0">
<tr>
<td width="25" height="25"><img src="<?=$g4['path']?>/img/search_01.gif" width="25" height="25"></td>
<td width="136" valign="middle" bgcolor="#F4F4F4"><INPUT name="stx" type="text" maxlength=20 style="BORDER : 0px solid; width: 125px; HEIGHT: 20px; BACKGROUND-COLOR: #F4F4F4" maxlength="20"></td>
<td width="12"><img src="<?=$g4['path']?>/img/search_02.gif" width="12" height="25"></td>
<td width="48"><input type="image" src="<?=$g4['path']?>/img/search_button.gif" width="48" height="25" border="0"></td>
<td width="13"><img src="<?=$g4['path']?>/img/search_03.gif" width="13" height="25"></td>
</tr>
<tr>
<td width="234" height="8" colspan="5"><img src="<?=$g4['path']?>/img/search_down.gif" width="234" height="8"></td>
</tr>
</table>
</form>
</td>
<td></td>
</tr>
</table>
<script language="JavaScript">
function fsearchbox_submit(f)
{
if (f.stx.value.length < 2) {
alert("검색어는 두글자 이상 입력하십시오.");
f.stx.select();
f.stx.focus();
return false;
}
// 검색에 많은 부하가 걸리는 경우 이 주석을 제거하세요.
var cnt = 0;
for (var i=0; i<f.stx.value.length; i++) {
if (f.stx.value.charAt(i) == ' ')
cnt++;
}
if (cnt > 1) {
alert("빠른 검색을 위하여 검색어에 공백은 한개만 입력할 수 있습니다.");
f.stx.select();
f.stx.focus();
return false;
}
f.action = "<?=$g4['bbs_path']?>/search.php";
return true;
}
</script>
<!-- 검색 끝 -->
<div style='height:18px;'></div>
<table width='<?=$table_width?>' cellpadding=0 cellspacing=0 border=0>
<tr>
<td width=43></td>
<!-- 왼쪽 메뉴 -->
<td width=220 valign=top>
<?=outlogin("basic"); // 외부 로그인 ?>
<div style='height:10px;'></div>
<?=poll("basic"); // 설문조사 ?>
<div style='height:10px;'></div>
<?=visit("basic"); // 방문자수 ?>
<div style='height:10px;'></div>
<?=connect(); // 현재 접속자수 ?>
</td>
<td width=18></td>
<!-- 중간 -->
<td width=683 valign=top>

<?=connect(); // 현재 접속자수 ?>
=>
<?=connect("tingenara"); // 현재 접속자수 ?>
=>
<?=connect("tingenara"); // 현재 접속자수 ?>

tingenara 이게 스킨명인대 <?=connect("tingenara"); // 접속자 ?> 이렇게
플러그인에다가 추가해서 해밧는대 위에처럼 오류나네요.
이건 도대체 어디에 추가하셨다는건지..ㄷㄷㄷ;;;;
플러그인에다가 추가해서 해밧는대 위에처럼 오류나네요.
이건 도대체 어디에 추가하셨다는건지..ㄷㄷㄷ;;;;
시킨명 바꾸엇어여 bada 이거에여

admin이였네요...-_-;;;;
admin폴더안에 index.php를 수정하세요.
덧. 관리자모드 정말 이쁘네요. 존경스럽습니다. 반했습니다. 우워~~~!!!
admin폴더안에 index.php를 수정하세요.
덧. 관리자모드 정말 이쁘네요. 존경스럽습니다. 반했습니다. 우워~~~!!!
html 편집에서 <?=connect("bada"); // 접속자 ?> 이렇게 추가하면대는건가여
index.php 오디부분 수정해여?
admin index.php는 글이 깨져서 나오는대 ㅠㅠ

이런..........이제까지 착각했네요.
상기 홈페이지는 그누보드로 제작된게 아니네요.
간단하게 처리는 힘듭니다. 제작한곳에 질문남겨보세요. ㄷㄷ
상기 홈페이지는 그누보드로 제작된게 아니네요.
간단하게 처리는 힘듭니다. 제작한곳에 질문남겨보세요. ㄷㄷ

해당 에러는 include_once("$g4[path]/lib/latest.lib.php"); 코드가 없어서 생기는 오류입니다.
head에 해당하는 페이지에 상기 코드를 적어 인쿠루드시켜주시면 에러메세지는 없어질 것입니다.
head에 해당하는 페이지에 상기 코드를 적어 인쿠루드시켜주시면 에러메세지는 없어질 것입니다.