View Issue Details

This bug affects 3 person(s).
 26
IDProjectCategoryView StatusLast Update
17915Bug reportsComfortUpdatepublic2022-03-01 17:24
Reportersamarta Assigned Toollehar  
PrioritynoneSeveritycrash 
Status closedResolutionfixed 
Product Version5.x 
Summary17915: error accessing general settings
Description

When I've tried to access Global Settings (https://ls.uc.pt/index.php/admin/globalsettings) I've got a 500 error

500: Erro interno do servidor
Alias "application\controllers\admin\globalsettings" is invalid. Make sure it points to an existing PHP file and the file is readable.

Um erro interno ocorreu quando o servidor web estava a processar o seu pedido.

Entre em contacto com Administrator para reportar este problema.

Steps To Reproduce

Steps to reproduce

access to global settings
Expected result

Global settings page

Actual result

Error 500:
Alias "application\controllers\admin\globalsettings" is invalid. Make sure it points to an existing PHP file and the file is readable.

TagsNo tags attached.
Bug heat26
Complete LimeSurvey version number (& build)Version 5.3.0+220228
I will donate to the project if issue is resolvedNo
BrowserFirefox, Safari
Database type & versionmysql 7.4.21
Server OS (if known)
Webserver software & version (if known)
PHP Version 7.4.21

Users monitoring this issue

djehuti, samarta

Activities

ollehar

ollehar

2022-02-28 14:49

administrator   ~68440

Please go to "Configuration" --> "Menu configuration" and click the reset button. Then, go to "Configuration" --> "Menu entries configuration" and click the reset button. After, try again to enter the page that failed. Let us know if the issue persists. Thank you.

samarta

samarta

2022-02-28 14:58

reporter   ~68441

Hi,
I' dont have "Configuration" --> "Menu configuration" just have Configuration --> Survey Menus.

This has just happened after upgrading to 5.3.0+220228, about an hour ago.

Thanks,

João

image.png (72,378 bytes)   
image.png (72,378 bytes)   
ollehar

ollehar

2022-02-28 15:01

administrator   ~68442

Oh sorry, the interface has been updated. Then go to "Survey menus" and click "Reset" on both tabs available there. Let us know if it fixes the issue with global settings.

ollehar

ollehar

2022-02-28 15:03

administrator   ~68443

Where did you get that link from, to global settings? Do you have it book marked, or did you click in the menu?

ollehar

ollehar

2022-02-28 15:07

administrator   ~68444

You can also let me know the content of your folder modules/admin/ in web root.

samarta

samarta

2022-02-28 15:09

reporter   ~68445

Then go to "Survey menus" and click "Reset" on both tabs available there.
Done.

Let us know if it fixes the issue with global settings.

Nope. Tried with an private window in Safari and Firefox:

The error
"Alias "application\controllers\admin\globalsettings" is invalid. Make sure it points to an existing PHP file and the file is readable."

Maybe a permissions issue ?

If so, I am the system manager and I can fix it.

samarta

samarta

2022-02-28 15:11

reporter   ~68446

Where did you get that link from, to global settings? Do you have it book marked, or did you click in the menu?

I've cliked in the menu

You can also let me know the content of your folder modules/admin/ in web root.
[root@ls limesurvey]# cd modules/admin
[root@ls admin]# ls -al
total 0
dr-xrwx--- 4 apache root 46 Aug 12 2020 .
dr-xrwx--- 4 apache root 31 Aug 12 2020 ..
drwxrwx--- 4 apache root 37 Feb 28 13:10 globalsettings
drwxrwx--- 4 apache root 54 Aug 12 2020 HelloWorld

ollehar

ollehar

2022-02-28 15:11

administrator   ~68447

There might be a conflict between the controller and a module in modules/admin/, that's why I need to know if it's been deleted by the update or not.

ollehar

ollehar

2022-02-28 15:12

administrator   ~68448

OK, move or remove the folder globalsettings from modules/admin/ and try again, please.

samarta

samarta

2022-02-28 15:15

reporter   ~68449

[root@ls admin]# mv globalsettings/ globalsettings_old

It worked.

image-2.png (128,138 bytes)
ollehar

ollehar

2022-02-28 15:16

administrator   ~68450

Great, but bad news for our other CU updates. :/

samarta

samarta

2022-02-28 15:18

reporter   ~68451

Great, but bad news for our other CU updates. :/

Maybe a new LS release ?

ollehar

ollehar

2022-02-28 19:21

