Re: Phantom URL

2010-11-15 Thread Jeremy Burns | Class Outfit
Is this the error you'd expect to see if the login fails validation? If so, is 
your code in the login action checking for the presence of data before 
processing it further? If not, the error will fire. Another suggestion is to 
clear the cache.

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
(t) +44 (0) 208 123 3822
(m) +44 (0) 7973 481949
Skype: jeremy_burns
http://www.classoutfit.com

On 15 Nov 2010, at 19:09, Dave Maharaj wrote:

 So I have a site im building for myself so im just building it live on the 
 server. Now no one can login or see anything other than the login screen…I am 
 the only user and I deny everything with Auth (other than login / logout ).
  
 So that being said I was curious to google the site and sure enough site 
 login page comes up yet other results show /password/error/script
  
 Click on that link and I get to a page which has my Opps! Error message in 
 the site layout so its getting the view rendered from Cake. Yet I have no 
 error/script function or page?
  I added a print_r  $this-params[‘controller’] in app_controller to see what 
 controller it was coming from but no clue. Searched for an script.ctp file, 
 nothing.
  
 Another weird thing is I havecore.php  debug set at 0 so the login page does 
 not show the footer cake session / sql but on the password/error/script the 
 full dump is there.
  
 So far I have check routes.php and nothing there. No script.ctp just not sure 
 if there is a bug or simply over looked something. Any ideas would be great 
 to help me track this down.
  
 Dave
 
 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

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


RE: Phantom URL

2010-11-15 Thread Dave Maharaj
I was not expecting anything to show since everything is denied with
redirect to login. If I type in /anything/here it goes to login as expected
it I type in /password/error it goes to login yet password/error/script sits
there with the error message.

 

From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
Sent: November-15-10 4:55 PM
To: cake-php@googlegroups.com
Subject: Re: Phantom URL

 

Is this the error you'd expect to see if the login fails validation? If so,
is your code in the login action checking for the presence of data before
processing it further? If not, the error will fire. Another suggestion is to
clear the cache.





 

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


Re: Phantom URL

2010-11-15 Thread Jeremy Burns | Class Outfit
That's my point. Is it the code behind the login form that is triggering the 
error? So when the login page is opened the code tries to log the user in based 
on the values entered (which are of course empty) and therefore log in is 
failing, even though its the first visit to the page?

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 15 Nov 2010, at 20:50, Dave Maharaj wrote:

 I was not expecting anything to show since everything is denied with redirect 
 to login. If I type in /anything/here it goes to login as expected it I type 
 in /password/error it goes to login yet password/error/script sits there with 
 the error message.
  
 From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
 Sent: November-15-10 4:55 PM
 To: cake-php@googlegroups.com
 Subject: Re: Phantom URL
  
 Is this the error you'd expect to see if the login fails validation? If so, 
 is your code in the login action checking for the presence of data before 
 processing it further? If not, the error will fire. Another suggestion is to 
 clear the cache.
 
 
  
 
 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

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


RE: Phantom URL

2010-11-15 Thread Dave Maharaj
Not sure I follow what you are saying.sorry.

 

No login attempt is being made. Google has indexed this 1 page that shows up
when I search for my site and its an error page that is coming from no
where. There is no access to anything on the site except login. If you play
with the url it all directs to login except the /password/error/script. It
shows an error page with full debug dump yet the site is set at debug 0.

 

That's where I am lost.

 

Thanks,

 

Dave

 

From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
Sent: November-15-10 5:24 PM
To: cake-php@googlegroups.com
Subject: Re: Phantom URL

 

That's my point. Is it the code behind the login form that is triggering the
error? So when the login page is opened the code tries to log the user in
based on the values entered (which are of course empty) and therefore log in
is failing, even though its the first visit to the page?


Jeremy Burns

Class Outfit

 

jeremybu...@classoutfit.com mailto:jeremybu...@mac.com 

http://www.classoutfit.com

 

On 15 Nov 2010, at 20:50, Dave Maharaj wrote:





I was not expecting anything to show since everything is denied with
redirect to login. If I type in /anything/here it goes to login as expected
it I type in /password/error it goes to login yet password/error/script sits
there with the error message.

 

From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
Sent: November-15-10 4:55 PM
To: cake-php@googlegroups.com
Subject: Re: Phantom URL

 

Is this the error you'd expect to see if the login fails validation? If so,
is your code in the login action checking for the presence of data before
processing it further? If not, the error will fire. Another suggestion is to
clear the cache.






 

 

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

 

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

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


