[[ERROR]]: [code]{ 8 } [message]{ Undefined index: brandid } [file]{ /data/www/www.dibanwang.com/company.php } [line]{ 88 }
[[EXCEPTION]]: [code]{ 2011 } [message]{ [SQLState]: 42000 [ErrorCode]: 1064 [ErrorInfo]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND status=3 LIMIT 1' at line 1 } [file]{ /data/www/www.dibanwang.com/GoodPHP/Data/CActiveRecord.php } [line]{ 14 }
[[BACKTRACE]]: 
#0 /data/www/www.dibanwang.com/GoodPHP/Class/CPage.php(22): CActiveRecord->query('SELECT COUNT(1)...') #1 /data/www/www.dibanwang.com/GoodPHP/Class/CPage.php(31): CPage->getPageCount(' dibandata_sell...', 'brandid= AND st...') #2 /data/www/www.dibanwang.com/company.php(98): CPage->getPageContent(Array, Array) #3 /data/www/www.dibanwang.com/company.php(18): Company->product('dibancomcn') #4 {main}
DEBUG