프

서브페이지 생성시 오류

· 2010-10-31 (일) 08:58:50 · 1213 · 1
새로운 페이지를 쓰려고 하는데


Warning: main(/_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/winscore/www/score/score_01.php on line 2

Warning: main() [function.include]: Failed opening '/_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/winscore/www/score/score_01.php on line 2

Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/winscore/www/score/score_01.php on line 3

Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/winscore/www/score/score_01.php on line 3

Warning: main(./_head.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/winscore/www/score/score_01.php on line 6

Warning: main() [function.include]: Failed opening './_head.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/winscore/www/score/score_01.php on line 6

Warning: main(/main_top.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/winscore/www/score/score_01.php on line 14

Warning: main() [function.include]: Failed opening '/main_top.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/winscore/www/score/score_01.php on line 14


Warning: main(./_tail.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/winscore/www/score/score_01.php on line 32

Warning: main() [function.include]: Failed opening './_tail.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/winscore/www/score/score_01.php on line 32


계속 이런오류가 나네요.


안에 소스창은
======================================================================================
<?
include_once("/_common.php");
include_once("$g4[path]/lib/latest.lib.php");

$g4['title'] = "";
include_once("./_head.php");
?>



<!-- 검색/채팅/배너3 시작 -->
<table border=0 cellpadding=0 cellspacing=0 style="margin-top:20px">
<tr><td><?
include_once("$g4[path]/main_top.php");
?>
</td></tr>
</table>
<!-- 검색/채팅/배너3 종료 -->




<?
include_once("./_tail.php");
?>




답변좀 주세요 ㅠㅠ

댓글 1개

위 에러의 내용은 경로가 안맞아서 생기는 문제네요...

그누보드는 경로 맞추는데 있어서 폴더 하나 하나의 안에

_common.php 를 생성해두고 경로를 맞춥니다..

사용은 제일 상단에 인크루드 하고

그리고 그 안에서 사용되는 경로는 g4['path'] 를 사용하는 군요

경로 잘 살펴보세요..
댓글을 작성하시려면 로그인이 필요합니다.

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

+
제목 글쓴이 날짜 조회
10-10-31 조회 1,814
10-10-31 조회 1,519
10-10-31 조회 997
10-10-31 조회 877
10-10-31 조회 1,105
10-10-31 조회 886
10-10-31 조회 987
10-10-31 조회 2,725
10-10-31 조회 1,211
10-10-31 조회 1,632
10-10-31 조회 1,328
10-10-31 조회 1,681
10-10-31 조회 1,184
10-10-31 조회 2,405
10-10-31 조회 1,772
10-10-31 조회 1,135
10-10-31 조회 1,702
10-10-31 조회 1,214
10-10-31 조회 3,505
10-10-31 조회 6,710