Auth component problem.

2013-10-24 Thread thanat
Hello there,

i have an issue with Auth.redirect  value. 

on my local machine when i do in my view:

debug($this-Session-read('Auth.redirect'));

result is: 'users/register.html'

the same app on remote server gives me this output.  
'users/register.html?url=users%2Fregister.html'

why is the ?url  part appended to the redirect value on remote server ? 
Does it have something to do with remote server config ?

i'm using latest CakePHP 2.4.2

many thank for your help.

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
CakePHP group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to cake-php+unsubscr...@googlegroups.com.
To post to this group, send email to cake-php@googlegroups.com.
Visit this group at http://groups.google.com/group/cake-php.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Cakephp 2.0.5 Auth component problem.

2012-01-22 Thread José Lorenzo
Most probably you have trailing whitespace before of after the php tags in 
your classes. Use the DebugKit whitespace shell to remove them. You may 
also want to change the session settings in core.php, usually setting 
'checkAgent' = false solves some issues.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Cakephp 2.0.5 Auth component problem.

2012-01-17 Thread xparm...@yahoo.com
I made a basic login, authorization script with cakephp 2.0.5 using
Auth component.
When I use Firefox to test the aplication everithing works fine both
on windows WAMP and on a virtualbox lamp (ubuntu).

However when I try to test the aplication with google chrome or
Internet explorer it works only on WAMP.

On Ubuntu LAMP box it dose not work. I like not beeing able to save
the cookie. When I try to login i dose not work and server create a ne
session file every time I try to login. This new sesion creation dose
not happen if I use Firefox an I am also able to see the set up
cookie. I use the latest stable browser  versions.

Please help me out.
It seems like Chrome is not able to set up the cookie right.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: Auth Component problem

2012-01-12 Thread Glauco Custódio
I have followed this tutorial and now it's working!

Thank you.

On 11 jan, 14:14, Tilen Majerle tilen.maje...@gmail.com wrote:
 http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-examp...
 check this
 it was some changes created :)
 --
 Lep pozdrav, Tilen Majerlehttp://majerle.eu

 2012/1/11 Glauco Custódio glauco.custo...@gmail.com







  Hi there, I am migrating my base app from 1.3x to 2.0.5. I have copied
  a lot of my code and I am changing where is necessary...

  Auth component is configured, but it is allowing any username/password
  to log in and message of invalid username is not appearing.

  Link to my code:http://bin.cakephp.org/view/416619310

  Please help me, thank you.

  --
  Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
  Check out the new CakePHP Questions sitehttp://ask.cakephp.organd help
  others with their CakePHP related questions.

  To unsubscribe from this group, send email to
  cake-php+unsubscr...@googlegroups.com For more options, visit this group
  athttp://groups.google.com/group/cake-php

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Auth Component problem

2012-01-11 Thread Glauco Custódio
Hi there, I am migrating my base app from 1.3x to 2.0.5. I have copied
a lot of my code and I am changing where is necessary...

Auth component is configured, but it is allowing any username/password
to log in and message of invalid username is not appearing.

Link to my code: http://bin.cakephp.org/view/416619310

Please help me, thank you.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: Auth Component problem

2012-01-11 Thread Tilen Majerle
http://book.cakephp.org/2.0/en/tutorials-and-examples/blog-auth-example/auth.html
check this
it was some changes created :)
--
Lep pozdrav, Tilen Majerle
http://majerle.eu



2012/1/11 Glauco Custódio glauco.custo...@gmail.com

 Hi there, I am migrating my base app from 1.3x to 2.0.5. I have copied
 a lot of my code and I am changing where is necessary...

 Auth component is configured, but it is allowing any username/password
 to log in and message of invalid username is not appearing.

 Link to my code: http://bin.cakephp.org/view/416619310

 Please help me, thank you.

 --
 Our newest site for the community: CakePHP Video Tutorials
 http://tv.cakephp.org
 Check out the new CakePHP Questions site http://ask.cakephp.org and help
 others with their CakePHP related questions.


 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


