View Issue Details

IDProjectCategoryView StatusLast Update
13011Bug reports[All Projects] ComfortUpdatepublic2018-05-23 13:13
ReporterDenisChenuAssigned ToLouisGac 
PrioritynoneSeverityminor 
Status closedResolutionreopened 
Product Version2.7x.x 
Target VersionFixed in Version 
Summary13011: Unable to update from 2.72.5+171121
DescriptionUsing confort update i encounter 2 issue : one with debug one without debug
Steps To Reproduce1st issue with debug
disk_free_space() : value too large for defined data type
See Capture du 2017-12-14 12-05-36

2nd issue : i deactivate debug relauch confortupdate
and see unknow_destination_build_5

Additional InformationIt's a clean install of 2.72.5+171121
TagsNo tags attached.
Complete LimeSurvey version number (& build)2.72.5+171121
I will donate to the project if issue is resolvedNo
BrowserFirefox57
Database & DB-Versionmysql 5.something
Operating System (Server)Linux for sure
Webserver software & versionnginx i think (OVH)
PHP VersionPHP Version 7.0.23

Activities

DenisChenu

DenisChenu

2017-12-15 00:08

developer  

Capture du 2017-12-14 12-05-36.png (114,318 bytes)
DenisChenu

DenisChenu

2017-12-15 15:07

developer   ~45303

Just tested now with debug=2 , no key at start, then enter a key:
PHP Error [400]

Le jeton CSRF n'a pas pu être vérifié. (/home/ecouteteix/www/ls-devtest/framework/web/CHttpRequest.php:1362)

#0 /home/ecouteteix/www/ls-devtest/framework/base/CErrorHandler.php(131): CErrorHandler->handleException()
#1 /home/ecouteteix/www/ls-devtest/framework/base/CApplication.php(750): CErrorHandler->handle()
#2 unknown(0): LSYii_Application->handleException()

:)
DenisChenu

DenisChenu

2017-12-15 15:08

developer   ~45304

Can not update with debug=2 :
PHP Error [500]

disk_free_space(): Value too large for defined data type (/home/ecouteteix/www/ls-devtest/application/models/UpdateForm.php:884)

#0 /home/ecouteteix/www/ls-devtest/framework/base/CApplication.php(834): CErrorHandler->handle()
#1 unknown(0): LSYii_Application->handleError()
#2 /home/ecouteteix/www/ls-devtest/application/models/UpdateForm.php(884): disk_free_space()
#3 /home/ecouteteix/www/ls-devtest/application/models/UpdateForm.php(904): UpdateForm->_fileSystemCheck()
#4 /home/ecouteteix/www/ls-devtest/application/models/UpdateForm.php(857): UpdateForm->_fileSystemCheckAppath()
#5 /home/ecouteteix/www/ls-devtest/application/models/UpdateForm.php(173): UpdateForm->_getFileSystemCheckList()
#6 /home/ecouteteix/www/ls-devtest/application/controllers/admin/update.php(233): UpdateForm->getLocalChecks()
#7 unknown(0): update->checkLocalErrors()
#8 /home/ecouteteix/www/ls-devtest/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#9 /home/ecouteteix/www/ls-devtest/application/core/Survey_Common_Action.php(86): update->runWithParamsInternal()
#10 /home/ecouteteix/www/ls-devtest/framework/web/CController.php(308): update->runWithParams()
#11 /home/ecouteteix/www/ls-devtest/framework/web/CController.php(286): AdminController->runAction()
#12 /home/ecouteteix/www/ls-devtest/framework/web/CController.php(265): AdminController->runActionWithFilters()
#13 /home/ecouteteix/www/ls-devtest/application/controllers/AdminController.php(174): AdminController->run()
#14 /home/ecouteteix/www/ls-devtest/framework/web/CWebApplication.php(282): AdminController->run()
#15 /home/ecouteteix/www/ls-devtest/framework/web/CWebApplication.php(141): LSYii_Application->runController()
#16 /home/ecouteteix/www/ls-devtest/framework/base/CApplication.php(185): LSYii_Application->processRequest()
#17 /home/ecouteteix/www/ls-devtest/index.php(214): LSYii_Application->run()

