读书人

zendframework运行异常

发布时间: 2012-03-06 20:47:55 作者: rapoo

zendframework运行错误。
Fatal error: Uncaught exception 'Zend_Db_Exception' with message 'Adapter name must be specified in a string' in F:\xdphp\wamp\www\zendframework\library\Zend\Db.php:226 Stack trace: #0 F:\xdphp\wamp\www\zendframework\index.php(32): Zend_Db::factory(NULL, Array) #1 {main} thrown in F:\xdphp\wamp\www\zendframework\library\Zend\Db.php on line 226
请问大虾们这个怎么解决呢???

[解决办法]
你给的Adapter 的值不是一个字符串,他这个值是需要字符串的。

读书人网 >PHP

热点推荐