...xt = argv[1]; if (!(s = scws_new())) { printf("error, can't init the scws_t!\n"); exit(-1); } scws_set_charset(s, "gbk"); scws_set_multi(s, 1); scws_set_dict(s, "/usr/local/etc/dict_chs_gbk.xdb", SCWS_XDICT_MEM); ...
...einit the thread pool 2012-03-30 09:40:33 worker1[10982] [sock:8] unknown ERROR during executing task (CMD:66) 2012-03-30 09:40:33 worker1[10982] caught system exceptional signal[6], terminate immediately 2012-03-30 09:40:33 worker1[10982] deinit the thread pool 2012-03-30 09:40:33 worker1[10982...
...议先强制忽略 notice 错误,可以在 lib/XS.php 开头加一句 error_reporting(E_ALL ^ E_NOTICE); 第二,你的 PHP 是 5.1.6 版本确实比较早了,我们只测试了 5.2 5.3, 所以可能存在少量不兼容,建议有可能升到 5.2+,因为从打印 "object id #2" 来看...
code: var_dump(scws_version()); scws_has_words($sh, $cutword); 打印输出: string(64) "SCWS (Module version:1.0.0, Library version:1.2.0) - by hightman" Fatal error: Call to undefined function scws_has_words() in /letv/data/www/cutword/index.php on line 15 求帮助
...demo项目的方法操作 填充测试数据的时候出现如下错误 [XSErrorException] ../usr/local/xunsearch/sdk/php/util/Indexer.php(176): ob_flush(): failed to flush buffer. No buffer to flush.(8) #0 [internal function]: xs_error_handler(8, 'ob_flush(): fai...', '/usr/local/xuns...', 176, Arr...
...ing for scws support... yes, shared checking for scws.h... no configure: error: Please download and install scws from http://www.xunsearch.com/scws Linux localhost.localdomain 2.6.18-308.11.1.el5PAE #1 SMP Tue Jul 10 09:29:33 EDT 2012 i686 i686 i386 GNU/Linux
...xception] /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 XSDataS...
...xception] /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 XSDataS...
...hangeable = PHP_INI_ALL 这两句之后就会有下面的错误。 Parse error: syntax error, unexpected T_DEFAULT in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line 5 不加呢,又会分词不成功,貌似是词典的问题,能不能告诉我哪里做错了呢? 忘记说了,...
...php 5.2.17 + eAccelerator 平台上测试时出现以下错误: Fatal error: Call to undefined method XSSearch::getFieldId() in /usr/local/xunsearch/sdk/php/lib/XS.php on line 337 经排查发现是eAccelerator 在处理 XSFieldScheme 的缓存对象时出现错误。 因此我们现在修...