[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...
发完整的语句,看上去是SQL出错
这个是个怎么回事啊 有没有人帮忙回答一下啊
开始重建索引 ... [XSException] ../local/xunsearch/sdk/php/lib/XS.php(1898): DB has been rebuilding(S#407) #0 ../local/xunsearch/sdk/php/lib/XS.php(1122): XSServer->execCommand(Array, 257) #1 Indexer.php(163): XSIndex->beginRebuild() #2 {main}
...e: text/html 清空现有索引数据 ... 初始化数据源 ... csv [XSException] /XSDataSource.class.php(376): Can not open input file: '' #0 XSDataSource.class.php(35): XSCsvDataSource->init() #1 XSDataSource.class.php(51): XSDataSource->__construct('csv', NULL) #2 Indexer.php(240): XSDat...
--clean 不要和 --source=csv 同时使用啊 --source 仅在导入数据时采用。
是不是你之前重建 没有完成就又重建了?建议用 bin/xs-ctl.sh restart 然后再调用 Indexer.php --clean 清除吧
在win下,开发 XSException::getRelPath() 返回的地址 ../../../../../ 无法确认出错的文件 建议修改成 [php] public static function getRelPath($file) { $from = getcwd(); $file = realpath($file); if (is_dir($file)) { $pos = false;...
...行运行脚本一切OK 浏览器访问报错,Fatal error: Uncaught [XSException] ../xunsearch/sdk/php/lib/XS.php(2204): Connection timed out(C#110) thrown in /xunsearch/sdk/php/lib/XS.php on line 2204 或者 Fatal error: Uncaught [XSException] .. nsearch/sdk/php b/XS.php(2204): php_network_...