安装完成后搜索功能报错

安装报错 · WillsonKuan · 于 6年前 发布 · 1547 次阅读

日志 exception 'MongoDB\Driver\Exception\RuntimeException' with message 'text index required for $text query' in D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php:286 Stack trace: #0 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php(286): MongoDB\Driver\Manager->executeQuery('fecshop.full_se...', Object(MongoDB\Driver\Query), Object(MongoDB\Driver\ReadPreference)) #1 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2-mongodb\Command.php(614): yii\mongodb\Command->query('find('find('[call('getSearchProductColl('[actionGetSearchProductColl('[call('getSearchProductColl('[getSearchProductColl() #13 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\fancyecommerce\fecshop\app\appfront\modules\Catalogsearch\controllers\IndexController.php(28): fecshop\app\appfront\modules\Catalogsearch\block\index\Index->getLastData() #14 [internal function]: fecshop\app\appfront\modules\Catalogsearch\controllers\IndexController->actionIndex() #15 D:\myphp_www\PHPTutorial\WWW\fecshop\vendor\yiisoft\yii2\base\InlineAction.php(57): call_user_func_array('[runAction('runAction('handleRequest(Object(fecshop\yii\web\Request)) #20 D:\myphp_www\PHPTutorial\WWW\fecshop\appfront\web\index.php(90): yii\base\Application->run() #21 {main}

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

仔细阅读发帖须知: http://www.fecshop.com/topic/624

1.发帖前先搜索报错信息

2.如果发帖,报错信息写到标题里面

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