后台保存产品信息出错

bug问题 · hetao · 于 5年前 发布 · 1771 次阅读

Exception 'XSErrorException' with message 'fsockopen(): php_network_getaddresses: getaddrinfo failed: 锟斤拷知锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 '

in D:\sites\fecshop\vendor\hightman\xunsearch\lib\XS.class.php:711

Stack trace: #0 [internal function]: xsErrorHandler(2, 'fsockopen(): ph...', 'D:\sites\fecsho...', 476, Array) #1 D:\sites\fecshop\vendor\hightman\xunsearch\lib\XSServer.class.php(476): fsockopen('xunsearch', 8383, 0, 'php_network_get...', 5) #2 D:\sites\fecshop\vendor\hightman\xunsearch\lib\XSServer.class.php(172): XSServer->connect() #3 D:\sites\fecshop\vendor\hightman\xunsearch\lib\XSServer.class.php(147): XSServer->open('xunsearch:8383') #4 D:\sites\fecshop\vendor\hightman\xunsearch\lib\XS.class.php(415): XSServer->construct('xunsearch:8383', Object(XS)) #5 D:\sites\fecshop\vendor\hightman\xunsearch\lib\XS.class.php(186): XS->getIndex() #6 D:\sites\fecshop\vendor\hightman\xunsearch\wrapper\yii2-ext\Database.php(83): XSComponent->get('index') #7 D:\sites\fecshop\vendor\hightman\xunsearch\wrapper\yii2-ext\ActiveRecord.php(297): hightman\xunsearch\Database->getIndex() #8 D:\sites\fecshop\vendor\yiisoft\yii2\db\BaseActiveRecord.php(670): hightman\xunsearch\ActiveRecord->insert(true, NULL) #9 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\helper\AR.php(99): yii\db\BaseActiveRecord->save() #10 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\search\XunSearch.php(76): fecshop\services\helper\AR->save(Object(fecshop\models\xunsearch\Search), Array, true) #11 [internal function]: fecshop\services\search\XunSearch->actionSyncProductInfo(Array, 20) #12 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\Service.php(49): call_user_func_array(Array, Array) #13 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\Search.php(62): fecshop\services\Service->call('syncProductInfo', Array) #14 [internal function]: fecshop\services\Search->actionSyncProductInfo(Array) #15 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\Service.php(49): call_user_func_array(Array, Array) #16 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\product\ProductMongodb.php(338): fecshop\services\Service->__call('syncProductInfo', Array) #17 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\Product.php(357): fecshop\services\product\ProductMongodb->save(Array, '/reindeer-patte...') #18 [internal function]: fecshop\services\Product->actionSave(Array, 'catalog/product...') #19 D:\sites\fecshop\vendor\fancyecommerce\fecshop\services\Service.php(49): call_user_func_array(Array, Array) #20 D:\sites\fecshop\vendor\fancyecommerce\fecshop\app\appadmin\modules\Catalog\block\productinfo\Manageredit.php(400): fecshop\services\Service->call('save', Array) #21 D:\sites\fecshop\vendor\fancyecommerce\fecshop\app\appadmin\modules\Catalog\controllers\ProductinfoController.php(50): fecshop\app\appadmin\modules\Catalog\block\productinfo\Manageredit->save() #22 [internal function]: fecshop\app\appadmin\modules\Catalog\controllers\ProductinfoController->actionManagereditsave() #23 D:\sites\fecshop\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array(Array, Array) #24 D:\sites\fecshop\vendor\yiisoft\yii2\base\Controller.php(157): yii\base\InlineAction->runWithParams(Array) #25 D:\sites\fecshop\vendor\yiisoft\yii2\base\Module.php(528): yii\base\Controller->runAction('managereditsave', Array) #26 D:\sites\fecshop\vendor\yiisoft\yii2\web\Application.php(103): yii\base\Module->runAction('catalog/product...', Array) #27 D:\sites\fecshop\vendor\yiisoft\yii2\base\Application.php(386): yii\web\Application->handleRequest(Object(yii\web\Request)) #28 D:\sites\fecshop\appadmin\web\index.php(76): yii\base\Application->run() #29 {main}

共收到 3 条回复
Fecmall#15年前 0 个赞

出问题,先自己搜一下

hetao#25年前 0 个赞

是因为没有安装xunsearch

hetao#35年前 0 个赞

把这个关了

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