administrator   ~68462

We'll see if others report the same problem.

c_schmitz

c_schmitz

2022-03-01 10:15

administrator   ~68466

Last edited: 2022-03-01 10:16

I can reproduce the error. But after deleting the empty directory it is NOT working for me.
Instead I get

"Alias "application.controllers.admin.GlobalSettings" is invalid. Make sure it points to an existing PHP file and the file is readable. "

hpstamm

hpstamm

2022-03-01 11:27

reporter   ~68467

Same with me, unfortunately.

ollehar

ollehar

2022-03-01 14:56

administrator   ~68477

A fix is pushed, waiting for the CI.

ollehar

ollehar

2022-03-01 15:03

administrator   ~68478

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

hpstamm

hpstamm

2022-03-01 17:04

reporter   ~68479

Thank your very much for fixing this bug so quickly!

H.P.

LimeBot

LimeBot

2022-03-01 17:24

administrator   ~68481

Fixed in Release 5.3.1+220301

Related Changesets

LimeSurvey: master 28f38906

2022-03-01 14:08:23

ollehar

Details Diff
Fixed issue 17915: Error accessing general settings Affected Issues
17915
add - modules/admin/globalsettings/README.md Diff File
add - modules/admin/globalsettings/controller/globalsettings.php Diff File
add - modules/admin/globalsettings/views/HelloWorld.php Diff File
add - modules/admin/globalsettings/views/_overview.php Diff File
add - modules/admin/globalsettings/views/globalSettings_view.php Diff File

LimeSurvey: master 85abbdd8

2022-03-01 14:55:41

ollehar

Details Diff
Fixed issue 17915: Error accessing general settings Affected Issues
17915
mod - modules/admin/globalsettings/controller/globalsettings.php Diff File

Issue History

Date Modified Username Field Change
2022-02-28 14:45 samarta New Issue
2022-02-28 14:48 samarta Issue Monitored: samarta
2022-02-28 14:48 samarta Bug heat 0 => 2
2022-02-28 14:49 ollehar Note Added: 68440
2022-02-28 14:49 ollehar Bug heat 2 => 4
2022-02-28 14:58 samarta Note Added: 68441
2022-02-28 14:58 samarta File Added: image.png
2022-02-28 14:58 samarta Bug heat 4 => 6
2022-02-28 15:01 ollehar Note Added: 68442
2022-02-28 15:03 ollehar Note Added: 68443
2022-02-28 15:07 ollehar Note Added: 68444
2022-02-28 15:08 ollehar Assigned To => ollehar
2022-02-28 15:08 ollehar Status new => assigned
2022-02-28 15:09 samarta Note Added: 68445
2022-02-28 15:11 samarta Note Added: 68446
2022-02-28 15:11 ollehar Note Added: 68447
2022-02-28 15:12 ollehar Note Added: 68448
2022-02-28 15:15 samarta Note Added: 68449
2022-02-28 15:15 samarta File Added: image-2.png
2022-02-28 15:16 ollehar Note Added: 68450
2022-02-28 15:18 samarta Note Added: 68451
2022-02-28 19:21 ollehar Note Added: 68462
2022-03-01 10:11 guest Bug heat 6 => 12
2022-03-01 10:15 c_schmitz Note Added: 68466
2022-03-01 10:15 c_schmitz Bug heat 12 => 14
2022-03-01 10:16 c_schmitz Note Edited: 68466
2022-03-01 11:27 hpstamm Note Added: 68467
2022-03-01 11:27 hpstamm Bug heat 14 => 16
2022-03-01 14:12 guest Bug heat 16 => 22
2022-03-01 14:16 djehuti Issue Monitored: djehuti
2022-03-01 14:16 djehuti Bug heat 22 => 24
2022-03-01 14:56 ollehar Note Added: 68477
2022-03-01 15:03 ollehar Changeset attached => LimeSurvey master 85abbdd8
2022-03-01 15:03 ollehar Changeset attached => LimeSurvey master 28f38906
2022-03-01 15:03 ollehar Note Added: 68478
2022-03-01 15:03 ollehar Resolution open => fixed
2022-03-01 15:06 ollehar Product Version => 5.x
2022-03-01 17:04 hpstamm Note Added: 68479
2022-03-01 17:22 ollehar Status assigned => resolved
2022-03-01 17:24 LimeBot Note Added: 68481
2022-03-01 17:24 LimeBot Status resolved => closed
2022-03-01 17:24 LimeBot Bug heat 24 => 26