You're not including the relevant helpers somewhere, either in the
admin layout or the controller you're calling that gives the error.



On Aug 23, 1:42 pm, hoss7 <hoss...@gmail.com> wrote:
> hi
>
> i have some problem with layout.
>
> i have some user login plugin and i want when admin login
>
> layout ='admin'
>
> but i see this error:
>
> Fatal error: Call to a member function link() on a non-object
> in D:\xampp\htdocs\ird\www\app\views\layouts\admin.ctp on line 7
> and
> Undefined variable: javascript [APP\views\layouts\admin.ctp, line 7]
>
> but my admin layout dont have error i test it with other Controller
> and i can see admin
> layout,but i cant call this layout in this plugin

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+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to