메인페이지 오류 도움부탁드립니다. 정보
메인페이지 오류 도움부탁드립니다.본문
서버환경 - 카페24 호스팅
웹 FTP에 접속해서 www/에 위치한 index.php파일과 www/main 속에 있는 index.php파일을
수정하다가 다음과 같은 오류가 났습니다. 정상도메인 www.neofish.net 치면 다음과 같은
오류가 나고..
즐겨찾기해놓은것으로 가거나 검색창에 www.neofish.net/main 으로 접속하면 정상작동하네요.
혼자서 끙끙대다가 도움 요청합니다. ㅠㅠ
오류 메세지
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main() [function.include]: Failed opening '../head.sub.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main() [function.include]: Failed opening '../inc/top.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main() [function.include]: Failed opening '../inc/sub_menu.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 90
Fatal error: Call to undefined function: latest() in /home/hosting_users/singens/www/index.php on line 158
웹 FTP에 접속해서 www/에 위치한 index.php파일과 www/main 속에 있는 index.php파일을
수정하다가 다음과 같은 오류가 났습니다. 정상도메인 www.neofish.net 치면 다음과 같은
오류가 나고..
즐겨찾기해놓은것으로 가거나 검색창에 www.neofish.net/main 으로 접속하면 정상작동하네요.
혼자서 끙끙대다가 도움 요청합니다. ㅠㅠ
오류 메세지
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../head.sub.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 3
Warning: main() [function.include]: Failed opening '../head.sub.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 3
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 62
Warning: main() [function.include]: Failed opening '../inc/top.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 62
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main(../inc/sub_menu.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 90
Warning: main() [function.include]: Failed opening '../inc/sub_menu.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/singens/www/index.php on line 90
Fatal error: Call to undefined function: latest() in /home/hosting_users/singens/www/index.php on line 158
댓글 전체
include 경로 오류입니다.
현재 /www/index.php 파일의
3번째줄 include_once("../_head.php"); 이걸 include_once("./_head.php");
62번째줄 include_once("../inc/top.php"); 이걸 include_once("./inc/top.php");
90번째줄 include_once("../inc/sub_menu.php"); 이걸 include_once("./inc/sub_menu.php");
이렇게 수정해 보세요.^^
현재 /www/index.php 파일의
3번째줄 include_once("../_head.php"); 이걸 include_once("./_head.php");
62번째줄 include_once("../inc/top.php"); 이걸 include_once("./inc/top.php");
90번째줄 include_once("../inc/sub_menu.php"); 이걸 include_once("./inc/sub_menu.php");
이렇게 수정해 보세요.^^
휜뽐님 감사합니다.
다른건 다 잡혔는데
Fatal error: Call to undefined function: latest() in /home/hosting_users/singens/www/index.php on line 158
이게 안잡히네요..
메인페이지가 아직 안뜨고 있습니다. ㅠㅠ
다른건 다 잡혔는데
Fatal error: Call to undefined function: latest() in /home/hosting_users/singens/www/index.php on line 158
이게 안잡히네요..
메인페이지가 아직 안뜨고 있습니다. ㅠㅠ
파탈 에러인데요
latest() 라는 함수를 불러오지 못 해서 뜨는 에러입니다.
/www/index.php 파일에
include_once("$g4[path]/lib/latest.lib.php");
이게 있는지 확인 해 보시구요.
없으시면 include_once("./_common.php"); 바로 밑에 추가해 보세요.
답변체택 부탁 드려요~
latest() 라는 함수를 불러오지 못 해서 뜨는 에러입니다.
/www/index.php 파일에
include_once("$g4[path]/lib/latest.lib.php");
이게 있는지 확인 해 보시구요.
없으시면 include_once("./_common.php"); 바로 밑에 추가해 보세요.
답변체택 부탁 드려요~
자꾸 죄송합니다.;; 아까부터 계속 하고 있는데 실패하네요..
index파일에 include_once("$g4[path]/lib/latest.lib.php"); 는 없구요..
index파일에 저는 include ("_common.php"); 라고 상단에 선언되었는데요..
휜뽐님 말씀대로 include_once("./_common.php"); 가 없으면 어떻게 해야할지
모...하네요.. ;; 파탈에러 잡고나니..왼쪽 사이드에 이게 뜨네요.. 4번이나
Warning: main(../inc/menu_fish.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 168
바쁜데 정말 죄송합니다..;; ㅠㅠ 도움부탁드려요.. 답변 채택해드렸습니다.
index파일에 include_once("$g4[path]/lib/latest.lib.php"); 는 없구요..
index파일에 저는 include ("_common.php"); 라고 상단에 선언되었는데요..
휜뽐님 말씀대로 include_once("./_common.php"); 가 없으면 어떻게 해야할지
모...하네요.. ;; 파탈에러 잡고나니..왼쪽 사이드에 이게 뜨네요.. 4번이나
Warning: main(../inc/menu_fish.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/singens/www/index.php on line 168
바쁜데 정말 죄송합니다..;; ㅠㅠ 도움부탁드려요.. 답변 채택해드렸습니다.