:(

1054:Unknown column 'tag_' in 'where clause' [ SQL语句 ] : SELECT `goods_id` FROM `springcms_goods` WHERE ( status=1 and (goods_name like '%追鲸%' or tag_ like '%追鲸%' ) and type = 1 and is_on_sale=1 )

错误位置

FILE: /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Db/Driver.class.php  LINE: 350

TRACE

#0 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Db/Driver.class.php(350): E('1054:Unknown co...')
#1 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Db/Driver.class.php(180): Think\Db\Driver->error()
#2 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Db/Driver.class.php(939): Think\Db\Driver->query('SELECT `goods_i...', false)
#3 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Model.class.php(963): Think\Db\Driver->select(Array)
#4 /data/home/bxu2341670074/htdocs/Spring/Application/Search/Controller/IndexController.class.php(266): Think\Model->getField('goods_id', true)
#5 [internal function]: Search\Controller\IndexController->index()
#6 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/App.class.php(164): ReflectionMethod->invoke(Object(Search\Controller\IndexController))
#7 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/App.class.php(202): Think\App::exec()
#8 /data/home/bxu2341670074/htdocs/Spring/Core/Library/Think/Think.class.php(120): Think\App::run()
#9 /data/home/bxu2341670074/htdocs/Spring/Core/ThinkPHP.php(97): Think\Think::start()
#10 /data/home/bxu2341670074/htdocs/index.php(40): require('/data/home/bxu2...')
#11 {main}