서브페이지 생성시 오류 > 그누4 질문답변

그누4 질문답변

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

서브페이지 생성시 오류 정보

서브페이지 생성시 오류

본문

새로운 페이지를 쓰려고 하는데


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");
?>




답변좀 주세요 ㅠㅠ
  • 복사

댓글 전체

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

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

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

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

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

경로 잘 살펴보세요..
© SIRSOFT
현재 페이지 제일 처음으로