Can you post all your code using the cakebin ?
2 things :
-Don't touch the core else nobody can help you.(Apart for
playing/understanding it, but dev should be made with a vanillia version)
-Its probably not a bug, i've also some code with a custom helper in my
layout.
olivvv
modfather wrote:
> I wanted to add a customer helper to my layout file. I would get the
> Fatal error: Call to a member function on a non-object in etc, i
> registered the helper in the app_controller file via $helpers =
> array('link'); also tried $helpers = array('Link');- still got fatal
> error.I then added the customer helper to core "controller.php"(line
> 86) file, specifically var $helpers = array('Html','Link'); - now i can
> access the custom helper in the layout - so i can only conclude that
> helpers are not being registered/recognised in the AppController file.
> I am using PHP Version 4.4.2 and cake version 1.0.1.2708.
>
>
> >
>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---