/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/libraries/BigData.php(24)
12 /** 13 * This function combines json_encode and echo. 14 * If a stream is passed (or is part of the array) it's content will be 15 * directly streamed instead of reading it into memory first. 16 * Supported flags: 17 * JSON_FORCE_OBJECT 18 * @param array $json 19 * @param int $options Same flags used in JSON_ENCODE. 20 */ 21 public static function json_echo($json, $options = 0) 22 { 23 // Scan array for any streams. 24 $hasStream = array_reduce($json, array('BigData', 'hasStream'), false); 25 26 // If there is no stream we are done. 27 if (!$hasStream) { 28 echo json_encode($json, $options); 29 } else { 30 self::json_echo_data($json, ($options & JSON_FORCE_OBJECT) == JSON_FORCE_OBJECT); 31 } 32 } 33 34 protected static function hasStream(&$result, $item) 35 { 36 if ($result === true) {
| #0 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/libraries/BigData.php(24): array_reduce(array("id" => 1, "result" => "uoQndvTd4P6s3QpZ_ip4qbndx2TQsAOg", "error" => null), array("BigData", "hasStream"), false) 19 * @param int $options Same flags used in JSON_ENCODE. 20 */ 21 public static function json_echo($json, $options = 0) 22 { 23 // Scan array for any streams. 24 $hasStream = array_reduce($json, array('BigData', 'hasStream'), false); 25 26 // If there is no stream we are done. 27 if (!$hasStream) { 28 echo json_encode($json, $options); 29 } else { |
| #1 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/libraries/LSjsonRPCServer.php(64): BigData::json_echo(array("id" => 1, "result" => "uoQndvTd4P6s3QpZ_ip4qbndx2TQsAOg", "error" => null)) 59 60 // output the response 61 if (is_null($request) || !empty($request['id'])) { 62 // notifications don't want response 63 header('content-type: text/javascript'); 64 BigData::json_echo($response); 65 } 66 67 // finish 68 return true; 69 } |
| #2 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/controllers/admin/RemoteControl.php(66): LSjsonRPCServer::handle(remotecontrol_handle) 61 Yii::app()->loadLibrary('LSjsonRPCServer'); 62 if (!isset($_SERVER['CONTENT_TYPE'])) { 63 $serverContentType = explode(';', $_SERVER['HTTP_CONTENT_TYPE']); 64 $_SERVER['CONTENT_TYPE'] = reset($serverContentType); 65 } 66 LSjsonRPCServer::handle($oHandler); 67 } 68 foreach (App()->log->routes as $route) { 69 $route->enabled = $route->enabled && !($route instanceof CWebLogRoute); 70 } 71 Yii::app()->session->destroy(); |
| #3 |
unknown(0): RemoteControl->run()
|
| #4 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/actions/CAction.php(115): ReflectionMethod->invokeArgs(RemoteControl, array()) 110 elseif($param->isDefaultValueAvailable()) 111 $ps[]=$param->getDefaultValue(); 112 else 113 return false; 114 } 115 $method->invokeArgs($object,$ps); 116 return true; 117 } 118 } |
| #5 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/core/SurveyCommonAction.php(83): CAction->runWithParamsInternal(RemoteControl, ReflectionMethod, array()) 78 $oMethod = new ReflectionMethod($this, $sDefault); 79 } 80 81 // We're all good to go, let's execute it 82 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 83 return parent::runWithParamsInternal($this, $oMethod, $params); 84 } 85 86 /** 87 * Some functions have different parameters, which are just an alias of the 88 * usual parameters we're getting in the url. This function just populates |
| #6 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/CController.php(308): SurveyCommonAction->runWithParams(array()) 303 { 304 $priorAction=$this->_action; 305 $this->_action=$action; 306 if($this->beforeAction($action)) 307 { 308 if($action->runWithParams($this->getActionParams())===false) 309 $this->invalidActionParams($action); 310 else 311 $this->afterAction($action); 312 } 313 $this->_action=$priorAction; |
| #7 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/CController.php(286): CController->runAction(RemoteControl) 281 * @see runAction 282 */ 283 public function runActionWithFilters($action,$filters) 284 { 285 if(empty($filters)) 286 $this->runAction($action); 287 else 288 { 289 $priorAction=$this->_action; 290 $this->_action=$action; 291 CFilterChain::create($this,$action,$filters)->run(); |
| #8 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/CController.php(265): CController->runActionWithFilters(RemoteControl, array()) 260 { 261 if(($parent=$this->getModule())===null) 262 $parent=Yii::app(); 263 if($parent->beforeControllerAction($this,$action)) 264 { 265 $this->runActionWithFilters($action,$this->filters()); 266 $parent->afterControllerAction($this,$action); 267 } 268 } 269 else 270 $this->missingAction($actionID); |
| #9 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/application/controllers/AdminController.php(202): CController->run("remotecontrol") 197 } 198 199 $this->runModuleController($action); 200 201 202 return parent::run($action); 203 } 204 205 /** 206 * Starting with LS4, 3rd party developper can extends any of the LimeSurve controllers. 207 * |
| #10 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("remotecontrol") 277 { 278 list($controller,$actionID)=$ca; 279 $oldController=$this->_controller; 280 $this->_controller=$controller; 281 $controller->init(); 282 $controller->run($actionID); 283 $this->_controller=$oldController; 284 } 285 else 286 throw new CHttpException(404,Yii::t('yii','Unable to resolve the request "{route}".', 287 array('{route}'=>$route===''?$this->defaultController:$route))); |
| #11 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/remotecontrol") 136 foreach(array_splice($this->catchAllRequest,1) as $name=>$value) 137 $_GET[$name]=$value; 138 } 139 else 140 $route=$this->getUrlManager()->parseUrl($this->getRequest()); 141 $this->runController($route); 142 } 143 144 /** 145 * Registers the core application components. 146 * This method overrides the parent implementation by registering additional core components. |
| #12 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/framework/base/CApplication.php(185): CWebApplication->processRequest() 180 public function run() 181 { 182 if($this->hasEventHandler('onBeginRequest')) 183 $this->onBeginRequest(new CEvent($this)); 184 register_shutdown_function(array($this,'end'),0,false); 185 $this->processRequest(); 186 if($this->hasEventHandler('onEndRequest')) 187 $this->onEndRequest(new CEvent($this)); 188 } 189 190 /** |
| #13 |
+
–
/home/u552477061/domains/vgqst.com/public_html/limesurvey/index.php(192): CApplication->run() 187 require_once APPPATH . 'core/LSYii_Application' . EXT; 188 189 $config = require_once(APPPATH . 'config/internal' . EXT); 190 191 Yii::$enableIncludePath = false; 192 Yii::createApplication('LSYii_Application', $config)->run(); 193 194 /* End of file index.php */ 195 /* Location: ./index.php */ |