Hi there,
I have a strange problem and don’t know where or what for to look for.
When I run my Yii application on a new serwer I’m getting empty page right after user login (Firefox shows blank page, Chrome reports ERR_EMPTY_RESPONSE).
I’ve found out that problem lies in the line:
$user = Users::model()->find( 'LOGN=?', array( $username ) );
of authenticate() function of class UserIdentity declared in UserIdentity.php in protected/components.
I’ve also found out that source of this problem is that there was application installed on a new server, but now database preparation was done.
My question is, why there is no exception in situation like that and how can I catch situation like that to display any message to user to inform him with anything except a blank, empty page?
Thanks and Cheers,