中国真实偷乱视频,东京道一本热中文字幕,久久精品国产99国产精品亚洲,欧美激情一区二区三区在线

Board logo

標題: [求助] 同樣的代碼,在windows中正常,在linux中報錯Uncaught exception 'PDOException [打印本頁]

作者: kunuser    時間: 2013-8-3 14:18     標題: 同樣的代碼,在windows中正常,在linux中報錯Uncaught exception 'PDOException

本帖最后由 kunuser 于 2013-8-3 14:19 編輯

同樣的代碼,在windows系統中運行正常,在linux服務器中報如下錯誤:

Fatal error
: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2050 ' in /mnt/www/web/danci/public_html/admin/library/Zend/Db/Statement/Pdo.php:292 Stack trace:
#0 /mnt/www/web/danci/public_html/admin/library/Zend/Db/Statement/Pdo.php(292): PDOStatement->fetchAll(2)
#1 /mnt/www/web/danci/public_html/application/controllers/UserController.php(427): Zend_Db_Statement_Pdo->fetchAll()
#2 /mnt/www/web/danci/public_html/admin/library/Zend/Controller/Action.php(513): UserController->indexAction()
#3 /mnt/www/web/danci/public_html/admin/library/Zend/Controller/Dispatcher/Standard.php(295): Zend_Controller_Action->dispatch('indexAction')
#4 /mnt/www/web/danci/public_html/admin/library/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#5 /mnt/www/web/danci/public_html/index.php(52): Zend_Controller_Front->dispatch()
#6 {main} Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[HY000 in /mnt/www/web/danci/public_html/admin/library/Zend/Db/Statement/Pdo.php on line 296
作者: kunuser    時間: 2013-8-4 10:47

求大神們給點解決問題的意見!謝謝!在網上找了好多相關的解決方法,冒似都無效
作者: admin    時間: 2013-8-4 12:13

是沒有PDO的支持吧




歡迎光臨 WDlinux官方論壇 (http://ahbydz.com/bbs/) Powered by Discuz! 7.2