Zend_Loader_PluginLoader_Exception

Hold on Cowboy

This blog post is pretty old. Be careful with the information you find in here. It's likely dead, dying, or wildly inaccurate.

For the top alerts you get after you’ve saved a page or some other event, there is the built in Flashmessenger in Zend Framework, but emanaton has put together a great messenger called PriorityMessenger.

I had it running on one of my sites without issue, but when I tried to get it running on another site I get an error of.

I had placed my PriorityMessenger.php file in: application/views/helpers/PriorityMessenger.php

Then when I tried to access the a controller I received.

Plugin by name 'PriorityMessenger' was not found in the registry; used paths:
Zend_View_Helper_Navigation_: Zend/View/Helper/Navigation/
Support_View_Helper_: /var/www/production/application/modules/support/views/helpers/
Zend_View_Helper_: Zend/View/Helper/ 

I checked the paths, the class names, etc. still no dice.

A Simple solution 

In the application.ini file I added this line:

resources.view.helperPath = APPLICATION_PATH "/views/helpers"

This I guess tells Zend Framework to look in application/views/helpers for helpers applicable to all modules.

Keep up, keeping up.

Did this help you out? It took me a few days to piece together all this information together, I hope this saves you some time (who knows, maybe the future me will be thankful I wrote this down). Let me know your thoughts. shanestillwell@gmail.com