Hi guys, I always having this kind of error:
CDbDataReader and its behaviors do not have a method or closure named "queryAll".
throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
I don't know where did I went wrong?
What is the possible issue here? Thanks.
Page 1 of 1
How To Fix Cexception?
#2
Posted 01 October 2012 - 03:06 AM
ehmhuge, on 01 October 2012 - 01:07 AM, said:
Hi guys, I always having this kind of error:
CDbDataReader and its behaviors do not have a method or closure named "queryAll".
throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
I don't know where did I went wrong?
What is the possible issue here? Thanks.
CDbDataReader and its behaviors do not have a method or closure named "queryAll".
throw new CException(Yii::t('yii','{class} and its behaviors do not have a method or closure named "{name}".',
I don't know where did I went wrong?
What is the possible issue here? Thanks.
CDbDataReader doesn't have queryAll method you should use readAll
queryAll is a method of CDbCommand
for complete details read this documentation
Share this topic:
Page 1 of 1

Help













