in app_model, how do I get teh current controller and action? $this-
>controller and $this->action don't return anything.
Thanks
On Nov 27, 11:58 am, "Sam Sherlock" <sam.sherl...@gmail.com> wrote:
> perhaps there is a better way but
>
> $this->log('controllerName actionName '); // this could use properties of
> object inside app beforeFilter
>
> 2008/11/27 Herman <herman.c...@gmail.com>
>
>
>
> > Just wondering. In the error.log file is there any way to customize it
> > so I can see the current controller and action when it is called?
>
> > On Nov 27, 1:24 am, Herman <herman.c...@gmail.com> wrote:
> > > I keep getting this error in my error logs on production server:
>
> > > Fatal Error (256): Can't find application bootstrap file. Please
> > > create /home/app/public_html/app/config/bootstrap.php, and make sure
> > > it is readable by PHP. in [CORE/cake/libs/configure.php, line 631]
>
> > > The file is definitely there, and readable. It's working fine on my
> > > local machine. Weird thing is, the application appears to be working
> > > fine on the production server as well, but it's just scaring me I'm
> > > getting hundreds of these warnings every day in /tmp/logs/error.log.
>
> > > Anyone else have the same problem?
--~--~---------~--~----~------------~-------~--~----~
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