zend 框架问题 An error occurred Application error
An error occurred
Application error
Exception information:
Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, query was: select username from ssc_members where uid =
Stack trace:
#0 /home/user.sk7.us/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/user.sk7.us/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/user.sk7.us/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select username...', Array)
#3 /home/user.sk7.us/library/Zend/Db/Adapter/Abstract.php(828): Zend_Db_Adapter_Pdo_Abstract->query('select username...', Array)
#4 /home/user.sk7.us/application/views/helpers/GetValue.php(6): Zend_Db_Adapter_Abstract->fetchOne('select username...')
#5 [internal function]: Zend_View_Helper_GetValue->getValue('select username...')
#6 /home/user.sk7.us/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#7 /home/user.sk7.us/application/views/scripts/user/infopanel.phtml(35): Zend_View_Abstract->__call('getValue', Array)
#8 /home/user.sk7.us/application/views/scripts/user/infopanel.phtml(35): Zend_View->getValue('select username...')
#9 /home/user.sk7.us/library/Zend/View.php(108): include('/home/user.sk7....')
#10 /home/user.sk7.us/library/Zend/View/Abstract.php(888): Zend_View->_run('/home/user.sk7....')
#11 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('user/infopanel....')
#12 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('user/infopanel....', NULL)
#13 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /home/user.sk7.us/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /home/user.sk7.us/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /home/user.sk7.us/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('infopanelAction')
#17 /home/user.sk7.us/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /home/user.sk7.us/library/Zend/Application/Bootstrap/Bootstrap.php(101): Zend_Controller_Front->dispatch()
#19 /home/user.sk7.us/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#20 /home/user.sk7.us/public_html/index.php(302): Zend_Application->run()
#21 {main}
Request Parameters:
array (
'controller' => 'user',
'action' => 'infopanel',
'module' => 'default',
)
这是怎么回事 大神们帮帮忙
Application error
Exception information:
Message: SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1, query was: select username from ssc_members where uid =
Stack trace:
#0 /home/user.sk7.us/library/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/user.sk7.us/library/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /home/user.sk7.us/library/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('select username...', Array)
#3 /home/user.sk7.us/library/Zend/Db/Adapter/Abstract.php(828): Zend_Db_Adapter_Pdo_Abstract->query('select username...', Array)
#4 /home/user.sk7.us/application/views/helpers/GetValue.php(6): Zend_Db_Adapter_Abstract->fetchOne('select username...')
#5 [internal function]: Zend_View_Helper_GetValue->getValue('select username...')
#6 /home/user.sk7.us/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array)
#7 /home/user.sk7.us/application/views/scripts/user/infopanel.phtml(35): Zend_View_Abstract->__call('getValue', Array)
#8 /home/user.sk7.us/application/views/scripts/user/infopanel.phtml(35): Zend_View->getValue('select username...')
#9 /home/user.sk7.us/library/Zend/View.php(108): include('/home/user.sk7....')
#10 /home/user.sk7.us/library/Zend/View/Abstract.php(888): Zend_View->_run('/home/user.sk7....')
#11 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render('user/infopanel....')
#12 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript('user/infopanel....', NULL)
#13 /home/user.sk7.us/library/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#14 /home/user.sk7.us/library/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#15 /home/user.sk7.us/library/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#16 /home/user.sk7.us/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('infopanelAction')
#17 /home/user.sk7.us/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#18 /home/user.sk7.us/library/Zend/Application/Bootstrap/Bootstrap.php(101): Zend_Controller_Front->dispatch()
#19 /home/user.sk7.us/library/Zend/Application.php(366): Zend_Application_Bootstrap_Bootstrap->run()
#20 /home/user.sk7.us/public_html/index.php(302): Zend_Application->run()
#21 {main}
Request Parameters:
array (
'controller' => 'user',
'action' => 'infopanel',
'module' => 'default',
)
这是怎么回事 大神们帮帮忙
...全文
相关推荐
zendframework官方入门手册[收集].pdf
zendframework官方入门手册[收集].pdf
TP5(thinkPHP5框架)实现显示错误信息及行号功能的方法
主要介绍了TP5(thinkPHP5框架)实现显示错误信息及行号功能的方法,结合实例形式分析了thinkPHP5显示错误信息及行号的相关配置文件与设置修改方法,需要的朋友可以参考下
Yod 框架 v1.3.1
Yod是一个C语言编写的PHP框架,同时也提供了php的源码。 Yod同时支持单入口和多入口模式,应用灵活,形式自由。 1.3.1更新日志: - 使用 zend_call_function 代替 call_user_function - 废除 Yod_Request 类中的 errorAction 和 error404 方法 - 在配置中增加对 tpldata 和 plugins 的支持 - 在 Yod_Controller、Yod_Model 和 Yod_Application 中添加 plugin 方法 - 修正了 yod_controller_assign 的一个BUG -
ZendFramework安装1.11版
ZendFramework安装1.11版 ZendFramework安装1.11版
ZendFramework整合Smarty简易方法
ZendFramework整合Smarty,完美化php网站。


Framework
