Blog tutorial problem: UserIdentity class problem running blog tutorial code - authenticating the user
Posted 25 October 2011 - 11:16 AM
In "Authenticating User" section, I cannot login using UserIdentity code
posted in the tutorial. I get a blank screen.
I'm probably getting a fatal error somewhere but I don't see the error in the apache log file.
When I step the code using the xdebug debugger, the $user object does not seemed to be constructed correctly. I can not step past the line:
When I inspect $user object, I only see the classname with no other attributes.
Below is the UserIdentity class I use (from the blog tutorial).
Does anyone know the cause?
class UserIdentity extends CUserIdentity
public function authenticate()
public function getId()
Posted 05 February 2014 - 07:36 AM
Thanks in advance for the help.
I am also having a problem cannot login as user demo get the following error.
include(CPasswordHelper.php): failed to open stream: No such file or directory
Posted 05 February 2014 - 01:54 PM
@ajzip: What does your application.php log file say? Check that file for any exceptions that are being generated and report back what you find.