Hi,

I have two elements (short menus) set to appear in the default layout
based upon the group ID of the current user.  If $Auth['User']
['group_id']==1 then menu 1 appears,if $Auth['User']['group_id']==2
then menu 2 appears.  This works just fine, except when I encounter a
404 type error.  When redirected to the default CakePHP error page I
encounter an "Undefined variable: Auth" error and both menus appear.
I can't quite work out why this page wouldn't have access to the $Auth
variable.  I'm using the default error handling in Cakephp, no custom
views etc at this stage.  Am I missing something fundamental here?

TIA for any sage advice.

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 [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?hl=en

Reply via email to