I can't get the CakeDC/users plugin (available here: https://github.com/CakeDC/users) to work. Maybe somebody knows why this is happening and can help me figure it out. I'll try to explain it as clearly as possible.
My application consists of a 'Blog' model, 'BlogsController', 'PagesController'. Very simple. I have installed the following plugins, all from CakeDC: categories, migrations, search, tags, users, utils. The users plugin has a User model and a Detail model 'Blog' belongsTo 'Categories.Category'. Later I will add an association with 'Users.User', I just haven't gotten around to it yet. All the views work. I'm using the following components: 'Auth' is set in the app_controller. And 'Session', 'Email', 'Cookie', and 'Search.Prg' are set in the UsersController. I am not using any components in the BlogsController or PagesController yet, these decisions I will make after I can get the users plugin to work. I'm using the following helpers: 'Html', 'Form', 'Session', 'Time', 'Text', 'Utils.Gravatar' I have a beforeFilter method set up in UsersController so that the following actions are allowed: $this->Auth->allow('register', 'reset', 'verify', 'logout', 'login', 'index', 'view', 'reset_password'); Also if action is registered then Auth is not enabled. all the tables for all the plugins were built using migrations I can register no problem. I get the flash message that the user was added and that I will be receiving a confirmation email. I have the email delivery set to debug so the verification link comes on screen. When I plug in the verification link I get the flash message that the email was validated and I get redirected to the login page. When I try to login, I get the error message for failed authentication. I know this because I set the 'loginError' to tell me this. Ok, so when I look in the users table, my user is there, active is set to 1, email_authenticated is 1, tos is 1, passwd is there (40 characters), email address, username, slug, created, modified, all that stuff is correct. the details table returns empty set. On the view page $this->element('sql_dump'); show the following: Nr Query Error Affected Num. rows Took (ms) 1 DESCRIBE `users` 17 17 4 2 DESCRIBE `details` 10 10 4 that's all it shows. I have a feeling this is the problem... the Debug level is set to 2, and outputs to a log file I have my php.ini set to print all error, notices, deprecations, etc to a log file no clues from the logs In the login action I set some variables to see what they contain using Debugger::dump(). The results were: $this->Auth->user() is NULL $this->data['$this->modelClass'] returns an array of all the info I entered in the login form: email,.passwd, remember_me. It also includes 'return_to' which is empty, and 'password' which is NULL $this->data; returns array( 'User' => array() ); I sincerely thank anyone who made it this far and/or can offer any suggestion to help. Jon Lyles 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