-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Auth component problem

2011-11-14 Thread anjith
Hi,

I am using auth component for login, it is working fine when database
table columns are username and password if i use email as column name
even though i specified the fields as below in app_controller.php its
not working in beforeFilter() method.

$this-Auth-Fields = array('username' = 'email', 'password' =
'password');


if i am renaming the column back and removing this line its working
fine..




Regards,
Anjith

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: Auth component problem

2011-11-14 Thread phpMagpie
Which version of Cake you using?

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


Re: Auth component problem

2011-11-14 Thread phpMagpie
$this-Auth-fields = array('username' = 'email', 'password' = 
'password'); // no capital F

HTH, Paul

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


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


auth component problem

2009-07-31 Thread kicaj

I have problem with Auth Component...
In my localhost works perfect, but on web server Auth-user() doesn't
work, it's empty.

Mayby somebody has the same problem, and solutions. I don't know what
can i do yet...
--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-13 Thread cem

I have the same problem I cannot login either. But in your situation
maybe you can de-activate the security component and try again ?


On 13 Haziran, 06:40, Francisco Rivas friva...@gmail.com wrote:
 Yes, It's clear:

 Configure::write('Security.salt', '');

 But I still cannot login.

 There're is something wrong with the code or It's missing something?.

 Thanks for thw answer

 2009/6/12 joshua josh...@gmail.com



  Don't forget to clear the session salt in core.php

      Configure::write('Security.salt', '');

  On Sat, Jun 13, 2009 at 10:33 AM, PanchoRivas friva...@gmail.com wrote:

  Hi all,

  I just started with Auth and I have some problems. I learned about
  Auth in tutorials and it seems very easy but It doesn´t work in my
  application.

  I create a table called 'personas' with the fields 'email' for
  username and 'clave' for password. When I add a new person, the
  password saved with md5 codification.

  My app_controller:

  class AppController extends Controller {

  var $components = array('Auth');

  function beforeFilter(){

                 $this-Auth-userModel = 'Persona';

                 Security::setHash(md5);

                $this-Auth-fields = array('username' = 'email',
  'password' = 'clave');

               $this-Auth-loginAction = array('controller' =
  'personas', 'action' = 'index');

              $this-Auth-allow('index','add');

              $this-Auth-loginRedirect = array('controller' =
  'personas', 'action' = 'display', 'login');

            $this-Auth-logoutRedirect = array('controller' =
  'personas', 'action' = 'logout');

          $this-Auth-loginError = 'El email ingresado o la contraseña
  no son correctos. Por favor, intentalo otra vez.';

                  $this-Auth-authError = 'Para entrar en la zona privada
  tienes que
  autenticarte';

                  $this-Auth-authorize = 'controller';

                  $this-Session-write('Auth.redirect', null);

       }

           function isAuthorized() {
                 return true;
         }
  }

  My personas_controller.php:

  function login()
  {

  }

  function logout() {
                 $this-Session-setFlash(Se ha desconectado
  correctamente);
                 $this-redirect($this-Auth-logout());
  }

  In the views personas, I created a index.ctp:

  ?php // log in

   $session-flash('auth');

   echo $form-create('Persona',array('action'='login'));

   echo $form-input('email',array('label' = 'Email: '));

   echo $form-input('clave',array('label' = 'Password: ','type' =
  'password'));

   echo $form-end('Ingresar!');

  ?

  And I create the view login.ctp but when I tried to login with a
  existing username and password I cannot enter.

  Please I appreciate your help.

  Thanks

  Godbye

  --
  Thanks
  Joshua

 --
 Francisco Rivas Dibán
 BackSpacewww.backspace.cl
--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-13 Thread Francisco Rivas
What do you mean with re-activate the security component?.

Maybe the problem It's in the code.

Thanks.

