View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
06776Bug reportsComfortUpdatepublic2012-10-25 15:36
Reporterarnaudbore Assigned Toc_schmitz  
PriorityhighSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.00+ 
Summary06776: Error during upgrade 121014 to 121024
Description

During the upgrade processing a php error comes up. Thanks to mdekker in forum session I was able to fix it. All I had to do is to delete:

/limesurvey/application/third_party/tcpdf/extensiontcpdf.php
/limesurvey/application/third_party/tcpdf/mypdf.php

TagsNo tags attached.
Attached Files
php_error_upgrade.txt (3,720 bytes)   
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']).'<br />';
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']).'<br />';
#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
php_error_upgrade.txt (3,720 bytes)   
Bug heat2
Complete LimeSurvey version number (& build)121014
I will donate to the project if issue is resolvedNo
Browser
Database type & versionVer 14.14 Distrib 5.5.25
Server OS (if known)Open Suse
Webserver software & version (if known)apache
PHP VersionPHP5.3.8

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2012-10-25 15:26

administrator   ~21668

Thank you!

c_schmitz

c_schmitz

2012-10-25 15:36

administrator   ~21670

LimeSurvey 2.00+ Build 121025 released - please update.
Make sure that you clean your browser cache after update. If the issue should still persist please re-open this issues and add details how to reproduce.
Thank you.

Issue History

Date Modified Username Field Change
2012-10-25 15:18 arnaudbore New Issue
2012-10-25 15:18 arnaudbore Status new => assigned
2012-10-25 15:18 arnaudbore Assigned To => c_schmitz
2012-10-25 15:18 arnaudbore File Added: php_error_upgrade.txt
2012-10-25 15:26 c_schmitz Note Added: 21668
2012-10-25 15:26 c_schmitz Status assigned => resolved
2012-10-25 15:26 c_schmitz Resolution open => fixed
2012-10-25 15:36 c_schmitz Note Added: 21670
2012-10-25 15:36 c_schmitz Status resolved => closed