html 안에 최근 게시물 넣을려고 하는데요 ~ ㅜㅜㅜㅜ 정보
html 안에 최근 게시물 넣을려고 하는데요 ~ ㅜㅜㅜㅜ본문
그누 보드 처음 사용 하는거고요 ㅠㅠ php 도 하나도 몰라서 이제 막 공부 시작 했습니다 ㅠㅠ
제 작업 url 은 http://ansr.co.kr 이거고요 ㅠㅠ
html 안에 최근 게시물 넣을려고 하는데요 ~ ㅜㅜㅜㅜ
최근 게시물도 안뜨고요 ㅠㅠㅠ 계속 에러만 뜨네요 ㅠㅠㅠ
상단에 이런 에러뜨구요 ㅠㅠㅠ
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/dlgudwhd1/www/index.html 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/dlgudwhd1/www/index.html on line 3
최근 게시물 부분 에는
Fatal error: Call to undefined function: latest() in /home/hosting_users/dlgudwhd1/www/index.html on line 189
이런 에러 떠요 ㅠㅠㅠ
html 파일 최근 게시물 부분 에
<?=latest("line", "Test", 3, 45 )?> << 이소스 넣었구요 ~
상단에는
<?
include_once("./_common.php");
include_once("/lib/latest.lib.php");
?>
이소스 넣었고요 ㅠㅠㅠ
/www 안에 sir 폴더랑 html 파일 이랑 에러나는 lib 폴더 까지 다있구요 ~ ㅠㅠㅠ
여기저기 찾아보면서 해보란거 다해봤는데 ㅠㅠㅠ 계속 에러만 뜨네요 ㅠㅠㅠ
좀 도와 주세요 ㅠㅠㅠ
제 작업 url 은 http://ansr.co.kr 이거고요 ㅠㅠ
html 안에 최근 게시물 넣을려고 하는데요 ~ ㅜㅜㅜㅜ
최근 게시물도 안뜨고요 ㅠㅠㅠ 계속 에러만 뜨네요 ㅠㅠㅠ
상단에 이런 에러뜨구요 ㅠㅠㅠ
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/dlgudwhd1/www/index.html 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/dlgudwhd1/www/index.html on line 3
최근 게시물 부분 에는
Fatal error: Call to undefined function: latest() in /home/hosting_users/dlgudwhd1/www/index.html on line 189
이런 에러 떠요 ㅠㅠㅠ
html 파일 최근 게시물 부분 에
<?=latest("line", "Test", 3, 45 )?> << 이소스 넣었구요 ~
상단에는
<?
include_once("./_common.php");
include_once("/lib/latest.lib.php");
?>
이소스 넣었고요 ㅠㅠㅠ
/www 안에 sir 폴더랑 html 파일 이랑 에러나는 lib 폴더 까지 다있구요 ~ ㅠㅠㅠ
여기저기 찾아보면서 해보란거 다해봤는데 ㅠㅠㅠ 계속 에러만 뜨네요 ㅠㅠㅠ
좀 도와 주세요 ㅠㅠㅠ
댓글 전체
에러 메세지 보면 답이 나오네요.
이렇게 해 보세요.
<?
include_once("./_common.php");
include_once("/lib/latest.lib.php");
?>
요 부분을...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
요 것처럼 수정 해 보세요.
이렇게 해 보세요.
<?
include_once("./_common.php");
include_once("/lib/latest.lib.php");
?>
요 부분을...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
?>
요 것처럼 수정 해 보세요.
ㅠㅠㅠ 안되네요 ㅠㅠㅠㅠ
다른 방법 없을까요 ?
다른 방법 없을까요 ?
최근게시물 들어가는 페이지에 설마...
include_once("$g4[path]/_head.php"); 요 부분이 빠진 건 아니겠죠.
예를 들면 이런 식으로...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/_head.php");
?>
include_once("$g4[path]/_head.php"); 요 부분이 빠진 건 아니겠죠.
예를 들면 이런 식으로...
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
include_once("$g4[path]/_head.php");
?>
아무것도 안뜨고
Parse error: syntax error, unexpected '?' in /home/hosting_users/dlgudwhd1/www/index-_-.html on line 5
이런에러 떠요 ㅠㅠㅠㅠㅠ 아우 ㅠㅠ 포기 해야 하고 다른 방법 찾아봐야 할까요 ?
Parse error: syntax error, unexpected '?' in /home/hosting_users/dlgudwhd1/www/index-_-.html on line 5
이런에러 떠요 ㅠㅠㅠㅠㅠ 아우 ㅠㅠ 포기 해야 하고 다른 방법 찾아봐야 할까요 ?
html의 경우 소스를 반영을 해도 정상적으로 작동을 하지 않을겁니다.
예를 들어
<?
각종 이클루드 파일
?>
을 인식하지 못하는 경우가 발생할 수 있는 것같아요..
작업을 html로 하시더라도 해당 파일을 php로 변경을 해서 올려보세요
그럼 정상적으로 작동을 할 수 있을 수 있습니다.
예를 들어
<?
각종 이클루드 파일
?>
을 인식하지 못하는 경우가 발생할 수 있는 것같아요..
작업을 html로 하시더라도 해당 파일을 php로 변경을 해서 올려보세요
그럼 정상적으로 작동을 할 수 있을 수 있습니다.