Home >Backend Development >PHP Tutorial > zendframework运行异常

zendframework运行异常

WBOY
WBOYOriginal
2016-06-13 13:49:081119browse

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 的值不是一个字符串,他这个值是需要字符串的。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn