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

아웃로그인 넣을 파일 상단에..
<?
$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 질문답변

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

+
제목 글쓴이 날짜 조회
14년 전 조회 1,193
14년 전 조회 1,593
14년 전 조회 2,557
14년 전 조회 1,814
14년 전 조회 1,530
14년 전 조회 1,408
14년 전 조회 1,586
14년 전 조회 1,555
14년 전 조회 2,672
14년 전 조회 1,567
14년 전 조회 1,583
14년 전 조회 2,590
14년 전 조회 943
14년 전 조회 1,016
14년 전 조회 1,598
14년 전 조회 1,338
14년 전 조회 1,567
14년 전 조회 1,721
14년 전 조회 1,536
14년 전 조회 1,584