I put 0 to go to second error :)
DenisChenu

DenisChenu

2017-12-15 15:14

developer   ~45305

debug=0 fixed, but debug=2 seems not :) (but you can not fix it without update PHP file i think: user need to set debug=0)
DenisChenu

DenisChenu

2017-12-15 15:28

developer   ~45307

debug=2 : @disk_free_space( $obj->name )

PHP Error [500]

Undefined variable: cant_ignore (/home/ecouteteix/www/ls-preprod/application/views/admin/update/updater/steps/_check_local_errors.php:159)

#0 /home/ecouteteix/www/ls-preprod/framework/base/CApplication.php(834): CErrorHandler->handle()
#1 /home/ecouteteix/www/ls-preprod/application/views/admin/update/updater/steps/_check_local_errors.php(159): LSYii_Application->handleError()
#2 /home/ecouteteix/www/ls-preprod/framework/web/CBaseController.php(126): require()
#3 /home/ecouteteix/www/ls-preprod/framework/web/CBaseController.php(95): AdminController->renderInternal()
#4 /home/ecouteteix/www/ls-preprod/framework/web/CController.php(872): AdminController->renderFile()
#5 /home/ecouteteix/www/ls-preprod/application/controllers/admin/update.php(239): AdminController->renderPartial()
#6 unknown(0): update->checkLocalErrors()
#7 /home/ecouteteix/www/ls-preprod/framework/web/actions/CAction.php(109): ReflectionMethod->invokeArgs()
#8 /home/ecouteteix/www/ls-preprod/application/core/Survey_Common_Action.php(86): update->runWithParamsInternal()
#9 /home/ecouteteix/www/ls-preprod/framework/web/CController.php(308): update->runWithParams()
#10 /home/ecouteteix/www/ls-preprod/framework/web/CController.php(286): AdminController->runAction()
#11 /home/ecouteteix/www/ls-preprod/framework/web/CController.php(265): AdminController->runActionWithFilters()
#12 /home/ecouteteix/www/ls-preprod/application/controllers/AdminController.php(174): AdminController->run()
#13 /home/ecouteteix/www/ls-preprod/framework/web/CWebApplication.php(282): AdminController->run()
#14 /home/ecouteteix/www/ls-preprod/framework/web/CWebApplication.php(141): LSYii_Application->runController()
#15 /home/ecouteteix/www/ls-preprod/framework/base/CApplication.php(185): LSYii_Application->processRequest()
#16 /home/ecouteteix/www/ls-preprod/index.php(214): LSYii_Application->run()
DenisChenu

DenisChenu

2017-12-15 15:35

developer   ~45308

Second issue :
php if($errors): ?>
    <?php
    if($ignore && empty($cant_ignore) )

1st issue fixed with
$freespace = intval(@disk_free_space( $obj->name ));
$check->freespace = ($freespace > $obj->minfreespace );

But $freespace 2 times seems not needed

Issue History

Date Modified Username Field Change
2017-12-15 00:08 DenisChenu New Issue
2017-12-15 00:08 DenisChenu Status new => assigned
2017-12-15 00:08 DenisChenu Assigned To => LouisGac
2017-12-15 00:08 DenisChenu File Added: Capture du 2017-12-14 12-05-36.png
2017-12-15 00:08 DenisChenu File Added: Capture du 2017-12-14 12-06-53.png
2017-12-15 14:40 LouisGac Status assigned => resolved
2017-12-15 14:40 LouisGac Resolution open => fixed
2017-12-15 15:07 DenisChenu Note Added: 45303
2017-12-15 15:08 DenisChenu Note Added: 45304
2017-12-15 15:14 DenisChenu Status resolved => new
2017-12-15 15:14 DenisChenu Resolution fixed => reopened
2017-12-15 15:14 DenisChenu Note Added: 45305
2017-12-15 15:14 DenisChenu Status new => feedback
2017-12-15 15:28 DenisChenu Note Added: 45307
2017-12-15 15:28 DenisChenu Status feedback => assigned
2017-12-15 15:35 DenisChenu Note Added: 45308
2018-05-23 13:13 LouisGac Status assigned => closed