this is my 2nd Yii programming day. I found out that alphanumeric id’s like GUIDs are not supported!? Id’s must be an integer. The admin action is showed, but the view?id=4c5545f2c6c674.70177605 page not. Error 404.
Can I configure alphanumeric Id’s - or am I forced to use auto_increment integers?
The Yii framwork is what lies in the directoty framework.
The autogenerated code is just a sample, feel free to modify anithing you find here. The basic generated code is thought for work with numeric ids, if you are implementing something different, modify your pages accordigly
I have the same issue and no rules() setted at all, neither autogenerated code with (int) binding. So, or it is something I did not, or it’s some imposition of Yii framework I need to overrule. I just didn’t find any doc on this.
I do not use Yii anymore. It is too much effort to change my existing (not finished) application to Yii. Yii is "corsetting" me. BUT I was inspired by Yii. I would use Yii for a new (non business web) app.