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
Tag: yii-components
Yii2 Multiple instances of the same model
I want to get multiplie instance of the same model in my controller. I saw this wiki for Yii 1.1 and tried like that but in my code only last instance in form was acceble from controller my code is here (I commented code with error and variable values): It is my form view in _form.php: It is log result
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