产品信息保存出错

bug问题 · fecshoper · 于 6年前 发布 · 2307 次阅读
Http status: 500 Internal Server Error
ajaxOptions: error
thrownError: Internal Server Error
Exception 'XSException' with message 'No route to host(C#113, localhost:8383)' 

in /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php:477

Stack trace:
#0 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php(172): XSServer->connect()
#1 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/lib/XSServer.class.php(147): XSServer->open(8383)
#2 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/lib/XS.class.php(415): XSServer->__construct(8383, Object(XS))
#3 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/lib/XS.class.php(186): XS->getIndex()
#4 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/Database.php(83): XSComponent->__get('index')
#5 /alidata/www/yii2_fecshop/vendor/hightman/xunsearch/wrapper/yii2-ext/ActiveRecord.php(297): hightman\xunsearch\Database->getIndex()
#6 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/db/BaseActiveRecord.php(643): hightman\xunsearch\ActiveRecord->insert(true, NULL)
#7 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/helper/AR.php(99): yii\db\BaseActiveRecord->save()
#8 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/search/XunSearch.php(76): fecshop\services\helper\AR->save(Object(fecshop\models\xunsearch\Search), Array, true)
#9 [internal function]: fecshop\services\search\XunSearch->actionSyncProductInfo(Array, 20)
#10 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Service.php(48): call_user_func_array(Array, Array)
#11 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Search.php(62): fecshop\services\Service->__call('syncProductInfo', Array)
#12 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Search.php(62): fecshop\services\search\XunSearch->syncProductInfo(Array, 20)
#13 [internal function]: fecshop\services\Search->actionSyncProductInfo(Array)
#14 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Service.php(48): call_user_func_array(Array, Array)
#15 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/product/ProductMongodb.php(335): fecshop\services\Service->__call('syncProductInfo', Array)
#16 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/product/ProductMongodb.php(335): fecshop\services\Search->syncProductInfo(Array)
#17 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Product.php(337): fecshop\services\product\ProductMongodb->save(Array, 'catalog/product...')
#18 [internal function]: fecshop\services\Product->actionSave(Array, 'catalog/product...')
#19 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/services/Service.php(48): call_user_func_array(Array, Array)
#20 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/block/productinfo/Manageredit.php(400): fecshop\services\Service->__call('save', Array)
#21 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/block/productinfo/Manageredit.php(400): fecshop\services\Product->save(Array, 'catalog/product...')
#22 /alidata/www/yii2_fecshop/vendor/fancyecommerce/fecshop/app/appadmin/modules/Catalog/controllers/ProductinfoController.php(50): fecshop\app\appadmin\modules\Catalog\block\productinfo\Manageredit->save()
#23 [internal function]: fecshop\app\appadmin\modules\Catalog\controllers\ProductinfoController->actionManagereditsave()
#24 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/base/InlineAction.php(57): call_user_func_array(Array, Array)
#25 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/base/Controller.php(156): yii\base\InlineAction->runWithParams(Array)
#26 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/base/Module.php(523): yii\base\Controller->runAction('managereditsave', Array)
#27 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/web/Application.php(102): yii\base\Module->runAction('catalog/product...', Array)
#28 /alidata/www/yii2_fecshop/vendor/yiisoft/yii2/base/Application.php(380): yii\web\Application->handleRequest(Object(yii\web\Request))
#29 /alidata/www/yii2_fecshop/appadmin/web/index.php(72): yii\base\Application->run()
#30 {main}
共收到 4 条回复
Fecmall#16年前 0 个赞

需要安装xunsearch,或者你关掉xunsearch的配置,具体看文档

Fecmall#26年前 0 个赞

您好,您先安装下xunsearch吧,现在还没有做关掉的配置,近期加入这个可以关掉xunsearch的配置。

Fecmall#46年前 0 个赞

后面又进行了一些调整,具体参看后面的新版本。

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