그룹 생성 후 에러 정보
그룹 생성 후 에러본문
오누리 빌더 구형 사용중인데요...
빌더에 기본적으로 만들어져 잇는 그룹(01~10)은 잘 들어가 지는데
새로 만들면 이런 에러가 나옵니다.
Warning: main(../group/.php) [function.main]: failed to open stream: No such file or directory in /home3/standard_r3/thailove/html/gb/skin/sub/sub_middle/thailove1/sub_middle.skin.php on line 21
Warning: main() [function.include]: Failed opening '../group/.php' for inclusion (include_path='.:/usr/local/lib/php') in /home3/standard_r3/thailove/html/gb/skin/sub/sub_middle/thailove1/sub_middle.skin.php on line 21
group 디렉토리에 그룹이름으로 파일도 만들어 넣어 줬구요....
와 이런 에러가 날까요 ㅠㅠ
sub_middle.skin.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 메인 테이블 -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
<?
switch($s_menu){
case $s_menu;
21번째줄 : include_once("$g4[path]/group/$s_menu.php");
break;
default :
break;
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 메인 테이블 -->
빌더에 기본적으로 만들어져 잇는 그룹(01~10)은 잘 들어가 지는데
새로 만들면 이런 에러가 나옵니다.
Warning: main(../group/.php) [function.main]: failed to open stream: No such file or directory in /home3/standard_r3/thailove/html/gb/skin/sub/sub_middle/thailove1/sub_middle.skin.php on line 21
Warning: main() [function.include]: Failed opening '../group/.php' for inclusion (include_path='.:/usr/local/lib/php') in /home3/standard_r3/thailove/html/gb/skin/sub/sub_middle/thailove1/sub_middle.skin.php on line 21
group 디렉토리에 그룹이름으로 파일도 만들어 넣어 줬구요....
와 이런 에러가 날까요 ㅠㅠ
sub_middle.skin.php
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가
?>
<!-- 메인 테이블 -->
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td>
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr height="6" colspan="4"><td></td></tr>
<tr>
<td width="<?=$home_left?>" valign="top">
<?include_once("$g4[path]/include/outlogin_color.php");?>
<?include_once("$g4[path]/include/sub_menu.php"); // 서브메뉴?>
</td>
<td width="<?=$home_margin?>"></td>
<td valign="top">
<?
switch($s_menu){
case $s_menu;
21번째줄 : include_once("$g4[path]/group/$s_menu.php");
break;
default :
break;
}
?>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 메인 테이블 -->
댓글 전체
Warning: main(../group/.php) [function.main]: failed
=> .php 만 나오는거보니 $s_menu.php 로 인크루드가 안돼는거 같네요
$s_menu 값이 없네요 확인해보세요 변수값~
글구
switch($s_menu){
case $s_menu;
21번째줄 : include_once("$g4[path]/group/$s_menu.php");
break;
default : <== 디폴드값도 넣어주시구요 스위치문에 디폴트값은 있어야 좋습니다
break;
=> .php 만 나오는거보니 $s_menu.php 로 인크루드가 안돼는거 같네요
$s_menu 값이 없네요 확인해보세요 변수값~
글구
switch($s_menu){
case $s_menu;
21번째줄 : include_once("$g4[path]/group/$s_menu.php");
break;
default : <== 디폴드값도 넣어주시구요 스위치문에 디폴트값은 있어야 좋습니다
break;
답변 진심으로 감사합니다.
$s_menu 값은 어디서 확인하면 될까요? ㅠㅠ
$s_menu 값은 어디서 확인하면 될까요? ㅠㅠ