Error

Call to undefined function mcrypt_module_get_supported_key_sizes()

/home/rajast7/public_html/yii/framework/YiiBase.php(220)

208             {
209                 unset($args[0]);
210                 $class=new ReflectionClass($type);
211                 // Note: ReflectionClass::newInstanceArgs() is available for PHP 5.1.3+
212                 // $object=$class->newInstanceArgs($args);
213                 $object=call_user_func_array(array($class,'newInstance'),$args);
214             }
215         }
216         else
217             $object=new $type;
218 
219         foreach($config as $key=>$value)
220             $object->$key=$value;
221 
222         return $object;
223     }
224 
225     /**
226      * Imports a class or a directory.
227      *
228      * Importing a class is like including the corresponding class file.
229      * The main difference is that importing a class is much lighter because it only
230      * includes the class file when the class is referenced the first time.
231      *
232      * Importing a directory is equivalent to adding a directory into the PHP include path.

Stack Trace

#5
+
 /home/rajast7/public_html/indialife/protected/models/User.php(113): CApplication->getSecurityManager()
108         $this->password = base64_encode(Yii::app()->getSecurityManager()->encrypt($this->password));
109         return parent::beforeSave();
110     }
111 
112     protected function afterFind() {
113         $this->password = Yii::app()->getSecurityManager()->decrypt(base64_decode($this->password));
114         parent::afterFind();
115     }
116 
117     /**
118      * Retrieves a list of models based on the current search/filter conditions.
#16
+
 /home/rajast7/public_html/indialife/protected/views/user/index.php(19): CBaseController->widget("zii.widgets.CListView", array("dataProvider" => CActiveDataProvider, "itemView" => "_view"))
14 
15 <h1>Users</h1>
16 
17 <?php $this->widget('zii.widgets.CListView', array(
18     'dataProvider'=>$dataProvider,
19     'itemView'=>'_view',
20 )); ?>
#21
+
 /home/rajast7/public_html/indialife/protected/controllers/UserController.php(242): CController->render("index", array("dataProvider" => CActiveDataProvider))
237      */
238     public function actionIndex()
239     {
240         $dataProvider=new CActiveDataProvider('User');
241         $this->render('index',array(
242             'dataProvider'=>$dataProvider,
243         ));
244     }
245 
246     /**
247      * Manages all models.
2024-03-28 13:24:59 Apache Yii Framework/1.1.17