-
Problem report
-
Resolution: Fixed
-
Trivial
-
None
-
5.2.0alpha1
Steps to reproduce:
- Preconditions:
- Admin exists in Zabbix database and allowed to access frontend
- Guest user in Disabled user group (important condition, without this works fine)
- Put .pwd and .htaccess files to /zabbix/ui folder
Check "AuthUserFile" .pwd path in htaccess file - Go to Administration -> Authentication -> HTTP settings
- Enable HTTP authentication
- Set Default login form as Zabbix login form
- Update settings
- Open Zabbix login form
- Click on "Sign in with HTTP" in login form
- Type credentials, username:Admin password:123456
Result: HTTP ERROR 500, error in apache log:
[Tue Aug 11 14:10:54.061840 2020] [php7:notice] [pid 4938] [client ::1:57588] PHP Fatal error: Uncaught Exception: Unable to load settings API parameters. in /home/natalja/workspace/master/ui/include/classes/helpers/CSettingsHelper.php:103\nStack trace:\n#0 /home/natalja/workspace/master/ui/include/classes/helpers/CConfigGeneralHelper.php(47): CSettingsHelper::loadParams()\n#1 /home/natalja/workspace/master/ui/include/classes/api/services/CUser.php(1655): CConfigGeneralHelper::get()\n#2 /home/natalja/workspace/master/ui/include/classes/api/services/CUser.php(1343): CUser->findByAlias()\n#3 /home/natalja/workspace/master/ui/index_http.php(70): CUser->loginByAlias()\n#4 {main}\n thrown in /home/natalja/workspace/master/ui/include/classes/helpers/CSettingsHelper.php on line 103, referer: http://localhost/master/
Expected: user is signed in
- caused by
-
ZBXNEXT-82 support of 'local' config files
- Closed