开发者

Zend Framework. Fatal error [closed]

开发者 https://www.devze.com 2023-03-11 02:28 出处:网络
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical andcannot be reasonably answered in its current form. For help clari
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. Closed 11 years ago.

Help me, please. Zend Framework output error:

Fatal error: Uncaught exception 'Zend_Application_Resource_Exception' with message 'Bootstrap file found for module "messages" but bootstrap class "Messages_Bootstrap" not found' in
/home/aqq10697/public_html/readder.ru/library/Zend/Application/Resource/Modules.php:82 Stack trace: #0
/home/aqq10697/public_html/readder.ru/library/Zend/Application/Bootstrap/BootstrapAbstract.php(680): Zend_Application_Resource_Modules->init() #1 
/home/aqq10697/public_html/readder.ru/library/Zend/Application/Bootstrap/BootstrapAbstract.php(623): Zend_Application_Bootstrap_BootstrapAbstract->_executeResource('modules') #2 
/home/aqq10697/public_html/readder.ru/library/Zend/Application/Bootstrap/BootstrapAbstract.php(583): Zend_Application_Bootstrap_BootstrapAbstract->_bootstrap(NULL) #3 
/home/aqq10697/public_html/readder.ru/library/Zend/Application.php(355): Zend_Application_Bootstrap_BootstrapAbstract->bootstrap(NULL) #4 
/home/aqq10697/public_html/readder.ru/index.php(52): Zend_Application->bootstrap() 开发者_如何学JAVA#5 {main} thrown in 
/home/aqq10697/public_html/readder.ru/library/Zend/Application/Resource/Modules.php on line 82

What should I do?


ZF has found a bootstrap class for your messages module (probably at application/modules/messages/Bootstrap.php). It is expecting this file to define a class called Messages_Bootstrap, it doesn't. Either add the class or delete the bootstrap file.

If you add the class, it'll look something like this:

class Messages_Bootstrap extends Zend_Application_Module_Bootstrap
{

}
0

精彩评论

暂无评论...
验证码 换一张
取 消