어렵네요..최신글... 정보
어렵네요..최신글...본문
최신글을 index.html로 불러오는데 오류가 자꾸나네요..ㅜ.ㅜ
상단엔
Warning: main(./_common.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 2
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 2
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 3
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 3
Warning: main(/head.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 6
Warning: main(): Failed opening '/head.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 6
이런 메세지가 뜨고
최신글 들어가는곳엔
Fatal error: Call to undefined function: latest() in /home/hosting_users/yhosting/www/index.html on line 42
에러가 뜨네요..
--------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4[title] = "포 포 포~레~~버";
include_once("$g4[path]/head.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
.
.
.
<td background="intro/midd1_4.gif"><?=latest("mc_scroll", "magellan", 4, 24);?>
.
.
.
</body>
</html>
<?
include_once("$g4[path]/tail.php");
?>
이렇게 했는데 어디가 잘못됐나요?
상단엔
Warning: main(./_common.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 2
Warning: main(): Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 2
Warning: main(/lib/latest.lib.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 3
Warning: main(): Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 3
Warning: main(/head.php): failed to open stream: No such file or directory in /home/hosting_users/yhosting/www/index.html on line 6
Warning: main(): Failed opening '/head.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/yhosting/www/index.html on line 6
이런 메세지가 뜨고
최신글 들어가는곳엔
Fatal error: Call to undefined function: latest() in /home/hosting_users/yhosting/www/index.html on line 42
에러가 뜨네요..
--------------------------------------------------------------
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
$g4[title] = "포 포 포~레~~버";
include_once("$g4[path]/head.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
.
.
.
<td background="intro/midd1_4.gif"><?=latest("mc_scroll", "magellan", 4, 24);?>
.
.
.
</body>
</html>
<?
include_once("$g4[path]/tail.php");
?>
이렇게 했는데 어디가 잘못됐나요?
댓글 전체
저도 지금 그것때문에 헤매고 있는데...
경로상의 문제인것 같은데 도대체 어떻게 경로를 잡아야하는지...=_=
인덱스 파일을 아예 그누보드 폴더에 집어넣어 실험해봤더니
그누보드 관리자 메인이 뜨면서 내용부분에 제 홈페이지가 뜨는데 그곳에는 또 최신글이 보이더군요...-_-;
요래조래 경로 바꿔보는데 안되고... 미치겠어요.ㅠㅠ
경로상의 문제인것 같은데 도대체 어떻게 경로를 잡아야하는지...=_=
인덱스 파일을 아예 그누보드 폴더에 집어넣어 실험해봤더니
그누보드 관리자 메인이 뜨면서 내용부분에 제 홈페이지가 뜨는데 그곳에는 또 최신글이 보이더군요...-_-;
요래조래 경로 바꿔보는데 안되고... 미치겠어요.ㅠㅠ
'_common.php'파일을 열어
그누보드 경로 설정하는곳에
지금 그 디랙토리에 대한 그누보드의 상대경로를 적어주시면 해결될 듯합니다.
사이트 주소나 구조정도를 알려주셔야 답변하기가 쉽답니다^^
그누보드 경로 설정하는곳에
지금 그 디랙토리에 대한 그누보드의 상대경로를 적어주시면 해결될 듯합니다.
사이트 주소나 구조정도를 알려주셔야 답변하기가 쉽답니다^^
gnuboard4폴더안에 _common.php파일을 열었더니
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
쓰여있는데..아닌가요?
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
쓰여있는데..아닌가요?