2009/6/13 cem cbay...@gmail.com


 I have the same problem I cannot login either. But in your situation
 maybe you can de-activate the security component and try again ?


 On 13 Haziran, 06:40, Francisco Rivas friva...@gmail.com wrote:
  Yes, It's clear:
 
  Configure::write('Security.salt', '');
 
  But I still cannot login.
 
  There're is something wrong with the code or It's missing something?.
 
  Thanks for thw answer
 
  2009/6/12 joshua josh...@gmail.com
 
 
 
   Don't forget to clear the session salt in core.php
 
   Configure::write('Security.salt', '');
 
On Sat, Jun 13, 2009 at 10:33 AM, PanchoRivas friva...@gmail.com
 wrote:
 
   Hi all,
 
   I just started with Auth and I have some problems. I learned about
   Auth in tutorials and it seems very easy but It doesn´t work in my
   application.
 
   I create a table called 'personas' with the fields 'email' for
   username and 'clave' for password. When I add a new person, the
   password saved with md5 codification.
 
   My app_controller:
 
   class AppController extends Controller {
 
   var $components = array('Auth');
 
   function beforeFilter(){
 
  $this-Auth-userModel = 'Persona';
 
  Security::setHash(md5);
 
 $this-Auth-fields = array('username' = 'email',
   'password' = 'clave');
 
$this-Auth-loginAction = array('controller' =
   'personas', 'action' = 'index');
 
   $this-Auth-allow('index','add');
 
   $this-Auth-loginRedirect = array('controller' =
   'personas', 'action' = 'display', 'login');
 
 $this-Auth-logoutRedirect = array('controller' =
   'personas', 'action' = 'logout');
 
   $this-Auth-loginError = 'El email ingresado o la contraseña
   no son correctos. Por favor, intentalo otra vez.';
 
   $this-Auth-authError = 'Para entrar en la zona
 privada
   tienes que
   autenticarte';
 
   $this-Auth-authorize = 'controller';
 
   $this-Session-write('Auth.redirect', null);
 
}
 
function isAuthorized() {
  return true;
  }
   }
 
   My personas_controller.php:
 
   function login()
   {
 
   }
 
   function logout() {
  $this-Session-setFlash(Se ha desconectado
   correctamente);
  $this-redirect($this-Auth-logout());
   }
 
   In the views personas, I created a index.ctp:
 
   ?php // log in
 
$session-flash('auth');
 
echo $form-create('Persona',array('action'='login'));
 
echo $form-input('email',array('label' = 'Email: '));
 
echo $form-input('clave',array('label' = 'Password: ','type' =
   'password'));
 
echo $form-end('Ingresar!');
 
   ?
 
   And I create the view login.ctp but when I tried to login with a
   existing username and password I cannot enter.
 
   Please I appreciate your help.
 
   Thanks
 
   Godbye
 
   --
   Thanks
   Joshua
 
  --
  Francisco Rivas Dibán
  BackSpacewww.backspace.cl http://backspacewww.backspace.cl/
  



-- 
Francisco Rivas Dibán
BackSpace
www.backspace.cl

--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-13 Thread Miles J

These should be the urls for the DESTINATION after you login or
logout, not the pages themself:

$this-Auth-loginRedirect = array('controller' =
'personas', 'action' = 'display', 'login');

$this-Auth-logoutRedirect = array('controller' =
'personas', 'action' = 'logout');

Remove these two lines since you arent using it:

$this-Auth-authorize = 'controller';

$this-Session-write('Auth.redirect', null);
--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-13 Thread Francisco Rivas
Hi Miles,

I don't understand about the destination you talking about because I want to
redirect to a page called login.ctp and I understand that after you put your
username and password you automaticaly go to that direction:

$this-Auth-loginRedirect = array('controller' ='personas', 'action' =
'display', 'login');

What url for the destination are?. Is in the controller 'personas'?.

Can you give me an example?

I appreciate your help

Thanks


