View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
10101Bug reportsSurvey takingpublic2016-01-08 15:36
ReporterDenisChenu Assigned ToLouisGac 
PrioritynormalSeverityminor 
Status closedResolutionfixed 
Product Version2.50.x 
Summary10101: Unable to test a survey or to see survey listing
Description

Just updated to last version:

Steps To Reproduce

Test a survey or go to survey list

Additional Information

Activating debug=2 don't seems to have effect ?

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)151210
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionmysql 5
Server OS (if known)debian7/linux
Webserver software & version (if known)apache
PHP VersionPHP Version 5.4

Users monitoring this issue

There are no users monitoring this issue.

Activities

DenisChenu

DenisChenu

2015-12-10 09:43

developer   ~33841

Preview group :
Fatal error: Can't use function return value in write context in /home/sondages.pro/htdocs/limesurvey_GIT/250/application/helpers/SurveyRuntimeHelper.php on line 1087

DenisChenu

DenisChenu

2015-12-10 09:45

developer   ~33842

https://github.com/LimeSurvey/LimeSurvey/commit/7ab13bd0f498a9177066e6af793080a5c6ce1b1c child

LouisGac

LouisGac

2015-12-10 10:12

developer   ~33845

Please, could you provide exact steps to reproduce ?

DenisChenu

DenisChenu

2015-12-10 10:24

developer   ~33848

Go to survey list for example ....

Fix is :
!empty(trim($redata['groupdescription']))
to
trim($redata['groupdescription'])==""

PHR version related ?

DenisChenu

DenisChenu

2015-12-10 13:49

developer   ~33859

PHP version < 5.5
Prior to PHP 5.5, empty() only supports variables; anything else will result in a parse error. In other words, the following will not work: empty(trim($name)). Instead, use trim($name) == false.

http://php.net/empty

Then 2.5 need PHP 5.5 or not ?

LouisGac

LouisGac

2015-12-10 13:52

developer   ~33860

Last edited: 2015-12-17 10:04

well thank you for that report.
I think that 2.5 should not need 5.5, so I will just change it.

DenisChenu

DenisChenu

2015-12-11 12:42

developer   ~33890

(12:30:52) shnoulle: c_schmitz : what is the required version for 2.50 ? https://bugs.limesurvey.org/view.php?id=10101#c33860
(12:32:35) c_schmitz: 5.3.3

DenisChenu

DenisChenu

2015-12-15 16:20

developer   ~33969

https://github.com/LimeSurvey/LimeSurvey/pull/398

LouisGac

LouisGac

2015-12-17 11:35

developer   ~34039

Fix committed to 2.5 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&amp;id=16614

LouisGac

LouisGac

2015-12-17 11:35

developer   ~34040

thx

c_schmitz

c_schmitz

2016-01-08 15:36

administrator   ~34206

Version 2.5RC6 released

Related Changesets

LimeSurvey: 2.5 2d65c2e5

2015-12-15 15:19:34

DenisChenu

Details Diff
Dev: Fixed issue 10101: Unable to test a survey or to see survey listing
Dev: PHP 5.4 compatibility
Dev: we trim, then we have a string
Affected Issues
10101
mod - application/helpers/SurveyRuntimeHelper.php Diff File

LimeSurvey: 2.5 b005b424

2015-12-17 10:35:22

LouisGac

Details Diff
Merge pull request #398 from Shnoulle/250_10101

Dev: Fixed issue 10101: Unable to test a survey or to see survey lis…
Affected Issues
10101
mod - application/helpers/SurveyRuntimeHelper.php Diff File

Issue History

Date Modified Username Field Change
2015-12-10 09:42 DenisChenu New Issue
2015-12-10 09:42 DenisChenu Status new => assigned
2015-12-10 09:42 DenisChenu Assigned To => LouisGac
2015-12-10 09:43 DenisChenu Note Added: 33841
2015-12-10 09:45 DenisChenu Note Added: 33842
2015-12-10 10:12 LouisGac Note Added: 33845
2015-12-10 10:12 LouisGac Status assigned => feedback
2015-12-10 10:24 DenisChenu Note Added: 33848
2015-12-10 10:24 DenisChenu Status feedback => assigned
2015-12-10 13:49 DenisChenu Note Added: 33859
2015-12-10 13:52 LouisGac Note Added: 33860
2015-12-11 12:42 DenisChenu Note Added: 33890
2015-12-15 16:20 DenisChenu Note Added: 33969
2015-12-17 10:04 LouisGac Note Edited: 33860
2015-12-17 11:35 DenisChenu Changeset attached => LimeSurvey 2.5 2d65c2e5
2015-12-17 11:35 LouisGac Changeset attached => LimeSurvey 2.5 b005b424
2015-12-17 11:35 LouisGac Note Added: 34039
2015-12-17 11:35 LouisGac Resolution open => fixed
2015-12-17 11:35 LouisGac Note Added: 34040
2015-12-17 11:36 LouisGac Status assigned => resolved
2016-01-08 15:36 c_schmitz Note Added: 34206
2016-01-08 15:36 c_schmitz Status resolved => closed