View Issue Details

This bug affects 1 person(s).
 6
IDProjectCategoryView StatusLast Update
17329Bug reportsFile managerpublic2021-07-12 11:53
Reportersamarta Assigned Toollehar  
PrioritynoneSeverityblock 
Status closedResolutionfixed 
Product Version5.x 
Summary17329: When clicking on Resources LS hangs (spinning wheel)
Description

When clicking on Resources LS hangs (spinning wheel).

The URL is https://myserveraddress/index.php/admin/filemanager?surveyid=744879

Steps To Reproduce

1 - Access to any survey (https://myserveraddress/index.php/surveyAdministration/view/iSurveyID/798641)

2 - On the left menu , select "Resources"

3 - LS hangs (spinning wheel)

TagsNo tags attached.
Bug heat6
Complete LimeSurvey version number (& build)5.0.0+210526
I will donate to the project if issue is resolvedNo
BrowserMacos(Safari, Firefox, Chrome) - Windows( Edge, Chrome)
Database type & version8.0.17
Server OS (if known)
Webserver software & version (if known) Apache/2.4.37 (centos) OpenSSL/1.1.1c
PHP Version 7.4.18

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2021-05-27 18:31

administrator   ~64606

Do you have uploaddir configured in config.php?

Can you also click F12 and take a screenshot of any error messages in the console debug window?

samarta

samarta

2021-05-28 09:45

reporter   ~64613

Hi,
"Do you have uploaddir configured in config.php?".

No, must I have ? If so, what should be the path for uploaddir ?

Thanks,

João

ollehar

ollehar

2021-05-28 09:47

administrator   ~64614

Last edited: 2021-05-28 11:41

No, must I have ? If so, what should be the path for uploaddir ?

No, you don't need that. It could be a cause for the error if you did.

Can you do the F12 thing described above?

samarta

samarta

2021-05-28 11:55

reporter   ~64620

Hi,

"Can you do the F12 thing described above?" - Yes. Not working on Safari, but did work on Chrome.

The last few lines on the console are:

==========
pjax.js:433 GET https://193.136.200.167/index.php/admin/filemanager?surveyid=713691&1622195302970 404 (Not Found)
doRequest @ pjax.js:433
loadUrl @ pjax.js:1673
linkAction @ pjax.js:652
(anonymous) @ pjax.js:668

The survey ID is 713691

I've notice the same behaviour when:

  • trying to attach some files on any email template
  • browsing for images on the server to insert on the description of questions

Regards,

João

ollehar

ollehar

2021-05-28 11:57

administrator   ~64621

Well, there's a reason I asked you for a screenshot, not to copy-paste the text. :) There's a lot of information in a screenshot I can check.

ollehar

ollehar

2021-05-28 11:58

administrator   ~64622

But ok, the 404 is telling.

ollehar

ollehar

2021-05-28 11:59

administrator   ~64623

Can you go to global confirugation --> menu configuration --> click reset. Do the same for "Menu entries configuration".

samarta

samarta

2021-05-28 12:32

reporter   ~64625

"Can you go to global confirugation --> menu configuration --> click reset. Do the same for "Menu entries configuration"."

Done.

ANd now ?

ollehar

ollehar

2021-05-28 12:33

administrator   ~64626

Try again to go to file manager, please.

samarta

samarta

2021-05-28 12:39

reporter   ~64627

error: Not the same . Now is a 500

Image.png (156,289 bytes)
ollehar

ollehar

2021-05-28 13:56

administrator   ~64628

Last edited: 2021-05-28 14:00

This commit fixes the issue: https://github.com/LimeSurvey/LimeSurvey/commit/6a3f43dc724eaaa9cfbdd21e3a64e7e451a5eda0#diff-f8c970472fc354612651d57fa98027ecd114f95cf42e4594e0b0b61340ec217fR2372

This file: application/controllers/SurveyAdministrationController.php

Line 2372.

If you want, you can manually change $oSurvey to $survey, or wait for our next patch release on Monday next week.

samarta

samarta

2021-05-28 14:12

reporter   ~64631

"If you want, you can manually change $oSurvey to $survey, or wait for our next patch release on Monday next week."
Thank you.

I'll wait till Monday.

ollehar

ollehar

2021-05-28 14:14

administrator   ~64632

I'll mark this as resolved for now. It will be closed automatically on Monday when we release.

c_schmitz

c_schmitz

2021-07-12 11:53

administrator   ~65342

Release done.

Issue History

Date Modified Username Field Change
2021-05-27 16:50 samarta New Issue
2021-05-27 18:31 ollehar Assigned To => ollehar
2021-05-27 18:31 ollehar Status new => feedback
2021-05-27 18:31 ollehar Note Added: 64606
2021-05-28 09:45 samarta Note Added: 64613
2021-05-28 09:45 samarta Status feedback => assigned
2021-05-28 09:47 ollehar Note Added: 64614
2021-05-28 11:41 ollehar Note Edited: 64614
2021-05-28 11:55 samarta Note Added: 64620
2021-05-28 11:57 ollehar Note Added: 64621
2021-05-28 11:58 ollehar Note Added: 64622
2021-05-28 11:59 ollehar Note Added: 64623
2021-05-28 12:32 samarta Note Added: 64625
2021-05-28 12:33 ollehar Note Added: 64626
2021-05-28 12:39 samarta Note Added: 64627
2021-05-28 12:39 samarta File Added: Image.png
2021-05-28 13:56 ollehar Note Added: 64628
2021-05-28 13:57 ollehar Note Edited: 64628
2021-05-28 14:00 ollehar Note Edited: 64628
2021-05-28 14:12 samarta Note Added: 64631
2021-05-28 14:14 ollehar Status assigned => resolved
2021-05-28 14:14 ollehar Resolution open => fixed
2021-05-28 14:14 ollehar Note Added: 64632
2021-07-12 11:53 c_schmitz Note Added: 65342
2021-07-12 11:53 c_schmitz Status resolved => closed