...index: part in C:\Users\Administrator\Desktop\tool\dev\make_xd b_file.php on line 92 PHP Notice: Undefined index: part in C:\Users\Administrator\Desktop\tool\dev\ma ke_xdb_file.php on line 92 Notice: Use of undefined constant key - assumed 'key' in C:\Users\Administrato Desktop\tool\dev\xdb....
配置项 [on_time] type = numeric 在测试服务器上返回的值是 'on_time' => string '1414566271' (length=10) 发布到线上服务返回的值是 ["on_time"]=> string(11) "1.41204e+09" 线下,线上服务器都是centos+ nginx ,项目配置也是一样的, 虽然在开...
不知你有没有注意到 configure 的结果里,总是显示 checking if zts is enabled... no 问题应该是在这儿 我这儿的FREEBSD,LINUX都是正常的,PHP 4.4.X和PHP5.2.X都测试过~ 查看一下 /usr/local/php/include/php/main/php_config.php 里面是否有 #define ZTS 1 ...
运行后Fatal error: Call to a member function add() on a non-object in c.php on line 14[hr] 另外 WARNING: no server[xs-indexd] is running (BIND:127.0.0.1:8383) INFO: re-starting server[xs-indexd] ... (BIND:127.0.0.1:8383) WARNING: no server[xs-searchd] is running (BIND:127.0.0.1:8384) ...
... 比如我的sql如下: select * from goods as g left join order as o on g.gid = o.gid left join comment as c on g.gid = c.gid where ..... group by g.gid 然后,用$index->add($doc), 一条条加入 2> 更新索引时,我又重新跑一次sql, select * from goods as g left join...
...f tokenizer = full [postdate] tokenizer = full [subject] type = title [content] type = body #导入 php util/Indexer.php --rebuild --source=mysql://数据库用户名:数据库密码@数据库地址/数据库名 --sql="select t.tid as tid, t.fid as fid, t.author as author, t.authorid as authorid...
...r, unexpected T_DEFAULT in D:\DedeAMPZ\WebRoot\Default\tld\dede\getwen.php on line 5 不加呢,又会分词不成功,貌似是词典的问题,能不能告诉我哪里做错了呢? 忘记说了,我用的编码都是utf8 还有就是如果我用 $so->set_dict('C:/Program Files/scws/etc/d...
...t_name,g.brand_id,g.shop_price,g.goods_brief,g.en_goods_brief,g.goods_img,CONCAT(ga.attr_id,'_',ga.attr_value) as attr_value from fp_goods as g left join fp_goods_attr as ga on g.goods_id = ga.goods_id where g.is_on_sale = 1" --project=fp 开始重建索引 ... 初始化数据源 ... mysql://root:...
...: PHP Warning: PHP Startup: Unable to load dynamic library '/Applications/AMPPS/php-5.3/lib/extensions/ext/scws.so' - dlopen(/Applications/AMPPS/php-5.3/lib/extensions/ext/scws.so, 9): no suitable image found. Did find:\n\t/Applications/AMPPS/php-5.3/lib/extensions/ext/scws.so: mach-o, but wron...
在phpext目录./configure之前做一下 export CFLAGS="-O2 -DZTS=1" 不知为什么会检测到 zts off,而实际上 zts 是 on,或许是编译脚本太旧?