Revision #2 has been created by Boaz on Apr 15, 2014, 8:38:49 AM with the memo:
updating Yii version tag
« previous (#1)
Changes
Title
unchanged
Debugging CActiveRecord failed save() attempts
Category
unchanged
Tips
Yii version
unchanged
Tags
unchanged
validation, active record, debug
Content
unchanged
[...]
```php
Yii::log("errors saving SomeModel: " . var_export($someModelObject->getErrors(), true), CLogger::LEVEL_WARNING, __METHOD__);
```
Where $someModelObject is the model you've just tried to save(), and which is of type SomeModel.
Examine you're target output and solve the problem(s).