Before 8 to 10 days, I have been working with Yii framework in WAMP PHP version 5.2.9.
While working, I had got PDO Mysql Error: Cannot execute queries while other unbuffered queries are active.
To solve the above error, I have searched in the internet, and read that there was some problem while executing pdo mysql related code in php 5.2.9.
So after reading that I have changed my wamp server php version to 5.3.0 and my problem has been solved.
Try it and hope this will help you.