|
Problem with view helper paths: msg#00106php.zend.framework.mvc
Hi! $path = $this->getHelperPaths(); print_r($paths); prints: Array ( [Zend_View_Helper_] => Array ( [0] => Zend/View/Helper/ [1] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/ [2] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/mildola/ [3] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/template/ [4] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/roles/ [5] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/categories/ [6] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/languages/ [7] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/versions/ [8] => /usr/local/apache2/htdocs/xxxx/application/views/helpers/processindicator/ ) [Image_View_Helper_] => Array ( [0] => /usr/local/apache2/htdocs/xxxx/application/module/image/views/helpers/ ) ) Now when I try to use $this->language(); // helper resides in /usr/local/apache2/htdocs/xxxx/application/views/helpers/ I get: 'Exception' with message 'fopen(/usr/local/apache2/htdocs/xxx/application/module/image/views/helpers/Language.php) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: No such file or directory' I assumed that zf would search through all set paths before complaining. Now it seems to just the last path, which is set automatically as I have not set it myself anywhere. |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: Zend_Test & Zend_Layout: 00106, mikaelkael |
|---|---|
| Next by Date: | Re: Zend_Test & Zend_Layout: 00106, Matthew Weier O'Phinney |
| Previous by Thread: | Best practices in a thin-controller applicationi: 00106, Adam Jensen |
| Next by Thread: | Re: Problem with view helper paths: 00106, Janimatti Ellonen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |