메인에서 쓰기가 되게끔 스킨의 write.skin.php 를 include 했는데 이 방법이 맞는지요? > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

메인에서 쓰기가 되게끔 스킨의 write.skin.php 를 include 했는데 이 방법이 맞는지요? 정보

메인에서 쓰기가 되게끔 스킨의 write.skin.php 를 include 했는데 이 방법이 맞는지요?

첨부파일

index.php (21.2K) 0회 다운로드 2011-08-08 16:24:12

본문

홈피주소: http://balancedbody.co.kr/
그누보드 index.php 메인화면에서 게시판의 쓰기와, 리스트 부분이 같이 보이게끔 할려고 하는데..
스킨파일의 write.skin.php를 단순히 include 해서 쓰는것이 맞는 방법인지 궁금합니다..

또한 include가 맞지 않다면 직접 폼문을 작성하여 아래 답변처럼 index.php 처럼 코딩을 하였는데...마지막 버튼을 누르게 되면 404에러가 나타납니다...
어떠한 문제가 있는것인지 ...고수님의 답변을 부탁드리겠습니다.~~
아래는 현재 index.php의 소스코드 입니다.
=============================================================================
  • 복사

( 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 = '198790' 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