提示:500

SELECT id,path_name FROM bmaimai_region_all where id=全部 limit 1
SQLSTATE[42S22]: Column not found: 1054 Unknown column '全部' in 'where clause'
/data/www/bmaimai.com/framework/db/CSnsConnection.php
119

源文件

/data/www/bmaimai.com/framework/db/CSnsDbTools.php(228)

00216:                 $pluginId = RUN_MODE != RUN_MODEL_API ? $app->getController()->module->getId(): 'API';
00217:                 $actionId= RUN_MODE != RUN_MODEL_API ? $app->getController()->action->id: 'API';
00218:                 $queryStr = (isset($_SERVER['QUERY_STRING']))?$_SERVER['QUERY_STRING']:'';
00219:                 $app = null;
00220:                 $message = "SQL:{$sql},TIME:{$times['time']}>  rollBack();
00228: throw new CSnsDbException($ex->getMessage());
00229: } 00230: 00231: if (isset($returns[RETURN_SINGLE])) { 00232: if (isset($result[0])) { 00233: return $result[0]; 00234: } 00235: else { 00236: return false; 00237: } 00238: } 00239: 00240: else if (isset($returns[RETURN_INSERT]))

堆栈追踪

#0 /data/www/bmaimai.com/www/plugins/default/class/impls/DefaultModel.php(405): CSnsDbTools->execute('SELECT id,path_...')
#1 /data/www/bmaimai.com/www/plugins/default/class/impls/DefaultModel.php(474): DefaultModel->getUserAddr('??????')
#2 /data/www/bmaimai.com/www/plugins/product/controllers/DefaultController.php(102): DefaultModel->plistProducts(14, Array, NULL, '0')
#3 /data/www/bmaimai.com/framework/web/actions/CInlineAction.php(32): DefaultController->actionproductList()
#4 /data/www/bmaimai.com/framework/web/CSnsController.php(120): CInlineAction->run()
#5 /data/www/bmaimai.com/framework/web/CSnsController.php(104): CSnsController->runAction(Object(CInlineAction))
#6 /data/www/bmaimai.com/framework/web/CSnsController.php(93): CSnsController->runActionWithFilters(Object(CInlineAction), Array)
#7 /data/www/bmaimai.com/framework/web/CSnsWebApplication.php(442): CSnsController->run('productlist')
#8 /data/www/bmaimai.com/framework/web/CSnsWebApplication.php(89): CSnsWebApplication->runController('product/default...')
#9 /data/www/bmaimai.com/framework/base/CSnsApplication.php(137): CSnsWebApplication->processRequest()
#10 /data/www/bmaimai.com/www/web/index.php(22): CApplication->run()
#11 {main}

当网页服务器处理您的请求时, 发生以上错误.

如果您认为此错误是服务器造成的,请与管理员联系 the webmaster.

谢谢.

2019-11-07 17:37:12