최신글 연동 도와주세요 정보
최신글 연동 도와주세요본문
홈페이지 제작중입니다..
기본적으로 포토샵을 이용해 드림위버와 연동하여 만들고 있습니다..
모든 부분은 완성이 된 상태입니다..
그누보드로 자유게시판(freeboard)라는 이름으로 게시판을 만들었구요..
다른 게시판들도 있는데요.. 자유게시판과 연동하고 싶습니다..
게시판은 아이프레임을 이용하여 붙여 놓은 상태입니다..
홈페이지 메인 화면에 최신글로 연동 시키려고 합니다..
최신글 연동을 아무리 찾아 봐도 너무 초보라 그런지 도무지 이해가 가지 않습니다..
php 뭐라뭐라~~~이런 말들 이해가 가지 않습니다..
소스 자체를 올려주시면 감사하겠습니다..
일단 다른분이 올려 놓으신 websp_utf_8 라는 최신글 연동 게시판을 다운받아 skin/latest 안에
업로드 해 놓은 상태입니다..
메인 화면에 들어갈 위치도 비워 놓은 상태구요...(빈공간에 빈 이미지가 자리잡고 있습니다..)
붙여만 놓으면 된다는 소스를 다 갖다 붙여 보아도 모두다 에러글이 뜹니다..
일단 질문글에 다른 분이 올려 놓으신 것을 보고 붙여 놓은 그대로의 소스입니다..
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("websp_utf_8", "free", 5, 70);
?>
위의 글에서 무엇을 어떻게 바꾸어야 하는지 경로를 어떻게 잡아야 하는지요
==> 아래와 같은 에러 코드가 뜹니다..
Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/copyone/www/index.html on line 185
Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/copyone/www/index.html on line 185
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/copyone/www/index.html on line 186
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/copyone/www/index.html on line 186
Fatal error: Call to undefined function: latest() in /home/hosting_users/copyone/www/index.html on line 188
위와 같은 에러가 뜨니 무슨 말인지.. 도무지...
완전 아무것도 모르니.. 아주 쉽게 설명 부탁드립니다.. 해결 좀 해주세요...
기본적으로 포토샵을 이용해 드림위버와 연동하여 만들고 있습니다..
모든 부분은 완성이 된 상태입니다..
그누보드로 자유게시판(freeboard)라는 이름으로 게시판을 만들었구요..
다른 게시판들도 있는데요.. 자유게시판과 연동하고 싶습니다..
게시판은 아이프레임을 이용하여 붙여 놓은 상태입니다..
홈페이지 메인 화면에 최신글로 연동 시키려고 합니다..
최신글 연동을 아무리 찾아 봐도 너무 초보라 그런지 도무지 이해가 가지 않습니다..
php 뭐라뭐라~~~이런 말들 이해가 가지 않습니다..
소스 자체를 올려주시면 감사하겠습니다..
일단 다른분이 올려 놓으신 websp_utf_8 라는 최신글 연동 게시판을 다운받아 skin/latest 안에
업로드 해 놓은 상태입니다..
메인 화면에 들어갈 위치도 비워 놓은 상태구요...(빈공간에 빈 이미지가 자리잡고 있습니다..)
붙여만 놓으면 된다는 소스를 다 갖다 붙여 보아도 모두다 에러글이 뜹니다..
일단 질문글에 다른 분이 올려 놓으신 것을 보고 붙여 놓은 그대로의 소스입니다..
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
echo latest("websp_utf_8", "free", 5, 70);
?>
위의 글에서 무엇을 어떻게 바꾸어야 하는지 경로를 어떻게 잡아야 하는지요
==> 아래와 같은 에러 코드가 뜹니다..
Warning: main(./_common.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/copyone/www/index.html on line 185
Warning: main() [function.include]: Failed opening './_common.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/copyone/www/index.html on line 185
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/hosting_users/copyone/www/index.html on line 186
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/hosting_users/copyone/www/index.html on line 186
Fatal error: Call to undefined function: latest() in /home/hosting_users/copyone/www/index.html on line 188
위와 같은 에러가 뜨니 무슨 말인지.. 도무지...
완전 아무것도 모르니.. 아주 쉽게 설명 부탁드립니다.. 해결 좀 해주세요...
추천
0
0
댓글 2개

그누보드는 대부분 사람들은
그누보드 설치후
head.sub.php / head.php /index.php / tail.php / tail.sub.php 를 갖고 작업을합니다~~~
index.html 에 php 를 불러온다는게 ~ 당연히 안되죠 ~~ㅋㅋㅋ
그누보드 설치후
head.sub.php / head.php /index.php / tail.php / tail.sub.php 를 갖고 작업을합니다~~~
index.html 에 php 를 불러온다는게 ~ 당연히 안되죠 ~~ㅋㅋㅋ

http://sir.co.kr/manual/kcp_youngcart4/
공통 부분 참고.
공통 부분 참고.