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

그누4 질문답변

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

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

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

본문

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

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

댓글 전체

그누보드가 어느 폴더에 설치된 것인가요?
public_html 폴더라면 menu.php 에서
$g4_path=".."; 이게 맞을 것입니다
그리고 $g4_path에 / 문자는 넣지않습니다
© SIRSOFT
현재 페이지 제일 처음으로