Hi,
I'm starting a new application using Yii, and I have a Database with a table called Rules, so, using the Yii shell, I generated the model, and crud operations for Rules.
The problem is that, just by doing this… I should be able to work with it, but when I try to create a "Rule" in Rules, the app let me fill all values in the textfields, but after that, it throws a "Internal Server Error". This error is because after executing the $rules->save(), which returns a 1 (true), application try to show() the recently added record, but it doesn't exists in database.
If I fill the database by hand, I can make updates to any record, but as I said, I cannot create new ones. Also, I have another tables in system, and they work fine with crud operations.
Hope anyone can help me.
Regards,