Re: [Libki-users] libki admin login part not working
Brought to you by:
kylemhall
From: Headbang <hea...@xs...> - 2009-05-06 15:35:11
|
Hi, Thank you already for the quick response, you might remember me from bothering you with openkiosk quiestions! Just to let you know im really excited about your libki project and couldnt agree more with you that openkiosk is a crappy bunch of code and has a bad maintainer! mysql> select * from logins; +----+----------+------------------------+-------+------------+---------+-------+---------------------+---------+-------+--------------+ | id | username | password | units | status | message | notes | last_accessed | machine | admin | troublemaker | +----+----------+------------------------+-------+------------+---------+-------+---------------------+---------+-------+--------------+ | 0 | admin | UFEi6S6DI8BF1L0qA7giwQ | 30 | Logged out | NULL | NULL | 2009-02-05 13:33:45 | | 1 | 0 | | 1 | headbang | 1B2M2Y8AsgTpgAmY7PhCfg | 30 | Logged Out | NULL | NULL | 2009-02-05 13:33:45 | | 1 | 0 | +----+----------+------------------------+-------+------------+---------+-------+---------------------+---------+-------+--------------+ I inserted the md5 hash the error.log gave me, i was hoping that that would be the problem but it still doesnt work. Could it be a password related problem? Im using the latest git version Welcome to CakePHP v1.2.0.7692 RC3 Console and cake 1.2 When i fill in my credentials it denies me entry and shows only the first letter in the username field and 1 star in password field. Greetings melle > Hello, > > I got the libki server part working at home, but when i started installing > it on a different machine im getting problems with the admin login part. > > Notice (8): Undefined index: Authentication > [APP/controllers/authentications_controller.php, line 19] > > Code > > ## supplied by the user using the form: > > $someone = $this->Authentication->findByUsername( > $this->data['Authentication']['username'] ); > > AuthenticationsController::login() - > APP/controllers/authentications_controller.php, line 19 > Object::dispatchMethod() - CORE/cake/libs/object.php, line 114 > Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259 > Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213 > [main] - APP/webroot/index.php, line 82 > > Notice (8): Undefined index: Authentication > [APP/controllers/authentications_controller.php, line 25] > > Code | Context > > $someone = false > > ## the database. > > $this->log( "Password given by user: " . > $this->data['Authentication']['password'] ); > > AuthenticationsController::login() - > APP/controllers/authentications_controller.php, line 25 > Object::dispatchMethod() - CORE/cake/libs/object.php, line 114 > Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259 > Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213 > [main] - APP/webroot/index.php, line 82 > > Notice (8): Undefined index: Authentication > [APP/controllers/authentications_controller.php, line 26] > > Code | Context > > $someone = false > > > $this->log( "Password given by user: " . > $this->data['Authentication']['password'] ); > $this->log( "Password as md5_base64: " . $this->md5_base64( > $this->data['Authentication']['password'] ) ); > > AuthenticationsController::login() - > APP/controllers/authentications_controller.php, line 26 > Object::dispatchMethod() - CORE/cake/libs/object.php, line 114 > Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 259 > Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 213 > [main] - APP/webroot/index.php, line 82 > > > This is what I get with debug mode on. > Is there anyone who had this problem to? > At home I was running the libki admin part when it used the old cake, > maybe its a migration bug on your side? > > There were also some small errors in the mysql_data file > -- > --Data for table `settings` > -- > > Should have a space i.e. > -- Data for table `settings' > > and > (7, 'next_guest_id', '4', 'The next number to use for the guest id > sequence. e.g. guest1, guest2, etc..'), > (8, 'daily_minutes', '30', 'The number of minutes each user will start > with each day.'), > > > > there was a ; on the end of one of those lines while it should be , > > > Greetings Melle > > > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK > i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Libki-users mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libki-users > |