/home/mitcarec/yii/framework/YiiBase.php(399)
387 /** 388 * Class autoload loader. 389 * This method is provided to be invoked within an __autoload() magic method. 390 * @param string $className class name 391 * @return boolean whether the class has been loaded successfully 392 */ 393 public static function autoload($className) 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { 405 if(self::$enableIncludePath===false) 406 { 407 foreach(self::$_includePaths as $path) 408 { 409 $classFile=$path.DIRECTORY_SEPARATOR.$className.'.php'; 410 if(is_file($classFile)) 411 {
#0 |
+
–
/home/mitcarec/yii/framework/YiiBase.php(399): include() 394 { 395 // use include so that the error PHP file may appear 396 if(isset(self::$classMap[$className])) 397 include(self::$classMap[$className]); 398 else if(isset(self::$_coreClasses[$className])) 399 include(YII_PATH.self::$_coreClasses[$className]); 400 else 401 { 402 // include class file relying on include_path 403 if(strpos($className,'\\')===false) // class without namespace 404 { |
#1 |
+
–
/home/mitcarec/yii/framework/YiiBase.php(298): YiiBase::autoload("CMysqlSchema") 293 array('{alias}'=>$namespace))); 294 } 295 296 if(($pos=strrpos($alias,'.'))===false) // a simple class name 297 { 298 if($forceInclude && self::autoload($alias)) 299 self::$_imports[$alias]=$alias; 300 return $alias; 301 } 302 303 $className=(string)substr($alias,$pos+1); |
#2 |
+
–
/home/mitcarec/yii/framework/YiiBase.php(198): YiiBase::import("CMysqlSchema", true) 193 } 194 else 195 throw new CException(Yii::t('yii','Object configuration must be an array containing a "class" element.')); 196 197 if(!class_exists($type,false)) 198 $type=Yii::import($type,true); 199 200 if(($n=func_num_args())>1) 201 { 202 $args=func_get_args(); 203 if($n===2) |
#3 |
+
–
/home/mitcarec/yii/framework/db/CDbConnection.php(510): YiiBase::createComponent(array(), CDbConnection) 505 return $this->_schema; 506 else 507 { 508 $driver=$this->getDriverName(); 509 if(isset($this->driverMap[$driver])) 510 return $this->_schema=Yii::createComponent($this->driverMap[$driver], $this); 511 else 512 throw new CDbException(Yii::t('yii','CDbConnection does not support reading schema for {driver} database.', 513 array('{driver}'=>$driver))); 514 } 515 } |
#4 |
+
–
/home/mitcarec/yii/framework/db/ar/CActiveRecord.php(2262): CDbConnection->getSchema() 2257 public function __construct($model) 2258 { 2259 $this->_model=$model; 2260 2261 $tableName=$model->tableName(); 2262 if(($table=$model->getDbConnection()->getSchema()->getTable($tableName))===null) 2263 throw new CDbException(Yii::t('yii','The table "{table}" for active record class "{class}" cannot be found in the database.', 2264 array('{class}'=>get_class($model),'{table}'=>$tableName))); 2265 if($table->primaryKey===null) 2266 { 2267 $table->primaryKey=$model->primaryKey(); |
#5 |
+
–
/home/mitcarec/yii/framework/db/ar/CActiveRecord.php(383): CActiveRecordMetaData->__construct(Membership) 378 if(isset(self::$_models[$className])) 379 return self::$_models[$className]; 380 else 381 { 382 $model=self::$_models[$className]=new $className(null); 383 $model->_md=new CActiveRecordMetaData($model); 384 $model->attachBehaviors($model->behaviors()); 385 return $model; 386 } 387 } 388 |
#6 |
+
–
/home/mitcarec/protected/euromaster/protected/models/Membership.php(23): CActiveRecord::model("Membership") 18 * @param string $className active record class name. 19 * @return Membership the static model class 20 */ 21 public static function model($className=__CLASS__) 22 { 23 return parent::model($className); 24 } 25 26 /** 27 * @return string the associated database table name 28 */ |
#7 |
+
–
/home/mitcarec/protected/euromaster/protected/views/site/libertypin.php(40): Membership::model() 35 <div class="row"> 36 <?php echo $form->labelEx($model,'pinPrice'); ?> 37 <?php 38 $criteria = new CDbCriteria; 39 $criteria->condition = "membershipFee > 0"; 40 echo $form->dropDownList($model,'pinPrice', CHtml::listData(Membership::model()->findAll($criteria), 'membershipFee', 'membershipName')); ?> 41 <?php echo $form->error($model,'pinPrice'); ?> 42 </div> 43 44 <div class="row"> 45 <?php echo $form->labelEx($model,'email'); ?> |
#8 |
+
–
/home/mitcarec/yii/framework/web/CBaseController.php(127): require("/home/mitcarec/protected/euromaster/protected/views/site/liberty...") 122 $data=$_data_; 123 if($_return_) 124 { 125 ob_start(); 126 ob_implicit_flush(false); 127 require($_viewFile_); 128 return ob_get_clean(); 129 } 130 else 131 require($_viewFile_); 132 } |
#9 |
+
–
/home/mitcarec/yii/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/mitcarec/protected/euromaster/protected/views/site/liberty...", array("model" => LibertyPinForm), true) 091 { 092 $widgetCount=count($this->_widgetStack); 093 if(($renderer=Yii::app()->getViewRenderer())!==null && $renderer->fileExtension==='.'.CFileHelper::getExtension($viewFile)) 094 $content=$renderer->renderFile($this,$viewFile,$data,$return); 095 else 096 $content=$this->renderInternal($viewFile,$data,$return); 097 if(count($this->_widgetStack)===$widgetCount) 098 return $content; 099 else 100 { 101 $widget=end($this->_widgetStack); |
#10 |
+
–
/home/mitcarec/yii/framework/web/CController.php(870): CBaseController->renderFile("/home/mitcarec/protected/euromaster/protected/views/site/liberty...", array("model" => LibertyPinForm), true) 865 */ 866 public function renderPartial($view,$data=null,$return=false,$processOutput=false) 867 { 868 if(($viewFile=$this->getViewFile($view))!==false) 869 { 870 $output=$this->renderFile($viewFile,$data,true); 871 if($processOutput) 872 $output=$this->processOutput($output); 873 if($return) 874 return $output; 875 else |
#11 |
+
–
/home/mitcarec/yii/framework/web/CController.php(783): CController->renderPartial("libertypin", array("model" => LibertyPinForm), true) 778 */ 779 public function render($view,$data=null,$return=false) 780 { 781 if($this->beforeRender($view)) 782 { 783 $output=$this->renderPartial($view,$data,true); 784 if(($layoutFile=$this->getLayoutFile($this->layout))!==false) 785 $output=$this->renderFile($layoutFile,array('content'=>$output),true); 786 787 $this->afterRender($view,$output); 788 |
#12 |
+
–
/home/mitcarec/protected/euromaster/protected/controllers/SiteController.php(272): CController->render("libertypin", array("model" => LibertyPinForm)) 267 { 268 $this->render('libertypinconfirm', array('data'=>array('memberId'=>$model->email, 'amount'=>$model->amount, 'libertyAcc'=>$model->libertyAcc, 'pinPrice'=>$model->pinPrice, 'pins' => $model->pins))); 269 return; 270 } 271 } 272 $this->render('libertypin',array('model'=>$model)); 273 } 274 275 276 public function actionLibertySuccess() 277 { |
#13 |
+
–
/home/mitcarec/yii/framework/web/actions/CInlineAction.php(50): SiteController->actionLibertypin() 45 $controller=$this->getController(); 46 $method=new ReflectionMethod($controller, $methodName); 47 if($method->getNumberOfParameters()>0) 48 return $this->runWithParamsInternal($controller, $method, $params); 49 else 50 return $controller->$methodName(); 51 } 52 53 } |
#14 |
+
–
/home/mitcarec/yii/framework/web/CController.php(309): CInlineAction->runWithParams(array()) 304 { 305 $priorAction=$this->_action; 306 $this->_action=$action; 307 if($this->beforeAction($action)) 308 { 309 if($action->runWithParams($this->getActionParams())===false) 310 $this->invalidActionParams($action); 311 else 312 $this->afterAction($action); 313 } 314 $this->_action=$priorAction; |
#15 |
+
–
/home/mitcarec/yii/framework/web/CController.php(287): CController->runAction(CInlineAction) 282 * @see runAction 283 */ 284 public function runActionWithFilters($action,$filters) 285 { 286 if(empty($filters)) 287 $this->runAction($action); 288 else 289 { 290 $priorAction=$this->_action; 291 $this->_action=$action; 292 CFilterChain::create($this,$action,$filters)->run(); |
#16 |
+
–
/home/mitcarec/yii/framework/web/CController.php(266): CController->runActionWithFilters(CInlineAction, array()) 261 { 262 if(($parent=$this->getModule())===null) 263 $parent=Yii::app(); 264 if($parent->beforeControllerAction($this,$action)) 265 { 266 $this->runActionWithFilters($action,$this->filters()); 267 $parent->afterControllerAction($this,$action); 268 } 269 } 270 else 271 $this->missingAction($actionID); |
#17 |
+
–
/home/mitcarec/yii/framework/web/CWebApplication.php(283): CController->run("libertypin") 278 { 279 list($controller,$actionID)=$ca; 280 $oldController=$this->_controller; 281 $this->_controller=$controller; 282 $controller->init(); 283 $controller->run($actionID); 284 $this->_controller=$oldController; 285 } 286 else 287 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 288 array('{route}'=>$route===''?$this->defaultController:$route))); |
#18 |
+
–
/home/mitcarec/yii/framework/web/CWebApplication.php(142): CWebApplication->runController("site/libertypin") 137 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 138 $_GET[$name]=$value; 139 } 140 else 141 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 142 $this->runController($route); 143 } 144 145 /** 146 * Registers the core application components. 147 * This method overrides the parent implementation by registering additional core components. |
#19 |
+
–
/home/mitcarec/yii/framework/base/CApplication.php(162): CWebApplication->processRequest() 157 */ 158 public function run() 159 { 160 if($this->hasEventHandler('onBeginRequest')) 161 $this->onBeginRequest(new CEvent($this)); 162 $this->processRequest(); 163 if($this->hasEventHandler('onEndRequest')) 164 $this->onEndRequest(new CEvent($this)); 165 } 166 167 /** |
#20 |
+
–
/home/mitcarec/public_html/demo/euromaster/index.php(14): CApplication->run() 09 // specify how many levels of call stack should be shown in each log message 10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3); 11 12 require_once($yii); 13 date_default_timezone_set('Asia/Dhaka'); 14 Yii::createWebApplication($config)->run(); |