Log message #1109613

# At Username Text
# Oct 22nd 2009, 08:26 odegard Phally, yes, it's a hash problem. add doesn't hash on insert. All views are scaffolded, how can I make add in usersController hash password on reg?
# Oct 22nd 2009, 08:25 PhpNut oh ok
# Oct 22nd 2009, 08:25 ajushi thanks!
# Oct 22nd 2009, 08:25 ajushi Phally: ok man, it's awesome :D
# Oct 22nd 2009, 08:24 Ceeram oh yeah markstory explained that mb_strrpos would be defined by cake, didnt know that
# Oct 22nd 2009, 08:24 PhpNut Ceeram "Don't understand why PHP functions are tested even"
# Oct 22nd 2009, 08:24 Phally ajushi: it works a bit different then a normal find so pay attention ;)
# Oct 22nd 2009, 08:24 PhpNut Ceeram I meant the rest of your ticket question
# Oct 22nd 2009, 08:24 ajushi find('neighbors') is cool! :D
# Oct 22nd 2009, 08:24 PhpNut Ceeram you will notice that a few test will not pass and I commented them out
# Oct 22nd 2009, 08:24 Ceeram it just doesnt take the offset
# Oct 22nd 2009, 08:24 Ceeram it is compiled
# Oct 22nd 2009, 08:23 PhpNut patch is fine, the php functions are testing that multibyte works properly if not compiled Ceeram
# Oct 22nd 2009, 08:23 Phally odegard: well look at the query and check if it matches what is in your database.. if not, and you are sure you typed the same, then they are hashed differently
# Oct 22nd 2009, 08:23 ajushi Phally: ok i'll check it out, but can't i use the paginator helper or it's not applicable on my situation?
# Oct 22nd 2009, 08:22 Lemon_BE or have an IDE that can intreped cakephp's structure
# Oct 22nd 2009, 08:22 odegard Phally, are you thinking it might be a hashing error? Can you teach me how to debug?
# Oct 22nd 2009, 08:22 Phally ajushi: use find neighbors?
# Oct 22nd 2009, 08:22 ADmad Lemon_BE: php should have "Did you mean:" like google :)
# Oct 22nd 2009, 08:21 Ceeram ok
# Oct 22nd 2009, 08:21 PhpNut Ceeram ok I see what you are saying now
# Oct 22nd 2009, 08:21 odegard login.ctp? it's via form helper
# Oct 22nd 2009, 08:21 Ceeram it takes the offset as encoding param
# Oct 22nd 2009, 08:21 ajushi hi, how do i set pagination on a single view page? i mean when viewing a single entry i want to see previous and next at the bottom
# Oct 22nd 2009, 08:21 Ceeram 5 fails and 5 php errors
# Oct 22nd 2009, 08:21 Phally odegard: how did you insert your password?
# Oct 22nd 2009, 08:21 Ceeram PhpNut: http://bin.cakephp.org/view/2124391032
# Oct 22nd 2009, 08:20 odegard I get a "Login failed. Invalid username or password" no matter what I do. I've reduced the code to the minimum described in the cookbook. Any tips?
# Oct 22nd 2009, 08:20 Ceeram ~bin
# Oct 22nd 2009, 08:19 Ceeram they fail, and give error
# Oct 22nd 2009, 08:19 Lemon_BE stupid spelling mistakes
# Oct 22nd 2009, 08:19 Ceeram offset was used in 5 tests of the testcase
# Oct 22nd 2009, 08:19 Lemon_BE $this->CalibationProfile->contain(array('MeasuringDevice'));
# Oct 22nd 2009, 08:19 Lemon_BE i hate these bugs:
# Oct 22nd 2009, 08:18 Ceeram php.net: 5.2.0 Added the optional parameter offset .
# Oct 22nd 2009, 08:17 Ceeram run them on 5.1.2
# Oct 22nd 2009, 08:17 Ceeram it will pass if mb_strrpos is defined by cake or php>=5.2.0
# Oct 22nd 2009, 08:17 PhpNut I wrote the tests too and they work fine
# Oct 22nd 2009, 08:17 Ceeram so cakes core is fine, but the test isnt set up correct
# Oct 22nd 2009, 08:16 ADmad liaogz82: what are you trying to achieve?
# Oct 22nd 2009, 08:16 Ceeram http://code.cakephp.org/tickets/view/194#c483