Okay, the most likely issue is that Cake is rendering an error page,
and the error page is using the default layout, which uses
JavascriptHelper.  Cake, on the other hand, is probably using the base
Controller class to render the error.  Ergo, no $javascript.  If you
want to know the *real* error, read the title of the page, it should
say "Missing <Something>"

On Jan 25, 5:56 pm, "lukemack" <[EMAIL PROTECTED]> wrote:
> thanks again!
>
> On 25 Jan, 13:52, "Samuel DeVore" <[EMAIL PROTECTED]> wrote:
>
> > Actaully you don't need to copy the app_controller  from core, just
> > make a new one that has just this
>
> > class AppController extends Controller  {
> >         var $components = array('Acl','Output');   // components you want 
> > for
> > all controllers
> >         var $helpers = array('html', 'ajax');     //helpers you want for 
> > all views
>
> > }The thing you should know is that these arrays are not additive
> > (though there are some ways to make them that way)  and put this in
> > your app's main folder.
>
> > this is mentioned briefly inhttp://manual.cakephp.org/chapter/controllers
>
> > some interesting reading on this can be found with
>
> >http://cakephp.org/search?q=appcontroller
>
> > HTH
>
> > Sam D
>
> > On 1/25/07, kabturek <[EMAIL PROTECTED]> wrote:
>
> > > Hi
> > > On Jan 25, 6:58 am, "lukemack" <[EMAIL PROTECTED]> wrote:
> > > > thanks guys - i resolved it by adding the helpers in
> > > > cake\app_controller.php. what would be the point of having this in the
> > > > \app folder? does it override the default one?
>
> > > You shouldn't edit anything in the /cake folder - these are the core
> > > libs and when upgrading to newer version your changes will be
> > > overwritten.
> > > Copy the app_controller to the /app and edit it there - it will have
> > > the same effect.
>
> > > greets,--
> > ==
> > S. DeVore
> > (the old fart) the advice is free, the lack of crankiness will cost you


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to