Re: 1.2 to 1.3: Auth component: login does not work anymore

2010-10-23 Thread visskiss
I got around by replacing this $this->Cookie->delete('Auth.User'); with this if ($this->Cookie->read('Auth.User')) $this->Cookie->delete('Auth.User'); I only got the error on one server and not another, nothing to do with error_reporting in php... On Sep 23, 1:

Re: Routes Regex problem

2009-04-16 Thread visskiss
Well, I have stumbled upon something I didn't think of. By realizing that cake goes through routes in order, I simply forward the 'exceptional' routes to their proper place (controller/action) and then leave all the rest '/*' to the appropriate single controller What say all? --~--~

Routes Regex problem

2009-04-16 Thread visskiss
Good day to you all, I have tried to solve this and it's killing me. My site is working well, but I am trying to perfect the URL's to optimize for search. The short question: Doe anybody know how to get the routes regex working so that all queries EXCEPT those in a given list (say, all queries

Re: Validate rule: multiple (CookBook -> 4.1.4.17 Multiple)

2009-03-10 Thread visskiss
Hey Paul, I'm trying this >     var $validate = array( >       'Role' => array( >         'rule' => array('multiple', array('min'=>1)), >         'message' => 'Select one or more roles' >       ) >     ); And it's not checking to see that at least one box is checked. Any ideas? In my case it's