이제시작함

빠른답변주세요^^ $g4[path]와 config.php연결

· 2012-09-09 (일) 13:46:24 · 1727 · 1
오류가 나는곳의 주소를 알려주시면 더 빠르고 정확하게 답변 받을 수 있습니다.

오류 주소 : http://hoibin0519.dothome.co.kr

$g4[path]설정이 잘못된거같아요 화면이 전혀 안뜨네요
index, head, tail 에 모두 include로 모두 안떠요.
http://hoibin0519.dothome.co.kr/adm 들어가면 head와 tail이 include되어서 열리는데
왜 index에서 안될까요?


-----------------------------소스1 [index.php]

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

include_once("$g4[path]/lib/outlogin.lib.php");
?>

-----------------------------소스2 [head.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");
?>

-----------------------------소스3 [tail.php]

<?
include_once("$g4[path]/tail.sub.php");
?>

-----------------------------소스4 [config.php]

그누보드4 원래 소스입니다.


초보예요. 자세히 설명해주세요....
|

댓글 1개

2012-09-09 (일) 15:07:16
1. index.php 에 lib 파일만 include 해두고 head,tail include 안시키셨네요
2. 외부 로그인을 쓰시려면 <?=outlogin("shop_outlogin"); // 외부 로그인 ?>
과 같이 실제 include 될 함수를 호출해주셔야 합니답
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
12-09-10 조회 1,147
12-09-10 조회 1,563
12-09-10 조회 1,735
12-09-10 조회 1,086
12-09-10 조회 840
12-09-10 조회 1,425
12-09-10 조회 1,078
12-09-10 조회 639
12-09-10 조회 1,129
12-09-10 조회 820
12-09-09 조회 788
12-09-09 조회 870
12-09-09 조회 1,025
12-09-09 조회 1,663
12-09-09 조회 1,368
12-09-09 조회 1,728
12-09-09 조회 1,658
12-09-09 조회 947
12-09-09 조회 1,636
12-09-09 조회 1,041