View Issue Details

This issue affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
07704Bug reportsComfortUpdatepublic2013-03-26 11:06
Reporterdurangod Assigned Toc_schmitz  
PriorityhighSeverityblock 
Status closedResolutionunable to reproduce 
Summary07704: update to the new version crashed
Description

while processing step 4 of the comfort update i got the follow error page..

PHP notice

Undefined variable: new_files

/home/duran6/public_html/consumersurvey/application/views/admin/update/step4.php(18)

06 if (!isset( Yii::app()->session['updateinfo']))
07 {
08 $clang->eT('On requesting the update information from limesurvey.org there has been an error:').'
';
09 if ($updateinfo['error']==1)
10 {
11 $clang->eT('Your update key is invalid and was removed. ').'
';
12 }
13 else
14 $clang->eT('On requesting the update information from limesurvey.org there has been an error:').'
';
15 }
16
17 if ($new_files)
18 {
19 $clang->eT('New files were successfully installed.');
20 }
21 else
22 {
23 $clang->eT('There was a problem downloading the update file. Please try to restart the update process.');
24 }
25 ?>
26

27 <?php
28 if (!$downloaderror)
29 {
30 echo sprintf($clang->gT('Buildnumber was successfully updated to %s.'),Yii::app()->session['updateinfo']['toversion']).'
';

Stack Trace

#0

+

/home/duran6/public_html/consumersurvey/framework/web/CBaseController.php(127): require("/home/duran6/public_html/consumersurvey/application/views/admin/...")

#1

+

/home/duran6/public_html/consumersurvey/framework/web/CBaseController.php(96): CBaseController->renderInternal("/home/duran6/public_html/consumersurvey/application/views/admin/...", array("clang" => Limesurvey_lang, "display" => array("menu_bars" => false), "sImageURL" => "/consumersurvey/styles/blobblueish/images/"), true)

#2

+

/home/duran6/public_html/consumersurvey/framework/web/CController.php(870): CBaseController->renderFile("/home/duran6/public_html/consumersurvey/application/views/admin/...", array("clang" => Limesurvey_lang, "display" => array("menu_bars" => false), "sImageURL" => "/consumersurvey/styles/blobblueish/images/"), true)

#3

+

/home/duran6/public_html/consumersurvey/framework/web/CController.php(783): CController->renderPartial("/admin/update/step4", array("clang" => Limesurvey_lang, "display" => array("menu_bars" => false), "sImageURL" => "/consumersurvey/styles/blobblueish/images/"), true)

#4

–
/home/duran6/public_html/consumersurvey/application/core/Survey_Common_Action.php(286): CController->render("/admin/update/step4", array("clang" => Limesurvey_lang, "display" => array("menu_bars" => false), "sImageURL" => "/consumersurvey/styles/blobblueish/images/"))
281 {
282 if (empty($sViewKey) || !in_array($sViewKey, array('message', 'output')))
283 {
284 if (is_numeric($sViewKey))
285 {
286 Yii::app()->getController()->render($sViewPath . $viewUrl, $aData);
287 }
288 elseif (is_array($viewUrl))
289 {
290 foreach ($viewUrl as $aSubData)
291 {

#5

–
/home/duran6/public_html/consumersurvey/application/controllers/admin/update.php(573): Survey_Common_Action->_renderWrappedTemplate("update", "step4", array("clang" => Limesurvey_lang, "display" => array("menu_bars" => false)))
568
569
@param string $sAction Current action, the folder to fetch views from
570 @param string|array $aViewUrls View url(s)
571
@param array $aData Data to be passed on. Optional.
572 */
573 protected function _renderWrappedTemplate($sAction = 'update', $aViewUrls = array(), $aData = array())
574 {
575 $aData['display']['menu_bars'] = false;
576 parent::_renderWrappedTemplate($sAction, $aViewUrls, $aData);
577 }
578

#6

–
/home/duran6/public_html/consumersurvey/application/controllers/admin/update.php(428): update->_renderWrappedTemplate("update", "step4", array("clang" => Limesurvey_lang))
423 setGlobalSetting('updateavailable','0');
424 setGlobalSetting('updatebuild','');
425 setGlobalSetting('updateversion','');
426 // We create this new language object here because the language files might have been overwritten earlier
427 // and the pointers to the file from the application language are not valid anymore
428 $aLanguage = new Limesurvey_lang(Yii::app()->session['adminlang']);
429 $aData['clang'] = $aLanguage;
430
431 $this->_renderWrappedTemplate('update', 'step4', $aData);
432 }
433

#7

unknown(0): update->step4()

#8

+

/home/duran6/public_html/consumersurvey/framework/web/actions/CAction.php(107): ReflectionMethod->invokeArgs(update, array())

#9

+

/home/duran6/public_html/consumersurvey/application/core/Survey_Common_Action.php(100): CAction->runWithParamsInternal(update, ReflectionMethod, array("sa" => "step4"))

#10

+

/home/duran6/public_html/consumersurvey/framework/web/CController.php(309): Survey_Common_Action->runWithParams(array("sa" => "step4"))

#11

+

/home/duran6/public_html/consumersurvey/framework/web/CController.php(287): CController->runAction(update)

#12

+

/home/duran6/public_html/consumersurvey/framework/web/CController.php(266): CController->runActionWithFilters(update, array())

#13

+

/home/duran6/public_html/consumersurvey/application/controllers/AdminController.php(169): CController->run("update")

#14

+

/home/duran6/public_html/consumersurvey/framework/web/CWebApplication.php(276): AdminController->run("update")

#15

+

/home/duran6/public_html/consumersurvey/framework/web/CWebApplication.php(135): CWebApplication->runController("admin/update/sa/step4")

#16

+

/home/duran6/public_html/consumersurvey/framework/base/CApplication.php(162): CWebApplication->processRequest()

#17

+

/home/duran6/public_html/consumersurvey/index.php(178): CApplication->run()

2013-03-25 09:27:06 Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4 PHP/5.3.15 mod_perl/2.0.6 Perl/v5.8.8 Yii Framework/1.1.10

Steps To Reproduce

update to new version step 4

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)130325
I will donate to the project if issue is resolvedNo
BrowserIE
Database type & versionmysql 5.1.66
Server OS (if known) linux
Webserver software & version (if known)apache 2.2.22
PHP Version5.3.15
Git branch / Pull Request URL

Users monitoring this issue

There are no users monitoring this issue.

Activities

c_schmitz

c_schmitz

2013-03-26 11:06

administrator   ~24870

I think the issue results from an incomplete past update and I cannot reproduce it here. Please update manually - after that the issue should be gone for future updates.

Issue History

Date Modified Username Field Change
2013-03-25 16:40 durangod New Issue
2013-03-25 16:40 durangod Status new => assigned
2013-03-25 16:40 durangod Assigned To => c_schmitz
2013-03-26 11:06 c_schmitz Note Added: 24870
2013-03-26 11:06 c_schmitz Status assigned => closed
2013-03-26 11:06 c_schmitz Resolution open => unable to reproduce