Skip to content
Advertisement

Tag: yii-components

Yiimp: CDbException: CDbConnection failed to open the DB connection. error when hasGetInfo is set to false

I’m getting the CDbConnection failed to open the DB connection error. The thing is, my database connection seems to be okay, as evident from the fact that the YIIMP logs display the retrieved values that I print out (see the text in the yiimp-logs/debug.log). I haven’t modified the YIIMP source codes besides adding the debuglog lines. I’m running the server

CListView in Yii Framework

I have started working on yii framework and I am following the yii blog tutorial to learn basics of yii framework in this tutorial they have used a ClistView in posts view but i am getting an exception This is the code that i have used in view file: This is what my PostsController contains: I can’t find out where

Advertisement