Open nickGermi opened 11 years ago
Use the migrations to setup the database. see also https://github.com/mishamx/yii-user/blob/master/migrations/m110810_162301_userTimestampFix.php
I tried to install it that way at first but received the error 'migration directory doesn't exist', could investigate but chose to install it manually since it's a new yii project.
Noticed some typos in the code too, file: protected/modules/user/controllers/LoginController.php lastVisit(); is misspelled at some places.
Also, I believe ajax validation hasn't been implemented in the code I had to edit above mentioned file to get back JSON response even though my form had ajaxvalidation set to true
Thanks,
For the first part of your last comment, make sure to use the migrate functionality with the yiic created inside your application, and not the one inside the framework folder. That should should.
Just noticed while the mysql database scheme contains
lastvisit
column, all the references to this column are aslastvisit_at
.Changing the column name in database fixes the problem.