Re: SSL requestSecure gives blank page

2008-07-18 Thread jhicks

I'm also having this same issue. Please, somebody help! I even
commented out the requireSecure line in my beforeFilter() so that all
I had was the var $components = array('Security') and I still just get
the blank page. I see it after trying to add or update.

On May 22, 5:38 am, "michaelmcandrew (aka Milky Joe)"
<[EMAIL PROTECTED]> wrote:
> Hi there, anyone know what I am doing wrong?
>
> I haveSSLset up on my server, and without using theSecuritycomponent, 
> everything works fine.  I can see both these URLs:
>
> http://www.carbonretirement.com/baskets/directPaymenthttps://www.carbonretirement.com/baskets/directPayment
>
> (You won't be able to see them at the moment because the site is
> password protected but I could give you a password if it would help.
> You can in fact have a look at the certificate if it is any help by
> going to https//www.carbonretirement.com(it redirects to the log in
> page - anyway...)).
>
> I presume that to require this page is served as "https://";, I have to
> add the following to my controller:
>
> var $components = array('Security');
>
> function beforeFilter() {
>         $this->Security->requireSecure('directPayment');
>
> }
>
> But when I do, that page comes up blank (without any handy error
> messages).  All I get is some describe queries.
>
> Have tried to strip it down to bare minimum but without luck, which
> makes me think i am doing something wrong.  Any ideas before I carry
> on pullling it apart?
>
> Thanks!
>
> Michael
>
> PS.  My first CakePHP site should be up pretty soon - has been cool to
> use cake.  Cheers!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



SSL requestSecure gives blank page

2008-05-22 Thread michaelmcandrew (aka Milky Joe)

Hi there, anyone know what I am doing wrong?

I have SSL set up on my server, and without using the Security
component, everything works fine.  I can see both these URLs:

http://www.carbonretirement.com/baskets/directPayment
https://www.carbonretirement.com/baskets/directPayment

(You won't be able to see them at the moment because the site is
password protected but I could give you a password if it would help.
You can in fact have a look at the certificate if it is any help by
going to https//www.carbonretirement.com (it redirects to the log in
page - anyway...)).

I presume that to require this page is served as "https://";, I have to
add the following to my controller:

var $components = array('Security');

function beforeFilter() {
$this->Security->requireSecure('directPayment');
}

But when I do, that page comes up blank (without any handy error
messages).  All I get is some describe queries.

Have tried to strip it down to bare minimum but without luck, which
makes me think i am doing something wrong.  Any ideas before I carry
on pullling it apart?

Thanks!

Michael

PS.  My first CakePHP site should be up pretty soon - has been cool to
use cake.  Cheers!
--~--~-~--~~~---~--~~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---