어렵네요..최신글...
최신글을 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");
?>
이렇게 했는데 어디가 잘못됐나요?
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 4개
경로상의 문제인것 같은데 도대체 어떻게 경로를 잡아야하는지...=_=
인덱스 파일을 아예 그누보드 폴더에 집어넣어 실험해봤더니
그누보드 관리자 메인이 뜨면서 내용부분에 제 홈페이지가 뜨는데 그곳에는 또 최신글이 보이더군요...-_-;
요래조래 경로 바꿔보는데 안되고... 미치겠어요.ㅠㅠ
그누보드 경로 설정하는곳에
지금 그 디랙토리에 대한 그누보드의 상대경로를 적어주시면 해결될 듯합니다.
사이트 주소나 구조정도를 알려주셔야 답변하기가 쉽답니다^^
근데.. 제가 왕왕왕왕.. 초보라.. _common.php파일은 어떻게 열어요? _ _;;;;
<?
$g4_path = "..";
include_once("$g4_path/common.php");
?>
쓰여있는데..아닌가요?