Maison  >  Article  >  développement back-end  >  zendframework运行异常

zendframework运行异常

WBOY
WBOYoriginal
2016-06-13 13:49:081035parcourir

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

Déclaration:
Le contenu de cet article est volontairement contribué par les internautes et les droits d'auteur appartiennent à l'auteur original. Ce site n'assume aucune responsabilité légale correspondante. Si vous trouvez un contenu suspecté de plagiat ou de contrefaçon, veuillez contacter admin@php.cn