Re: Phantom URL

2010-11-15 Thread Jeremy Burns | Class Outfit
So you haven't programmed your Opps! Error message... in anywhere?

Jeremy Burns
Class Outfit

jeremybu...@classoutfit.com
http://www.classoutfit.com

On 15 Nov 2010, at 21:34, Dave Maharaj wrote:

 Not sure I follow what you are saying…sorry.
  
 No login attempt is being made. Google has indexed this 1 page that shows up 
 when I search for my site and its an error page that is coming from no where. 
 There is no access to anything on the site except login. If you play with the 
 url it all directs to login except the /password/error/script. It shows an 
 error page with full debug dump yet the site is set at debug 0.
  
 That’s where I am lost.
  
 Thanks,
  
 Dave
  
 From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
 Sent: November-15-10 5:24 PM
 To: cake-php@googlegroups.com
 Subject: Re: Phantom URL
  
 That's my point. Is it the code behind the login form that is triggering the 
 error? So when the login page is opened the code tries to log the user in 
 based on the values entered (which are of course empty) and therefore log in 
 is failing, even though its the first visit to the page?
 
 Jeremy Burns
 Class Outfit
  
 jeremybu...@classoutfit.com
 http://www.classoutfit.com
  
 On 15 Nov 2010, at 20:50, Dave Maharaj wrote:
 
 
 I was not expecting anything to show since everything is denied with redirect 
 to login. If I type in /anything/here it goes to login as expected it I type 
 in /password/error it goes to login yet password/error/script sits there with 
 the error message.
  
 From: Jeremy Burns | Class Outfit [mailto:jeremybu...@classoutfit.com] 
 Sent: November-15-10 4:55 PM
 To: cake-php@googlegroups.com
 Subject: Re: Phantom URL
  
 Is this the error you'd expect to see if the login fails validation? If so, 
 is your code in the login action checking for the presence of data before 
 processing it further? If not, the error will fire. Another suggestion is to 
 clear the cache.
 
 
 
  
  
 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
  
 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
 
 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

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


RE: Phantom URL

2010-11-15 Thread Dave Maharaj
No that is me.I just tossed that into missing controller error page.

. But why is an error showing when the only thing allowed is login. And the
debug thing too. That's what puzzles me.

 

 

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


Re: Phantom URL

2010-11-15 Thread cricket
On Mon, Nov 15, 2010 at 4:41 PM, Dave Maharaj m...@davemaharaj.com wrote:
 No that is me…I just tossed that into missing controller error page.

 . But why is an error showing when the only thing allowed is login. And the
 debug thing too. That’s what puzzles me.

Seeing an error view has nothing to do with being logged in or not.
And this is a bit confusing because you've said both that you did, and
you did not create your own error page.

That said, perhaps you should empty your cache.

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


RE: Phantom URL

2010-11-15 Thread Dave Maharaj
Ok to clarify  I put the Opps! Message in the standard missing
controller.ctp error folder. 
I have not made a custom error handler or setup any cake error directs or
anything like that. 

So this is what I did step by step,
I am not logged. Not even attempting to login, not even going to login page.
I just search my site on google and there are are 2 links there 
1 = login 
2 = password/error/script

So someone can click on that 2nd link to get an error page all fine and
dandy but if auth is denying every page except login how can anyone even see
this page or get indexed? And if debug is set to 0 (I did a find thru the
whole site and no places have Config::write('debug' , other value) why am I
seeing the full dump at the bottom.

I can type in the address bar /asdfasdf/asdfsf/asdfasf/asdfasf and presto
redirected to login, type in /password sent to login so no error Opps!
message just directed to login as Auth is set to do...but type in
password/error/script and error page display with Opps!. Everything
redirects to login if you play with the url and type in anything except
password/error/script that is the only page that does not send you the login
page.

-Original Message-
From: cricket [mailto:zijn.digi...@gmail.com] 
Sent: November-15-10 7:43 PM
To: cake-php@googlegroups.com
Subject: Re: Phantom URL

On Mon, Nov 15, 2010 at 4:41 PM, Dave Maharaj m...@davemaharaj.com wrote:
 No that is me.I just tossed that into missing controller error page.

 . But why is an error showing when the only thing allowed is login. And
the
 debug thing too. That's what puzzles me.

Seeing an error view has nothing to do with being logged in or not.
And this is a bit confusing because you've said both that you did, and
you did not create your own error page.

That said, perhaps you should empty your cache.

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

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