최근게시물 경로 오류 ㅠㅠ
폴더의 구조.
www/index.php
/bbs (그누보드 설치 폴더)
- 별다를것 없는 기본적인 구조 입니다만
index.php에 최근게시물을 넣고 싶은 경로를 찾지 못하는 오류가 발생합니다.
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/jinsungcall/www/index.php on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/jinsungcall/www/index.php on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/jinsungcall/www/index.php on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/jinsungcall/www/index.php on line 3
소스는 index.php 최상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 넣었습니다.
bbs/_common.php는 기본적으로
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
라는 소스가 들어있습니다.
어떻게 해야 제대로 나올수 있을지 궁금합니다 ~ㅠㅠ
www/index.php
/bbs (그누보드 설치 폴더)
- 별다를것 없는 기본적인 구조 입니다만
index.php에 최근게시물을 넣고 싶은 경로를 찾지 못하는 오류가 발생합니다.
Warning: include_once(./_common.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/jinsungcall/www/index.php on line 2
Warning: include_once() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/jinsungcall/www/index.php on line 2
Warning: include_once(/lib/latest.lib.php) [function.include-once]: failed to open stream: No such file or directory in /home/hosting_users/jinsungcall/www/index.php on line 3
Warning: include_once() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/jinsungcall/www/index.php on line 3
소스는 index.php 최상단에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
이렇게 넣었습니다.
bbs/_common.php는 기본적으로
<?
$g4_path = "."; // common.php 의 상대 경로
include_once("$g4_path/common.php");
?>
라는 소스가 들어있습니다.
어떻게 해야 제대로 나올수 있을지 궁금합니다 ~ㅠㅠ
|
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기
댓글 2개
전 그누보드 아예 밖으로 다 뺐거든요
bbs 안에 있는 걸 밖으로 빼보시면 될듯..