Hi Christian,

You know sometimes all it takes is for someone to ask a question and
it all clicks!

We are on site5 and the default is php 4.3.8, I just added AddHandler
application/x-httpd-php5 .php to my .htaccess and I don't seem to be
having the problem any more.

Cheers for responding.

Mike

On Mar 4, 5:18 pm, "Christian Winther" <[EMAIL PROTECTED]> wrote:
> What version of PHP ? And do you use "php_admin_value open_basedir" or other 
> fancy settings in your apache config?
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Mike 
> Digital Egg
> Sent: 4. marts 2008 17:05
> To: Cake PHP
> Subject: Inconsistent page load
>
> 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