phpauthenticationyiihybridauthyii-modules

Yii hybridauth fails including "User.php"


I'm trying to set up hybridAuth module for Yii. I did everything exactly as told in http://www.yiiframework.com/extension/hybridauth/ . Also did set up googles key ans secret. Trying to sign-in with Google the DefaultController tries to create a new User object but fails in Yiibase.php trying to include User.php (427). I'm using latest 1.1.14 Yii framework. The yii project is brand new and stock (I mean I haven't screwed up any standard components).

Thanks and let me know if I can get you guys any further information.


Solution

  • It doesn't needs the user extension. It's trying to access the User model, wich probably does not exists. Create a user table and the correspondig model to get it working.

    As an alternative you can follow this wiki and do the integration yourself.