2009/6/13 Miles J mileswjohn...@gmail.com


 These should be the urls for the DESTINATION after you login or
 logout, not the pages themself:

 $this-Auth-loginRedirect = array('controller' =
 'personas', 'action' = 'display', 'login');

 $this-Auth-logoutRedirect = array('controller' =
 'personas', 'action' = 'logout');

 Remove these two lines since you arent using it:

 $this-Auth-authorize = 'controller';

 $this-Session-write('Auth.redirect', null);
  



-- 
Francisco Rivas Dibán
BackSpace
www.backspace.cl

--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-13 Thread Miles J

$this-Auth-loginRedirect is the page you are redirected to after you
have successfully logged in. If the login page IS NOT the one you put
in $this-Auth-loginRedirect, then disregard this.
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Auth Component Problem

2009-06-12 Thread PanchoRivas

Hi all,

I just started with Auth and I have some problems. I learned about
Auth in tutorials and it seems very easy but It doesn´t work in my
application.

I create a table called 'personas' with the fields 'email' for
username and 'clave' for password. When I add a new person, the
password saved with md5 codification.

My app_controller:

class AppController extends Controller {

var $components = array('Auth');

function beforeFilter(){


$this-Auth-userModel = 'Persona';

Security::setHash(md5);

   $this-Auth-fields = array('username' = 'email',
'password' = 'clave');

  $this-Auth-loginAction = array('controller' =
'personas', 'action' = 'index');

 $this-Auth-allow('index','add');

 $this-Auth-loginRedirect = array('controller' =
'personas', 'action' = 'display', 'login');

   $this-Auth-logoutRedirect = array('controller' =
'personas', 'action' = 'logout');

 $this-Auth-loginError = 'El email ingresado o la contraseña
no son correctos. Por favor, intentalo otra vez.';

 $this-Auth-authError = 'Para entrar en la zona privada 
tienes que
autenticarte';

 $this-Auth-authorize = 'controller';

 $this-Session-write('Auth.redirect', null);

  }

  function isAuthorized() {
return true;
}
}

My personas_controller.php:

function login()
{

}

function logout() {
$this-Session-setFlash(Se ha desconectado correctamente);
$this-redirect($this-Auth-logout());
}

In the views personas, I created a index.ctp:

?php // log in

 $session-flash('auth');

 echo $form-create('Persona',array('action'='login'));

 echo $form-input('email',array('label' = 'Email: '));

 echo $form-input('clave',array('label' = 'Password: ','type' =
'password'));

 echo $form-end('Ingresar!');


?

And I create the view login.ctp but when I tried to login with a
existing username and password I cannot enter.

Please I appreciate your help.

Thanks


Godbye


--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-12 Thread joshua
Don't forget to clear the session salt in core.php

Configure::write('Security.salt', '');


On Sat, Jun 13, 2009 at 10:33 AM, PanchoRivas friva...@gmail.com wrote:


 Hi all,

 I just started with Auth and I have some problems. I learned about
 Auth in tutorials and it seems very easy but It doesn´t work in my
 application.

 I create a table called 'personas' with the fields 'email' for
 username and 'clave' for password. When I add a new person, the
 password saved with md5 codification.

 My app_controller:

 class AppController extends Controller {

 var $components = array('Auth');

 function beforeFilter(){


$this-Auth-userModel = 'Persona';

Security::setHash(md5);

   $this-Auth-fields = array('username' = 'email',
 'password' = 'clave');

  $this-Auth-loginAction = array('controller' =
 'personas', 'action' = 'index');

 $this-Auth-allow('index','add');

 $this-Auth-loginRedirect = array('controller' =
 'personas', 'action' = 'display', 'login');

   $this-Auth-logoutRedirect = array('controller' =
 'personas', 'action' = 'logout');

 $this-Auth-loginError = 'El email ingresado o la contraseña
 no son correctos. Por favor, intentalo otra vez.';

 $this-Auth-authError = 'Para entrar en la zona privada
 tienes que
 autenticarte';

 $this-Auth-authorize = 'controller';

 $this-Session-write('Auth.redirect', null);

  }

  function isAuthorized() {
return true;
}
 }

 My personas_controller.php:

 function login()
 {

 }

 function logout() {
$this-Session-setFlash(Se ha desconectado
 correctamente);
$this-redirect($this-Auth-logout());
 }

 In the views personas, I created a index.ctp:

 ?php // log in

  $session-flash('auth');

  echo $form-create('Persona',array('action'='login'));

  echo $form-input('email',array('label' = 'Email: '));

  echo $form-input('clave',array('label' = 'Password: ','type' =
 'password'));

  echo $form-end('Ingresar!');


 ?

 And I create the view login.ctp but when I tried to login with a
 existing username and password I cannot enter.

 Please I appreciate your help.

 Thanks


 Godbye


 



