bbs/delete.php 에서 썸네일 삭제안되는 문제.. 정보
bbs/delete.php 에서 썸네일 삭제안되는 문제..본문
오늘 별거 아닌것때매 12시간을 날렸는대요... 아직도 이유는 모르겠군요..
bbs/delete.php 에서 썸네일 삭제 코드를 아래소스부분의 위에 넣으면 재대로 작동하고
밑에 넣으면 작동하질 않는군요 ;;;
배추스킨을 사용하고 있고요..
// 사용자 코드 실행
@include_once("$board_skin_path/delete.skin.php");
썸네일 삭제 소스는 아래와 같습니다.
아무런 문제 없는 소스 입니다만 ㅠㅠ
// 랭킹 컨텐츠 썸네일 삭제
$custom_thumb_file = "$g4[path]/data/content-rank/$bo_table/$wr_id.gif";
if (file_exists($custom_thumb_file)) @unlink($custom_thumb_file);
bbs/delete.php 에서 썸네일 삭제 코드를 아래소스부분의 위에 넣으면 재대로 작동하고
밑에 넣으면 작동하질 않는군요 ;;;
배추스킨을 사용하고 있고요..
// 사용자 코드 실행
@include_once("$board_skin_path/delete.skin.php");
썸네일 삭제 소스는 아래와 같습니다.
아무런 문제 없는 소스 입니다만 ㅠㅠ
// 랭킹 컨텐츠 썸네일 삭제
$custom_thumb_file = "$g4[path]/data/content-rank/$bo_table/$wr_id.gif";
if (file_exists($custom_thumb_file)) @unlink($custom_thumb_file);
( 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 = '231749' 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