혜

디렉토리 설정 오류

· 2009-02-11 (수) 04:19:50 · 828
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://www.kbaballet.com/_kor/1_academy/test.php

저번에도 경로설정에 애먹었는데 이번에도 그러네요..
넘 헷갈리는 부분입니다.

현재 그누보드는 루트 디렉토리에 설치되어있습니다.
메인과 서브가 디자인이 틀리게 적용되어 head.php, tail.php를 복사하여 /_kor/1_academy/밑에
head_sub1.php, tail_sub1.php로 각각 저장하였습니다.
(그누보드가 설치된 루트디렉토리에서 제대로 뜨는 것 확인
http://www.kbaballet.com/test.php)

wwwhome/main_kr.php (인트로 페이지가 있어 index.php를 main_kr.php로 변경)
/_kor/1_academy/head_sub1.php
/tail_sub1.php
/test.php

이렇게도 해보고 저렇게도 해봤는데 도저히 경로를 못찾겠어요,, 도와주세요~~T.T

소스

head_sub1.php --------------------------------------------------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib2.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="100%" height="250" border="0" cellpadding="0" cellspacing="0">
<tr>
<td width="950" background="/_kor/1_academy/images/head_img.jpg"><table width="100%" height="250" border="0" cellpadding="0" cellspacing="0">
<tr valign="top">
<td height="150" colspan="2"><? include "_inc/menu.php"; ?></td>
</tr>
<tr>
<td width="200" height="100" valign="bottom"><?=outlogin("basic"); // 외부 로그인 ?></td>
<td width="750"> </td>
</tr>
</table></td>
<td background="/_kor/1_academy/images/head_bg.jpg"> </td>
</tr>
</table>
<!-- 상단 배경 끝 -->

<!-- 상단 로고 및 버튼 시작 -->
<!-- 상단 로고 및 버튼 끝 -->

<!-- 검색 시작 -->
<!-- 검색 끝 -->

<table width="100%" height="450" cellpadding=0 cellspacing=0 border=0>
<tr>
<td width="20" bgcolor="#FFFFFF"><img src="/_kor/1_academy/images/blank.gif" width="20"></td>
<!-- 왼쪽 메뉴 -->
<td width="180" valign=top bgcolor="#0033CC"><img src="/_kor/1_academy/images/del_menu1.gif" width="180" height="450"></td>
<td width="40" bgcolor="#FFFFFF"><img src="/_kor/1_academy/images/blank.gif" width="40"></td>
<!-- 중간 -->
<td width="670" valign=top>


tail_sub1.php ------------------------------------------------

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

// 사용자 화면 우측과 하단을 담당하는 페이지입니다.
// 우측, 하단 화면을 꾸미려면 이 파일을 수정합니다.
?>

</td>
<td valign="top" bgcolor="FFFFFF" width="40"><img src="/_kor/1_academy/images/contents_right.gif" width="40" height="450" border="0"></td>
</td>
<td background="/_kor/1_academy/images/academy_bg.jpg" bgcolor="#99FF33" width="100%"></td>
</tr></table>

<!-- 카피라이트 시작 -->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="200" valign="top" background="/img/footer_bg.jpg"><img src="/img/footer.gif" width="545" height="100" border="0" usemap="#Map"></td>
</tr>
</table>
<!-- 카피라이트 끝 -->
<?
include_once("$g4[path]/tail.sub.php");
?>
<map name="Map">
<area shape="rect" coords="408,50,518,66" href="mailto:[email protected]">
</map>


test.php -------------------------------------------------------------

<?
// 그누보드 기본 인클루드~
include_once("./_common.php");

$g4[title] = "금호발레아카데미";
include_once("./head_sub1.php"); ?>

<img src="/_kor/1_academy/images/academy_subtitle1.gif">

<?
include_once("./tail_sub1.php");
?>
댓글을 작성하시려면 로그인이 필요합니다.

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
09-02-11 조회 986
09-02-11 조회 1,046
09-02-11 조회 844
09-02-11 조회 1,782
09-02-11 조회 964
09-02-11 조회 1,034
09-02-11 조회 1,209
09-02-11 조회 1,056
09-02-11 조회 1,016
09-02-11 조회 906
09-02-11 조회 851
09-02-11 조회 885
09-02-11 조회 854
09-02-11 조회 829
09-02-11 조회 1,343
09-02-11 조회 889
09-02-11 조회 970
09-02-11 조회 1,072
09-02-11 조회 966
09-02-10 조회 1,033