I'm still trying to figure out my way around Yii so please forgive me if this is a simple thing to fix. I tried looking for similar problems in past threads but couldn't find anything.
I have recurring CDbException errors while trying to display list and admin tasks from a table. It keeps saying "The table "Call_query" for active record class "Call_query" cannot be found in the database.", while this is how the table is called and spelt. What's annoying is those are not only transient, they're also solved by refreshing the page a couple of times. Trouble is you have to press F5 for every page view so I'm at loss figuring out what is going on.
Not sure how browser caching would affect this. Maybe restart your MySQL instance and delete your cookies/cache on your browser to test. Or use a different browser for testing (i.e. Chrome).
I did a little research on this. I know this is old, but read this http://netevil.org/b…using-pdo-mysql. Not having seen exactly what you’re attempting to do which causes this error, I can’t say exactly what the problem may be. Appears to be centered around LOCK TABLES. Also looks to be a linux-only issue.
Looks like the emulatePrepare may be required, however, to do what you're trying to do.
You might also consider upgrading your MySQL version and client libraries.