/home/sensel5/public_html/minddev/mindtest/protected/models/UserSchoolsModel.php(0)
#0 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(217): include() 212 else if(isset(self::$classMap[$className])) 213 include(self::$classMap[$className]); 214 else 215 { 216 if(strpos($className,'\\')===false) 217 include($className.'.php'); 218 else // class name with namespace in PHP 5.3 219 { 220 $namespace=str_replace('\\','.',ltrim($className,'\\')); 221 if(($path=self::getPathOfAlias($namespace))!==false) 222 include($path.'.php'); |
#1 |
unknown(0): YiiBase::autoload("UserSchoolsModel")
|
#2 |
+
–
/home/sensel5/public_html/minddev/mindtest/protected/modules/english/controllers/SchoolController.php(631): spl_autoload_call("UserSchoolsModel") 626 */ 627 public function signup($signupType) { 628 629 $accountSignUpForm = new AccountSignUpForm; 630 $user = new Users; 631 $school = new UserSchoolsModel; 632 633 // Did we submit the form? 634 if(isset($_POST['AccountSignUpForm'])) { 635 636 // collects user input data |
#3 |
+
–
/home/sensel5/public_html/minddev/mindtest/protected/modules/english/controllers/SchoolController.php(614): SchoolController->signup("student") 609 // Anything except 'teacher' is regarded as student 610 if($userType != 'teacher') { 611 $userType = 'student'; 612 } 613 614 $this->signup($userType); 615 616 } 617 618 /** 619 * Process a signup request for a teacer or a student |
#4 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(3603): SchoolController->actionSignup() 3598 throw new CHttpException(400,Yii::t('yii','Your request is invalid.')); 3599 } 3600 $method->invokeArgs($controller,$params); 3601 } 3602 else 3603 $controller->$methodName(); 3604 } 3605 } 3606 class CWebUser extends CApplicationComponent implements IWebUser 3607 { 3608 const FLASH_KEY_PREFIX='Yii.CWebUser.flash.'; |
#5 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(3148): CInlineAction->run() 3143 { 3144 $priorAction=$this->_action; 3145 $this->_action=$action; 3146 if($this->beforeAction($action)) 3147 { 3148 $action->run(); 3149 $this->afterAction($action); 3150 } 3151 $this->_action=$priorAction; 3152 } 3153 public function processOutput($output) |
#6 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(5918): CController->runAction(CInlineAction) 5913 { 5914 $filter=$this->itemAt($this->filterIndex++); 5915 $filter->filter($this); 5916 } 5917 else 5918 $this->controller->runAction($this->action); 5919 } 5920 } 5921 class CFilter extends CComponent implements IFilter 5922 { 5923 public function filter($filterChain) |
#7 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(5927): CFilterChain->run() 5922 { 5923 public function filter($filterChain) 5924 { 5925 if($this->preFilter($filterChain)) 5926 { 5927 $filterChain->run(); 5928 $this->postFilter($filterChain); 5929 } 5930 } 5931 public function init() 5932 { |
#8 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(3500): CFilter->filter(CFilterChain) 3495 } 3496 public function filterAccessControl($filterChain) 3497 { 3498 $filter=new CAccessControlFilter; 3499 $filter->setRules($this->accessRules()); 3500 $filter->filter($filterChain); 3501 } 3502 public function paginate($itemCount,$pageSize=null,$pageVar=null) 3503 { 3504 $pages=new CPagination($itemCount); 3505 if($pageSize!==null) |
#9 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(5960): CController->filterAccessControl(CFilterChain) 5955 array('{filter}'=>$filterName, '{class}'=>get_class($controller)))); 5956 } 5957 public function filter($filterChain) 5958 { 5959 $method='filter'.$this->name; 5960 $filterChain->controller->$method($filterChain); 5961 } 5962 } 5963 class CAccessControlFilter extends CFilter 5964 { 5965 public $message; |
#10 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(5915): CInlineFilter->filter(CFilterChain) 5910 public function run() 5911 { 5912 if($this->offsetExists($this->filterIndex)) 5913 { 5914 $filter=$this->itemAt($this->filterIndex++); 5915 $filter->filter($this); 5916 } 5917 else 5918 $this->controller->runAction($this->action); 5919 } 5920 } |
#11 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(3138): CFilterChain->run() 3133 $this->runAction($action); 3134 else 3135 { 3136 $priorAction=$this->_action; 3137 $this->_action=$action; 3138 CFilterChain::create($this,$action,$filters)->run(); 3139 $this->_action=$priorAction; 3140 } 3141 } 3142 public function runAction($action) 3143 { |
#12 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(3123): CController->runActionWithFilters(CInlineAction, array("accessControl")) 3118 { 3119 if(($parent=$this->getModule())===null) 3120 $parent=Yii::app(); 3121 if($parent->beforeControllerAction($this,$action)) 3122 { 3123 $this->runActionWithFilters($action,$this->filters()); 3124 $parent->afterControllerAction($this,$action); 3125 } 3126 } 3127 else 3128 $this->missingAction($actionID); |
#13 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(1650): CController->run("signup") 1645 { 1646 list($controller,$actionID)=$ca; 1647 $oldController=$this->_controller; 1648 $this->_controller=$controller; 1649 $controller->init(); 1650 $controller->run($actionID); 1651 $this->_controller=$oldController; 1652 } 1653 else 1654 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 1655 array('{route}'=>$route===''?$this->defaultController:$route))); |
#14 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(1538): CWebApplication->runController("english/school/signup/type/student/language/en") 1533 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 1534 $_GET[$name]=$value; 1535 } 1536 else 1537 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 1538 $this->runController($route); 1539 } 1540 protected function registerCoreComponents() 1541 { 1542 parent::registerCoreComponents(); 1543 $components=array( |
#15 |
+
–
/home/sensel5/public_html/minddev/framework/yiilite.php(1102): CWebApplication->processRequest() 1097 } 1098 public function run() 1099 { 1100 if($this->hasEventHandler('onBeginRequest')) 1101 $this->onBeginRequest(new CEvent($this)); 1102 $this->processRequest(); 1103 if($this->hasEventHandler('onEndRequest')) 1104 $this->onEndRequest(new CEvent($this)); 1105 } 1106 public function end($status=0, $exit=true) 1107 { |
#16 |
+
–
/home/sensel5/public_html/minddev/mindtest/index.php(34): CApplication->run() 29 ini_set('display_errors', false); 30 error_reporting(0); 31 } 32 $configFile = (YII_DEBUG === true) ? 'dev.php' : 'production.php'; 33 require_once($yii); 34 Yii::createWebApplication($config . $configFile)->run(); |