I am trying to use one script, but I am getting this problem. I have replaced the older yii framework with the latest one from internet. But the result is same. Here is the message I get when I try to run the script:
findAll(‘setting_show_in_admin = 1’); if(!empty($settings)){ foreach ($settings as $k){ if(!defined($k->setting_name)){ define($k->setting_name, $k->setting_value); } } } Yii::app()->name = APP_NAME; Yii::app()->language = APP_LANG; Yii::app()->theme = APP_THEME; } }findAll(‘setting_show_in_admin = 1’); if(!empty($settings)){ foreach ($settings as $k){ if(!defined($k->setting_name)){ define($k->setting_name, $k->setting_value); } } } Yii::app()->name = APP_NAME; Yii::app()->language = APP_LANG; Yii::app()->theme = APP_THEME; } }
Fatal error: Class ‘DCInit’ not found in E:\xampp\htdocs\dclassifieds\yii\framework\YiiBase.php on line 222
I am attaching the screenshot also.
I haven’t used yii before. Please help me out.