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.
#9
+
 /home/rajast7/public_html/indialife/protected/views/business/view.php(163): CActiveRecord->findByPk("3838")
158                                     <?php foreach($model->reviews as $review){ ?>
159                                         <!-- First Comment -->
160                                         <div class="row">
161                                             <div class="col-md-3 col-sm-3 hidden-xs">
162                                                 <div class="user-pic">
163                                                     <?php $user = User::model()->findByPK($review['user_id']);
164                                                     if($user->profile_photo != '')
165                                                         echo CHtml::image('http://indialife.com/indialife/index.php/typeImages/resized/99x100/'.$user->profile_photo,"INDIAlife",array("class"=>"img-responsive"));
166                                                     else if($user->gender == 'F')
167                                                         echo CHtml::image('http://indialife.com/indialife/index.php/typeImages/resized/99x100/images/users/defimg-f.gif',"INDIAlife",array("class"=>"img-responsive"));
168                                                     else
#14
+
 /home/rajast7/public_html/indialife/protected/controllers/BusinessController.php(71): CController->render("view", array("model" => Business))
66      * @param integer $id the ID of the model to be displayed
67      */
68     public function actionView($id)
69     {
70         $this->render('view',array(
71             'model'=>$this->loadModel($id),            
72         ));
73     }
74     
75     public function actionBusinessDetails($id)
76     {
2024-03-28 18:23:49 Apache Yii Framework/1.1.17