테스트 사이트 - 개발 중인 베타 버전입니다

index.php에 아웃로그인해서 쓰고싶은데 오류뜨네요ㅠㅠ

· 14년 전 · 1907 · 4
매뉴얼 보고 상단에 소스추가하고
원하는 곳에도 소스추가했는데 안됩니다..
위아래로 공백도 없게 했는데도 오류코드 뜨네요ㅠㅠㅠ

인덱스페이지에 아웃 로그인 하나만 빼놓고
로그인한 회원만 메인으로 들어갈 수 있게 하고싶은데
소스가 잘못된건지
경로가 잘못된건지
계속 오류만 뜹니다...ㅠㅠㅠ

질답게시판 다 뒤져서 해봐도 안되구요...ㅠㅠ
도와주세요ㅠㅠ

그누보드는 /html/gnuboard4
여기에 설치됐구요
아웃로그인 스킨은 basic스킨 쓰려구요...ㅠㅠ
index.php 파일은 /html 여기에 올렸어요ㅠㅠ

제로보드4 쓰다가 갓 넘어와서
그누보드는 정말 하나도 몰라요
도와주세요ㅠㅠㅠㅠ

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 4개

14년 전
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");

$g4['title'] = "";
include_once("./_head.php");
?>

<?=outlogin("basic")?>


이렇게 해놓고 test.php 로 저장하시고 업로드 하시면 나올텐데요 ..
글로 봐서는 코드를 어떻게 넣으셨는지 모르니 ..
일단 덧글 감사드려요ㅠㅠㅠ
써주신 대로 test.php로 올려봤더니

Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/아이디/html/test.php on line 2

Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/아이디/html/test.php on line 2

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/아이디/html/test.php on line 3

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/아이디/html/test.php on line 3

Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/아이디/html/test.php on line 4

Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/아이디/html/test.php on line 4

Warning: include_once(./_head.php) [function.include-once]: failed to open stream: No such file or directory in /host/home2/아이디/html/test.php on line 7

Warning: include_once() [function.include]: Failed opening './_head.php' for inclusion (include_path='.:/usr/local/lib/php') in /host/home2/아이디/html/test.php on line 7

Fatal error: Call to undefined function outlogin() in /host/home2/아이디/html/test.php on line 10

이렇게 뜹니다....ㅠㅠ
$g4[path] 를 읽지 못하는 경로 문제네요.

그누보드를 /html 폴더에 설치 하세요.

위와 같이 설치 하려면 index.php 에 gnuboard4 를 $g4[path] 로 인식하게 수정 해 주셔야 합니다.
답변 고맙습니다ㅠㅠ 이대로해보고 또 말썽이면 다시 댓글 달게요ㅠㅠㅠㅠ

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440