Greetings all...
I am having a problem with my Zend environment, which was installed on
Centos using the ZendServer-5.0.3-RepositoryInstaller-linux.tar.gz file.
I have a project on which I have been working for about 8 weeks, to
which now I am trying to add jQuery/jQuery-ui. In my Bootstrap.php, I
added a added
ZendX_JQuery::enableView($view);
to one of my _init functions, where $view was the result of
$this->bootstrap('view');
$view = $this->getResource('view');
This code gets executed successfully, as I get my title and other
placeholders initialized properly. However, when I add
echo $this->jQuery() . PHP_EOL;
to the head section of my layout.phtml file, I get the following
exception:
Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception'
with message 'Plugin by name 'JQuery' was not found in the registry; used paths:
Zend_View_Helper_Navigation_: Zend/View/Helper/Navigation/
Zend_View_Helper_: Zend/View/Helper/:./views/helpers/' in
/usr/local/zend/share/ZendFramework/library/Zend/Loader/PluginLoader.php:412
Stack trace:
#0
/usr/local/zend/share/ZendFramework/library/Zend/View/Abstract.php(1174):
Zend_Loader_PluginLoader->load('JQuery')
#1
/usr/local/zend/share/ZendFramework/library/Zend/View/Abstract.php(610):
Zend_View_Abstract->_getPlugin('helper', 'jQuery')
#2
/usr/local/zend/share/ZendFramework/library/Zend/View/Abstract.php(336):
Zend_View_Abstract->getHelper('jQuery')
#3
/var/www/sites/intranet2/application/layouts/scripts/layout.phtml(12):
Zend_View_Abstract->__call('jQuery', Array)
#4
/var/www/sites/intranet2/application/layouts/scripts/layout.phtml(12):
Zend_View->jQuery()
#5 /usr/local/zend/share/ZendFramework/library/Zend/View.php(108):
include('/var/www/sites/...')
#6 /usr/lo in
/usr/local/zend/share/ZendFramework/library/Zend/Loader/PluginLoader.php on
line 412
I have also tried adding the view helper path explicitly, as talked
about in the ZendX_JQuery view helpers page, to no avail. I am at this
point at a loss, having searched for a solution on the net. Anyone have
any pointers they could share on how to get this working?
Also... does anyone know when we might be seeing an updated ZendServer
repository to move to ZF 1.11??
Thanks all!
- Doug