그누보드 초보인데 ㅠㅠ 아웃로그인 에러나서 질문드려요.

· 2011-05-07 (토) 03:01:00 · 1649 · 3
아웃로그인 넣을 파일 상단에..
<?
$g4_path="./";
include_once("$g4_path/common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/lib/outlogin.lib.php");
?>
이렇게 넣어주었구요

나올부분엔
<?echo outlogin("2"); ?>
이렇게 넣어주었어요...

그런데

Warning: include_once(.//common.php) [function.include-once]: failed to open stream: No such file or directory in /home1/my604/public_html/_renewal/menu.php on line 3

Warning: include_once() [function.include]: Failed opening './/common.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/my604/public_html/_renewal/menu.php on line 3

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/latest.lib.php) is not within the allowed path(s): (/tmp:/home1/my604) in /home1/my604/public_html/_renewal/menu.php on line 4

Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /home1/my604/public_html/_renewal/menu.php on line 4

Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/my604/public_html/_renewal/menu.php on line 4

Warning: include_once() [function.include-once]: open_basedir restriction in effect. File(/lib/outlogin.lib.php) is not within the allowed path(s): (/tmp:/home1/my604) in /home1/my604/public_html/_renewal/menu.php on line 5

Warning: include_once(/lib/outlogin.lib.php) [function.include-once]: failed to open stream: Operation not permitted in /home1/my604/public_html/_renewal/menu.php on line 5

Warning: include_once() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home1/my604/public_html/_renewal/menu.php on line 5

Fatal error: Call to undefined function outlogin() in /home1/my604/public_html/_renewal/menu.php on line 27

이렇게 에러가 납니다. ㅠㅠ
예전엔 똑같이 썻을때 됐었는데 이번엔 안되네요 ㅠㅠ..
뭔가 더 추가적으로 첨부해야 알수있는거면 첨부할테니 알려주세요! ㅠㅠ
|

댓글 3개

음 경로는 맞는거같아요... lib폴더안에 latest.lib.php파일이 있기는 하거든요? ㅜㅜ
그누보드가 어느 폴더에 설치된 것인가요?
public_html 폴더라면 menu.php 에서
$g4_path=".."; 이게 맞을 것입니다
그리고 $g4_path에 / 문자는 넣지않습니다
균이님 감사합니다! 균이님이 알려주신대로 하니 아웃로그인이 떠요! 정말정말 감사합니다 ^▽^
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

66,531건

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

+
제목 글쓴이 날짜 조회
11-05-07 조회 1,684
11-05-07 조회 2,635
11-05-07 조회 1,889
11-05-07 조회 1,609
11-05-07 조회 1,482
11-05-07 조회 1,671
11-05-07 조회 1,659
11-05-07 조회 2,763
11-05-07 조회 1,650
11-05-07 조회 1,670
11-05-07 조회 2,680
11-05-07 조회 1,025
11-05-07 조회 1,108
11-05-06 조회 1,677
11-05-06 조회 1,419
11-05-06 조회 1,646
11-05-06 조회 1,823
11-05-06 조회 1,630
11-05-06 조회 1,667
11-05-06 조회 2,043