PHP warning unlink(/limesurvey/application/third_party/tcpdf/extensiontcpdf.php): Permission denied .../limesurvey/application/controllers/admin/update.php(369) 357 else 358 { 359 print( $error ); 360 } 361 362 // Now remove all files that are to be deleted according to update process 363 foreach ($updateinfo['files'] as $afile) 364 { 365 if ($afile['type']=='D' && file_exists($rootdir.$afile['file'])) 366 { 367 if (is_file($rootdir.$afile['file'])) 368 { 369 unlink($rootdir.$afile['file']); 370 } 371 else{ 372 rmdirr($rootdir.$afile['file']); 373 } 374 echo sprintf($clang->gT('File deleted: %s'),$afile['file']).'
'; 375 } 376 } 377 378 //Now unzip the new files over the existing ones. 379 $new_files = false; 380 if (file_exists($tempdir.'/update.zip')){ 381 Yii::app()->loadLibrary("admin/pclzip/pclzip"); Stack Trace #0 – .../limesurvey/application/controllers/admin/update.php(369): unlink(".../limesurvey/application/third") 364 { 365 if ($afile['type']=='D' && file_exists($rootdir.$afile['file'])) 366 { 367 if (is_file($rootdir.$afile['file'])) 368 { 369 unlink($rootdir.$afile['file']); 370 } 371 else{ 372 rmdirr($rootdir.$afile['file']); 373 } 374 echo sprintf($clang->gT('File deleted: %s'),$afile['file']).'
'; #1 unknown(0): update->step4() #2 + .../limesurvey/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(update, array()) #3 – .../limesurvey/application/core/Survey_Common_Action.php(82): CAction->runWithParamsInternal(update, ReflectionMethod, array("sa" => "step4")) 77 $oMethod = new ReflectionMethod($this, $sDefault); 78 } 79 80 // We're all good to go, let's execute it 81 // runWithParamsInternal would automatically get the parameters of the method and populate them as required with the params 82 return parent::runWithParamsInternal($this, $oMethod, $params); 83 } 84 85 /** 86 * Some functions have different parameters, which are just an alias of the 87 * usual parameters we're getting in the url. This function just populates #4 + .../limesurvey/framework/web/CController.php(309): Survey_Common_Action->runWithParams(array("sa" => "step4")) #5 + .../limesurvey/framework/web/CController.php(287): CController->runAction(update) #6 + .../limesurvey/framework/web/CController.php(266): CController->runActionWithFilters(update, array()) #7 – .../limesurvey/application/controllers/AdminController.php(158): CController->run("update") 153 Yii::app()->session['redirectopage'] = Yii::app()->request->requestUri; 154 155 $this->redirect($this->createUrl('/admin/authentication/login')); 156 } 157 158 return parent::run($action); 159 } 160 161 /** 162 * Routes all the actions to their respective places 163 * #8 + .../limesurvey/framework/web/CWebApplication.php(276): AdminController->run("update") #9 + .../limesurvey/framework/web/CWebApplication.php(135): CWebApplication->runController("admin/update/sa/step4") #10 + .../limesurvey/framework/base/CApplication.php(162): CWebApplication->processRequest() #11 + .../limesurvey/index.php(178): CApplication->run() 2012-10-24 13:43:40 Apache/2.2.21 (Linux/SUSE) Yii Framework/1.1.10