Hi,

I have been trying to debug this for ages but have come up with a
blank.

The problem I am having is that sometimes when I call admin pages in
my app I get a 500 error, I am doing print_r( $this->params ) in the
beforeFilter.

Sometimes it gives me this:

Array ( [pass] => Array ( ) [named] => Array ( ) [tag] => 500.shtml
[plugin] => [controller] => pages [action] => show [form] => Array ( )
[url] => Array ( [url] => 500.shtml ) [bare] => 0 [webservices]
=> )

and other times it loads fine and gives me this:

Array ( [pass] => Array ( ) [named] => Array ( ) [controller] => users
[action] => admin_list [plugin] => [prefix] => admin [admin] => 1
[form] => Array ( ) [url] => Array ( [url] => admin/users/list )
[bare] => 0 [webservices] => )

I am using the admin param to load a new layout for the admin so
sometimes the admin is just not showing.

If I constantly click refresh it comes up with the 500 error about 50%
of the time.

Any ideas what it could be, or any other ideas on debugging it?

Cheers

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

Reply via email to