Note that there are some explanatory texts on larger screens.

plurals
  1. POzend view helper configure path(works in bootstrap but does not work in application.ini)?
    primarykey
    data
    text
    <p>This problem really making me crazy. When I add my view Helper path in bootstrap file. </p> <pre><code>$view-&gt;addHelperPath(APPLICATION_PATH.'/../library/SiteLib/View/Helper/'); </code></pre> <p>It works perfectly alright. </p> <p>But when I shift this to APPLICATION.INI file (where it should be). It simple don't work </p> <pre><code>resources.view[] = resources.view.helperPath.SiteLib_View_Helper_CssHelper = APPLICATION_PATH "/../library/SiteLib/View/Helper/" </code></pre> <p>I don't know what I am doing wrong. Can anyone help me please. </p> <p>here is my view helper class</p> <pre><code>class Zend_View_Helper_CssHelper extends Zend_View_Helper_Abstract { function cssHelper() { } } Fatal error: Uncaught exception 'Zend_Loader_PluginLoader_Exception' with message 'Plugin by name 'CssHelper' in /web/zend/zendbase/library/Zend/Loader/PluginLoader.php on line 412 ( ! ) Zend_Loader_PluginLoader_Exception: Plugin by name 'CssHelper' was not found in the registry; used paths: Login_View_Helper_: /web/zend/zendbase/application/modules/login/views/helpers/ ZendX_JQuery_View_Helper_: ZendX/JQuery/View/Helper/ Zend_View_Helper_: Zend/View/Helper/:/web/zend/zendbase/application/../library/SiteLib/View/Helper/:/web/zend/zendbase/application/modules/default/views/helpers/ in /web/zend/zendbase/library/Zend/Loader/PluginLoader.php on line 412 Call Stack # Time Memory Function Location 1 0.0001 53524 {main}( ) ../index.php:0 2 0.0451 1467432 Zend_Application-&gt;run( ) ../index.php:60 3 0.0452 1467432 Zend_Application_Bootstrap_Bootstrap-&gt;run( ) ../Application.php:366 4 0.0452 1467432 Zend_Controller_Front-&gt;dispatch( ) ../Bo </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload