所以我在Zend Framework中遇到了这个错误:
Fatal error: Uncaught exception
'Zend_Loader_PluginLoader_Exception' with message
'Plugin by name 'FrontUIHelper' was not found in the registry;
used paths: ZendX_JQuery_View_Helper_: ZendX/JQuery/View/Helper/ hlp_:
/home/public_html/application/views/helpers/ Zend_View_Helper_:
Zend/View/Helper/:./views/helpers/:/home/public_html/application/views/helpers/'
in /home/public_html/library/Zend/Loader/PluginLoader.php:412 Stack trace: #0
/home/public_html/library/Zend/View/Abstract.php(1170):
Zend_Loader_PluginLoader->load('FrontUIHelper') #1
/home/public_html/library/Zend/View/Abstract.php(610):
Zend_View_Abstract->_getPlugin('helper', 'frontUIHelper') #2
/home/public_html/library/Zend/View/Abstract.php(336):
Zend_View_Abstract->getHelper('frontUIHelper') #3
/home/public_html/application/layouts/layout.phtml(18):
Zend_View_Abstract->__call('frontUIHelper', Array) #4
/home/public_html/application/layouts/layout.phtml(18):
Zend_View->frontUIHelper() #5
/h in /home/public_html/library/Zend/Loader/PluginLoader.php
on line 412
我做错了什么?如何解决这个问题?
提前致谢
答案 0 :(得分:0)
这意味着此类没有文件。或者这个文件中没有类。检查姓名。自动加载器是否包含在index.php中?您是否将ZendX名称空间添加到自动加载器中? Zend Framework自动加载器基于类名。