최신글 오류... 채택완료
4번가
7년 전
조회 2,012

메인페이지 첫줄이 이렇게 되있고..
Warning: include_once(G5_LIB_PATH/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/계정명/www/main1.html on line 3
Warning: include_once() [function.include]: Failed opening 'G5_LIB_PATH/latest.lib.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /home/hosting_users/계정명/www/main1.html on line 3
이렇게 뜹니다. ㅠ.ㅠ
pc에서는 잘됐는데... 호스팅에 올리니 이렇게 나오네요...
해결책좀 부탁드립니다....ㅜ.ㅜ
( gnuboard5 폴더에 설치후 gnu로 폴더명을 변경했습니다.)
댓글을 작성하려면 로그인이 필요합니다.
답변 1개
채택된 답변
+20 포인트
7년 전
/www/main1.html 파일을 만들고 그누보드는 /www/gnu 폴더에 설치했다는 이야기죠?
</p>
<p><?php</p>
<p>$g5_path = './gnu';</p>
<p>include_once($g5_path.'/common.php');</p>
<p>include_once(G5_LIB_PATH.'/latest.lib.php');</p>
<p>?></p>
<p>
위와 같이 해 보실래요?
로그인 후 평가할 수 있습니다
답변에 대한 댓글 1개
4
4번가
7년 전
댓글을 작성하려면 로그인이 필요합니다.
답변을 작성하려면 로그인이 필요합니다.
로그인
바로 해결됐어요^^
완전... 감사합니다. ~~~
새해 복 많이 받으세요^___^