Help me please
I’m using Yii and SQL Server 2008 for my project.
After update Yii 1.1.7 to 1.1.8 yesterday, and now my Model can’t get LastInsertId? Why?
Before updated its running normally.
Thanks,
Help me please
I’m using Yii and SQL Server 2008 for my project.
After update Yii 1.1.7 to 1.1.8 yesterday, and now my Model can’t get LastInsertId? Why?
Before updated its running normally.
Thanks,
Try to revert back to 1.1.7. If it will fix the problem, then it’s a bug and it should be reported to http://code.google.com/p/yii/issues/list along with example of the code you’re using.
Ok, thanks for replay. I’ll submit a report to yii issues.
Do you have emulatePrepare set in your db config?
If you have, remove it.
Just a wild ‘thought’
No, i have remove emulatePrepare from my config.