On Mon, Sep 5, 2011 at 10:46 PM, Gregory <[email protected]> wrote:

> >
> > This is in *myApp/application/configs/application.ini*:
> > resources.view.helperPath.Helpers_View
> > = "library/helpers/view"
> >
>
> It's always better to use the full file path. Try
> LIBRARY_PATH"helpers/view" instead.
>
> Otherwise what is you php include path for your CLI php.ini config?
>
>
Include paths used:
.;D:\xampp\php\PEAR;D:\xampp\php\PEAR\data;D:\xampp\ZendFramework-1.11.3\library;D:\xampp\ZendFramework-1.11.3\bin;C:\sphinx\api\

I tried your suggestion, but it didn't work; same error. But this did show
me that this setting (resources.view.helperPath) in app.ini is irrelevant:
with or without it, the helper path in the exception is the same.

My guess is that I'm not properly loading helpers, plugins and the likes in
the test bootstrap. Because, if I remove the faulty line with the meta() in
the app's bootstrap, then another exception is thrown when running
unit-tests:
PHP Fatal error:  Call to a member function getResource() on a non-object in
D:\xampp\htdocs\myApp\library\Plugins\AutomaticCreations.php on line 20
That line 
being:Zend_Controller_Front::getInstance()->getParam("bootstrap")->getResource("view");

So when my front controller is not properly loaded, it's big. :)
I think my test bootstrap is all mixed up and not loading anything.

Reply via email to