Yii Framework Forum: Chapter 7 , Create New User - Yii Framework Forum

Jump to content

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

Chapter 7 , Create New User

#1 User is offline   doodler 

  • Newbie
  • Yii
  • Group: Members
  • Posts: 17
  • Joined: 16-May 13

Posted 18 May 2013 - 04:23 AM

In Chapter 7 it ​​is shown how to create a new user, but when I enter the data required form error appears:
Please Fix the Following input errors:
Create User must be integer year.
Update User must be integer year.


What should I do?
0

#2 User is offline   yugene 

  • Advanced Member
  • PipPipPip
  • Yii
  • Group: Members
  • Posts: 513
  • Joined: 08-August 09

Posted 19 May 2013 - 01:46 AM

You should check and fix validations at method rules(), I believe it resides at User model in your case.
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