not beforeFilter() of course
those things for every page are in the beforeRender() method of the
app controller
On 30 Jan., 21:01, euromark <dereurom...@googlemail.com> wrote:
> testing components, helpers, models etc is working just fine
> but behaviors are a huge pain in the rear
>
> they seem to trigger the whole app + default layout
>
> if i use the app as it is for productive mode it dies with the
> following error
> "Fatal error: Call to a member function find() on a non-object in ...
> \app\app_controller.php on line 227"
>
> even if i try to disable all the beforeFilter() stuff like
> "WhoIsOnline" or "NewestEvents"
> it still dies: "table test_countries to Model Country is missing
> but there is nothing triggered using the country model
>
> is there a way to switch to a "basic" app controller + test layout for
> testing? (the default layout of course needs some beforeFilter stuff
> from the current app controller)
> a version that does not invoke all those unnessarry models for just
> testing a simple and easy behavior?
>
> thx so much
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment