发完整的语句,看上去是SQL出错
这个是个怎么回事啊 有没有人帮忙回答一下啊
[XSException] /XSDataSource.class.php(794): SQLSTATE[42000] [1064] 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 1' at line 1 #0 XSDataSource.class.php(454): XSDatabasePDO->query('select LIMIT 1') #1 XSD...
[XSException] /XSDataSource.class.php(794): SQLSTATE[42000] [1064] 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 1' at line 1 #0 XSDataSource.class.php(454): XSDatabasePDO->query('select LIMIT 1') #1 XSD...
Error 500 CDbCommand 无法执行 SQL 语句: SQLSTATE[HY000]: General error: 1364 Field 'goodnum' doesn't have a default value http://www.xunsearch.com/doc/php/guide/search.count
...e) { $info = $this->obj->errorInfo(); throw new XSException('SQLSTATE[' . $info[0] . '] [' . $info[1] . '] ' . $info[2]); } $ret = $res->fetchAll(PDO::FETCH_ASSOC); return $ret;} 执行 SQL 语句
...n] [color=#FF0000]../data/web/sftest/php/util/XSDataSource.class.php(826): SQLSTATE[HY000] [2002] No such file or directory[/color] #0 XSDataSource.class.php(180): XSDatabasePDO->connect(Array) #1 XSDataSource.class.php(35): XSDatabaseDataSource->init() #2 XSDataSource.class.php(51): XSDataSource...
...e) { $info = $this->obj->errorInfo(); throw new XSException('SQLSTATE[' . $info[0] . '] [' . $info[1] . '] ' . $info[2]); } $ret = $res->fetchAll(PDO::FETCH_ASSOC); return $ret;} 执行 SQL 语句
...xception] ../usr/local/xunsearch/sdk/php/util/XSDataSource.class.php(794): SQLSTATE[42000] [1064] 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 'FROM_UNIXTIME (inputtime,'%Y%m%d' ) as inputtime,ad.content,c.catna...