에러 구문 좀 봐주세요... > 그누4 질문답변

그누4 질문답변

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

에러 구문 좀 봐주세요... 정보

에러 구문 좀 봐주세요...

본문

Parse error: syntax error, unexpected T_VARIABLE, expecting ';' in /home/volbo/public_html/syndi/include/gnuboard4_euckr/include.bbs.move_update.php on line 30

신디케이션을 적용했는데요.
복사나 이동을 하면 이런 에러문구가뜨네요.
이것이 뭔 에러인지요?

for($i=0,$c=count($_POST['chk_bo_table']); $i<$c $i++)  // 여기가 30번째줄입니다.

<?php
/**
 * @file include.bbs.move_update.php
 * @author sol (*** 개인정보보호를 위한 이메일주소 노출방지 ***)
 * @brief 글 등록/수정시 Syndication Ping
 *        gnuboard4/bbs/move_update.php 파일에 추가
 *        include '../syndi/include/gnuboard4_euckr/include.bbs.move_update.php';
 */
if(!defined("_GNUBOARD_")) return;

if($sw != "move" && $sw != "copy") return;

$syndi_dir = realpath(dirname(__FILE__) .'/../../');

// include config & Syndication Ping class
include_once $syndi_dir . '/config/site.config.php';
include_once $syndi_dir . '/libs/SyndicationHandler.class.php';
include_once $syndi_dir . '/libs/SyndicationPing.class.php';

if($sw == "copy")
{
$oPing = new SyndicationPing;
$oPing->setId(SyndicationHandler::getTag('channel', $bo_table));
$oPing->setType('article');
$oPing->request();

unset($oPing);
}

for($i=0,$c=count($_POST['chk_bo_table']); $i<$c $i++)  // 여기가 30번째줄입니다.
{
$oPing = new SyndicationPing;
$oPing->setId(SyndicationHandler::getTag('channel', $_POST['chk_bo_table'][$i]));
$oPing->setType('article');
$oPing->request();

unset($oPing);
}
?>

근데 에러가 뜨지만 확인해보면 복사나 이동이 정상으로 됩니다.
  • 복사

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