[[ERROR]]: [code]{ 2 } [message]{ array_rand(): Second argument has to be between 1 and the number of elements in the array } [file]{ /data/www/www.jichengzao.net/Application/Model/IndexModel.php } [line]{ 234 }
[[ERROR]]: [code]{ 2 } [message]{ Invalid argument supplied for foreach() } [file]{ /data/www/www.jichengzao.net/Application/Model/IndexModel.php } [line]{ 235 }
[[ERROR]]: [code]{ 8 } [message]{ Undefined variable: randItemArray } [file]{ /data/www/www.jichengzao.net/Application/Model/IndexModel.php } [line]{ 239 }
[[ERROR]]: [code]{ 2 } [message]{ implode(): Invalid arguments passed } [file]{ /data/www/www.jichengzao.net/Application/Model/IndexModel.php } [line]{ 239 }
[[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 ') LIMIT 15' at line 1 } [file]{ /data/www/www.jichengzao.net/GoodPHP/Data/CActiveRecord.php } [line]{ 14 }
[[BACKTRACE]]: 
#0 /data/www/www.jichengzao.net/Application/Model/IndexModel.php(242): CActiveRecord->query('SELECT c.itemid...') #1 /data/www/www.jichengzao.net/index.php(26): IndexModel->getExcellentComment('ExcellentCommen...', '0,1,2,3,4,5,6,7...', 15) #2 {main}
DEBUG