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

zendframework运行异常

WBOY
Release: 2016-06-13 09:59:44
Original
909 people have browsed it

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template