View Issue Details

This bug affects 1 person(s).
 8
IDProjectCategoryView StatusLast Update
19675Bug reportsOtherpublic2024-11-19 15:10
Reporterlozam Assigned Totibor.pacalat  
PrioritynoneSeveritypartial_block 
Status closedResolutionfixed 
Product Version6.5.x 
Summary19675: iFileUploadTotalSpaceMB > 0 Error 500
Description

If we set a value for iFileUploadTotalSpaceMB > 0 Limesurvey crash with this error :
Non-static method CActiveRecord::findAll() cannot be called statically

Steps To Reproduce

Steps to reproduce

(Replace this text with detailed step-by-step instructions on how to reproduce the issue)

Expected result

(Write here what you expected to happen)

Actual result

(Write here what happened instead)

TagsNo tags attached.
Bug heat8
Complete LimeSurvey version number (& build)6.5.18
I will donate to the project if issue is resolvedNo
Browser
Database type & versionAll
Server OS (if known)
Webserver software & version (if known)
PHP Version8.3

Users monitoring this issue

There are no users monitoring this issue.

Activities

lozam

lozam

2024-07-31 16:04

reporter   ~80727

To fix it you must change the file application/helpers/common_helper.php L298
$aRows = Survey::findAll();
to
$aRows = Survey::model()->findAll();

lozam

lozam

2024-07-31 16:21

reporter   ~80728

PR : https://github.com/LimeSurvey/LimeSurvey/pull/3933

guest

guest

2024-11-19 13:45

viewer   ~81426

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=36639

c_schmitz

c_schmitz

2024-11-19 13:45

administrator   ~81427

Great, Thank you!

LimeBot

LimeBot

2024-11-19 15:10

administrator   ~81437

Fixed in Release 6.8.0+241119

Related Changesets

LimeSurvey: master 8132b978

2024-11-19 14:45

lozam

Committer: GitHub


Details Diff
Fixed issue 19675: If FileUploadTotalSpaceMB > 0 an error 500 is shown

Co-authored-by: Loïc ZAMBUTO <loic.zambuto@smile.fr>
Affected Issues
19675
mod - application/helpers/common_helper.php Diff File

Issue History

Date Modified Username Field Change
2024-07-31 16:00 lozam New Issue
2024-07-31 16:04 lozam Note Added: 80727
2024-07-31 16:04 lozam Bug heat 0 => 2
2024-07-31 16:21 lozam Note Added: 80728
2024-10-16 17:59 tibor.pacalat Assigned To => tibor.pacalat
2024-10-16 17:59 tibor.pacalat Status new => ready for code review
2024-11-19 13:45 lozam Changeset attached => LimeSurvey master 8132b978
2024-11-19 13:45 guest Note Added: 81426
2024-11-19 13:45 guest Bug heat 2 => 4
2024-11-19 13:45 c_schmitz Status ready for code review => resolved
2024-11-19 13:45 c_schmitz Resolution open => fixed
2024-11-19 13:45 c_schmitz Note Added: 81427
2024-11-19 13:45 c_schmitz Bug heat 4 => 6
2024-11-19 15:10 LimeBot Note Added: 81437
2024-11-19 15:10 LimeBot Status resolved => closed
2024-11-19 15:10 LimeBot Bug heat 6 => 8