-- 
Thanks
Joshua

--~--~-~--~~~---~--~~
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: Auth Component Problem

2009-06-12 Thread Francisco Rivas
Yes, It's clear:

Configure::write('Security.salt', '');

But I still cannot login.

There're is something wrong with the code or It's missing something?.

Thanks for thw answer

2009/6/12 joshua josh...@gmail.com

 Don't forget to clear the session salt in core.php

 Configure::write('Security.salt', '');



 On Sat, Jun 13, 2009 at 10:33 AM, PanchoRivas friva...@gmail.com wrote:


 Hi all,

 I just started with Auth and I have some problems. I learned about
 Auth in tutorials and it seems very easy but It doesn´t work in my
 application.

 I create a table called 'personas' with the fields 'email' for
 username and 'clave' for password. When I add a new person, the
 password saved with md5 codification.

 My app_controller:

 class AppController extends Controller {

 var $components = array('Auth');

 function beforeFilter(){


$this-Auth-userModel = 'Persona';

Security::setHash(md5);

   $this-Auth-fields = array('username' = 'email',
 'password' = 'clave');

  $this-Auth-loginAction = array('controller' =
 'personas', 'action' = 'index');

 $this-Auth-allow('index','add');

 $this-Auth-loginRedirect = array('controller' =
 'personas', 'action' = 'display', 'login');

   $this-Auth-logoutRedirect = array('controller' =
 'personas', 'action' = 'logout');

 $this-Auth-loginError = 'El email ingresado o la contraseña
 no son correctos. Por favor, intentalo otra vez.';

 $this-Auth-authError = 'Para entrar en la zona privada
 tienes que
 autenticarte';

 $this-Auth-authorize = 'controller';

 $this-Session-write('Auth.redirect', null);

  }

  function isAuthorized() {
return true;
}
 }

 My personas_controller.php:

 function login()
 {

 }

 function logout() {
$this-Session-setFlash(Se ha desconectado
 correctamente);
$this-redirect($this-Auth-logout());
 }

 In the views personas, I created a index.ctp:

 ?php // log in

  $session-flash('auth');

  echo $form-create('Persona',array('action'='login'));

  echo $form-input('email',array('label' = 'Email: '));

  echo $form-input('clave',array('label' = 'Password: ','type' =
 'password'));

  echo $form-end('Ingresar!');


 ?

 And I create the view login.ctp but when I tried to login with a
 existing username and password I cannot enter.

 Please I appreciate your help.

 Thanks


 Godbye






 --
 Thanks
 Joshua

 



-- 
Francisco Rivas Dibán
BackSpace
www.backspace.cl

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



Auth component problem - Cannot login

2009-03-12 Thread Waylon

I have the Auth component working correctly on my development site
(localhost).

I have a problem when I try to use it on my production server. If I
try to access /users/login, I am sent to a 404 page (my web hosts, not
a CakePHP page).

I have a very simple Auth configuration; I'm using all default values
(as described in the CakePHP 1.2 manual), my database has a username
and password field, and I'm not trying anything tricky. My controller
is called UsersController, my model User, and my view login.ctp. My
login function is empty and my view is a very simple form. All taken
from the 1.2 manual on the Auth component.

Thanks ahead of time for any information.

w

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---