Hey there,
I am having an issue with the Kohana 3 Auth module. Both the Auth and ORM modules are enabled in the bootstrap.php , the sql tables are installed and the DB connection is fine. I have put in application/config/database.php and sessions.php as well as auth.php. When I try to create new users doing this -
$user = ORM::factory('user'); $user->username = 'admin'; $user->email = '[email protected]'; $user->password = 'somepass'; $user->save(); $user->add('roles', ORM::factory('role', array('name' => 'admin'))); $user->add('roles', ORM::factory('role', array('name' => 'login')));
I get a completely white screen. Nothing gets logged, no server log error , the DB table is empty and new user is not created. Tried to dump the $user object - didn't work out either.
Any Ideas?
Thanks!
P.S. This happens both in the distro versions of the modules and in the latest ones i got from github.