메인에 최신글을 올리고 싶은데 안되네요ㅜ 정보
메인에 최신글을 올리고 싶은데 안되네요ㅜ본문
홈페이지 제작중입니다
원래는 드림위버로 html로 만들었는데 최신글은 html이 안된대서 index.html을 index.php로 바꿔 저장했어요
여기에 스킨 설치하고 원하는 위치에
<?php echo latest("simple_basic4", customer, 5, 30, "basic/on//"); ?>
이런식으로 소스를 넣었습니다.
div안짜고 그냥 테이블에다가 넣었어요..
그러고 적용시켜보면 에러메세지가
Fatal error: Call to undefined function latest() in /home/hosting_users/sunghan1649/www/index.php on line 86
이렇게 뜹니다
test.php를 만들어서
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "Q&A", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
이 소스만 넣어서 실험해봤는데 마찬가지로 저런식으로 메세지가 뜨더라구요..
어떻게해야하나요ㅜㅜ
원래는 드림위버로 html로 만들었는데 최신글은 html이 안된대서 index.html을 index.php로 바꿔 저장했어요
여기에 스킨 설치하고 원하는 위치에
<?php echo latest("simple_basic4", customer, 5, 30, "basic/on//"); ?>
이런식으로 소스를 넣었습니다.
div안짜고 그냥 테이블에다가 넣었어요..
그러고 적용시켜보면 에러메세지가
Fatal error: Call to undefined function latest() in /home/hosting_users/sunghan1649/www/index.php on line 86
이렇게 뜹니다
test.php를 만들어서
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php"); // latest() 함수를 사용하여야 하므로 이 프로그램을 포함시킵니다.
echo latest("basic", "Q&A", 5, 70); // basic 스킨으로 free 라는 게시판을 출력합니다.
?>
이 소스만 넣어서 실험해봤는데 마찬가지로 저런식으로 메세지가 뜨더라구요..
어떻게해야하나요ㅜㅜ
( select a.* , ( select sum(co_count) as co_count from g4_qa_choose where mb_id=a.mb_id and bo_table = 'g4_qa' ) as q_co_count from `g4_write_g4_qa` a where wr_parent = '261373' and wr_8 != '' and wr_is_comment = 1 and CONVERT(wr_7, UNSIGNED) >= 5 group by wr_content having max(wr_7) order by CONVERT(wr_7, UNSIGNED) desc limit 3 )
1055 : Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'sir.a.wr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
error file : /15sir/bbs/board.php