PHP notice

Undefined index: UpdaterRevision

/var/www/limesurvey/application/controllers/admin/update.php(525)

513             if ($oHTTPRequest->response_status!='200')
514             {
515                 $updateinfo['errorcode']=$oHTTPRequest->response_status;
516                 $updateinfo['errorhtml']=$full_body;
517             }
518         }
519         else
520         {
521             $updateinfo['errorcode']=$error;
522             $updateinfo['errorhtml']=$error;
523         }
524         unset( $oHTTPRequest );
525         if ((int)$updateinfo['UpdaterRevision']<=$buildnumber)
526         {
527             // There is no newer updater version on the server
528             return true;
529         }
530 
531         if (!is_writable($tempdir) || !is_writable(APPPATH.DIRECTORY_SEPARATOR.'controllers'.DIRECTORY_SEPARATOR.'admin'.DIRECTORY_SEPARATOR.'update.php'))
532         {
533             $error=true;
534         }
535 
536         //  Download the zip file, unpack it and replace the updater file accordingly
537         // Create DB and file backups now

Stack Trace

#0
+
 /var/www/limesurvey/application/controllers/admin/update.php(44): update->_RunUpdaterUpdate()
39     * Default Controller Action
40     */
41     function index($sSubAction = null)
42     {
43         updateCheck();
44         $this->_RunUpdaterUpdate();
45         Yii::import('application.libraries.admin.http.httpRequestIt');
46 
47         $clang = $this->getController()->lang;
48         $iCurrentBuildnumber = Yii::app()->getConfig("buildnumber");
49         $tempdir = Yii::app()->getConfig("tempdir");
#2
+
 /var/www/limesurvey/framework/web/actions/CAction.php(108): ReflectionMethod->invokeArgs(update, array(null))
103             elseif($param->isDefaultValueAvailable())
104                 $ps[]=$param->getDefaultValue();
105             else
106                 return false;
107         }
108         $method->invokeArgs($object,$ps);
109         return true;
110     }
111 }
#3
+
 /var/www/limesurvey/application/core/Survey_Common_Action.php(99): CAction->runWithParamsInternal(update, ReflectionMethod, array("build" => "140911", "sa" => "index"))
094             $oMethod = new ReflectionMethod($this, $sDefault);
095         }
096 
097         // We're all good to go, let's execute it
098         // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params
099         return parent::runWithParamsInternal($this, $oMethod, $params);
100     }
101 
102     /**
103     * Some functions have different parameters, which are just an alias of the
104     * usual parameters we're getting in the url. This function just populates
#4
+
 /var/www/limesurvey/framework/web/CController.php(308): Survey_Common_Action->runWithParams(array("build" => "140911", "sa" => "index"))
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;
#5
+
 /var/www/limesurvey/framework/web/CController.php(286): CController->runAction(update)
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();
#7
+
 /var/www/limesurvey/application/controllers/AdminController.php(169): CController->run("update")
164                     $this->redirect(array('/admin/authentication/sa/login'));
165                 }
166                 
167             }
168 
169             return parent::run($action);
170     }
171 
172     /**
173     * Routes all the actions to their respective places
174     *
#8
+
 /var/www/limesurvey/framework/web/CWebApplication.php(282): AdminController->run("update")
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)));
#9
+
 /var/www/limesurvey/framework/web/CWebApplication.php(141): CWebApplication->runController("admin/update/sa/index")
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.
#10
+
 /var/www/limesurvey/framework/base/CApplication.php(180): CWebApplication->processRequest()
175     public function run()
176     {
177         if($this->hasEventHandler('onBeginRequest'))
178             $this->onBeginRequest(new CEvent($this));
179         register_shutdown_function(array($this,'end'),0,false);
180         $this->processRequest();
181         if($this->hasEventHandler('onEndRequest'))
182             $this->onEndRequest(new CEvent($this));
183     }
184 
185     /**
#11
+
 /var/www/limesurvey/index.php(200): CApplication->run()
195         die (sprintf('%s should be writable by the webserver (755 or 775).', $runtimePath));
196     }
197 }
198 
199 
200 Yii::createApplication('LSYii_Application', $config)->run();
201 
202 /* End of file index.php */
203 /* Location: ./index.php */
2014-09-12 10:34:27 Apache/2.4.10 (Debian) PHP/5.6.0-1 mod_python/3.3.1 Python/2.7.8 OpenSSL/1.0.1i mod_perl/2.0.8 Perl/v5.20.0 Yii Framework/1.1.15