Yii Framework Forum: yii-user-management errors - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

yii-user-management errors Rate Topic: -----

#1 User is offline   shani1351 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 13
  • Joined: 27-February 11

Posted 09 March 2011 - 08:45 AM

Hello,
I'm trying to install yii-user-management module on the latest yii release but keep getting errors.
When I try to register in index.php?r=user/user/registration I get an error :
"CDbCommand failed to execute the SQL statement: SQLSTATE[HY000]: General error: 1364 Field 'timestamp' doesn't have a default value"
in C:\xampp\htdocs\yii_base\protected\modules\user\models\YumUser.php(132): CActiveRecord->save()
and the user is being added to the DB with status 0.
I've changed the status in the db in order to check other things and saw that if I want to edit my profile in index.php?r=user/user/edit
I get an error :
Fatal error: Call to a member function getErrors() on a non-object in C:\xampp\htdocs\yii-1.1.6.r2877\framework\web\helpers\CHtml.php on line 1566

What should I do to fix those problems?

Thanks
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users