升级1.2.2.3版本后删除商品失败

问题咨询 · PHPJAVAGOC · 于 6年前 发布 · 1994 次阅读

删除商品实际已经删除,删除后详情查看没有了,但是分类还在


Http status: 500 Internal Server Error
ajaxOptions: error
thrownError: Internal Server Error
Exception 'XSException' with message 'No route to host(C#113, localhost:8384)' 

in /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php:477

Stack trace:
#0 /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php(172): XSServer->connect()
#1 /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XSSearch.class.php(57): XSServer->open(8384)
#2 /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php(147): XSSearch->open(8384)
#3 /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XS.class.php(450): XSServer->__construct(8384, Object(XS))
#4 /www/web/develop/fecshop/vendor/hightman/xunsearch/lib/XS.class.php(186): XS->getSearch()
#5 /www/web/develop/fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/Database.php(91): XSComponent->__get('search')
#6 /www/web/develop/fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/QueryBuilder.php(72): hightman\xunsearch\Database->getSearch()
#7 /www/web/develop/fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/ActiveQuery.php(345): hightman\xunsearch\QueryBuilder->build(Object(hightman\xunsearch\ActiveQuery))
#8 /www/web/develop/fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/ActiveQuery.php(232): hightman\xunsearch\ActiveQuery->buildSearch(Object(hightman\xunsearch\Database))
#9 /www/web/develop/fecshop/vendor/yiisoft/yii2/db/BaseActiveRecord.php(107): hightman\xunsearch\ActiveQuery->one()
#10 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/search/XunSearch.php(261): yii\db\BaseActiveRecord::findOne('58199480f656f28...')
#11 [internal function]: fecshop\services\search\XunSearch->actionRemoveByProductId(Object(MongoDB\BSON\ObjectID))
#12 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(49): call_user_func_array(Array, Array)
#13 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Search.php(170): fecshop\services\Service->__call('removeByProduct...', Array)
#14 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Search.php(170): fecshop\services\search\XunSearch->removeByProductId(Object(MongoDB\BSON\ObjectID))
#15 [internal function]: fecshop\services\Search->actionRemoveByProductId(Object(MongoDB\BSON\ObjectID))
#16 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(49): call_user_func_array(Array, Array)
#17 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/product/ProductMongodb.php(441): fecshop\services\Service->__call('removeByProduct...', Array)
#18 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/product/ProductMongodb.php(441): fecshop\services\Search->removeByProductId(Object(MongoDB\BSON\ObjectID))
#19 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Product.php(367): fecshop\services\product\ProductMongodb->remove('58199480f656f28...')
#20 [internal function]: fecshop\services\Product->actionRemove('58199480f656f28...')
#21 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/services/Service.php(49): call_user_func_array(Array, Array)
#22 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/block/productinfo/Manageredit.php(604): fecshop\services\Service->__call('remove', Array)
#23 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/block/productinfo/Manageredit.php(604): fecshop\services\Product->remove('58199480f656f28...')
#24 /www/web/develop/fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/controllers/ProductinfoController.php(57): fecshop\app\appadmin\modules\Catalog\block\productinfo\Manageredit->delete()
#25 [internal function]: fecshop\app\appadmin\modules\Catalog\controllers\ProductinfoController->actionManagerdelete()
#26 /www/web/develop/fecshop/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#27 /www/web/develop/fecshop/vendor/yiisoft/yii2/base/Controller.php(157): yii\base\InlineAction->runWithParams(Array)
#28 /www/web/develop/fecshop/vendor/yiisoft/yii2/base/Module.php(528): yii\base\Controller->runAction('managerdelete', Array)
#29 /www/web/develop/fecshop/vendor/yiisoft/yii2/web/Application.php(103): yii\base\Module->runAction('catalog/product...', Array)
#30 /www/web/develop/fecshop/vendor/yiisoft/yii2/base/Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request))
#31 /www/web/develop/fecshop/appadmin/web/index.php(72): yii\base\Application->run()
#32 {main}



共收到 2 条回复
Fecmall#16年前 0 个赞

这个不是错误,是配置的问题, 你本地没有安装xunsearch,并启动它把?

如果没有,你需要在配置中将xunsearch关掉

参看文档: http://www.fecshop.com/doc/fecshop-guide/instructions/cn-1.0/guide-fecshop_search.html去除某个搜索 部分的说明

PHPJAVAGOC#26年前 1 个赞

@Terry #1楼 :joy: :joy:好像是因为没有开机启动 启动就解决了

添加回复 (需要登录)
需要 登录 后方可回复, 如果你还没有账号请点击这里 注册
Your Site Analytics