채택완료

최신글 오류...

2018-01-02 (화) 19:26:55 2,113

2009359645_1514888692.8595.jpg

메인페이지 첫줄이 이렇게 되있고..

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개 / 댓글 1개

채택된 답변
+20 포인트
2018-01-02 (화) 19:46:22

/www/main1.html 파일을 만들고 그누보드는 /www/gnu 폴더에 설치했다는 이야기죠?

Copy
<?php

$g5_path = './gnu';

include_once($g5_path.'/common.php');

include_once(G5_LIB_PATH.'/latest.lib.php');

?>

위와 같이 해 보실래요?

답변에 대한 댓글 1개

우와....

바로 해결됐어요^^

완전... 감사합니다. ~~~

새해 복 많이 받으세요^___^

답변을 작성하려면 로그인이 필요합니다.