Project

General

Profile

Actions

Bug #15873

closed

PHP error when a user is denied access to the dashboard

Added by Steve Wheeler about 1 month ago. Updated 20 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
User Manager / Privileges
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.03
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

When logging in as a user who doesn't have access to the dashboard the following is logged:

Nov 26 23:16:41     php-fpm     2134     /index.php: Successful login for user 'Test' from: 172.21.16.8 (Local Database)
Nov 26 23:16:41     php-fpm     29834     /index.php: Test@172.21.16.8 (Local Database) attempted to access /index.php but does not have access to that page. Redirecting to status_logs_settings.php.
Nov 26 23:16:41     php-fpm     29834     PHPSESSION 1 open sessions left at shutdown script!Array
Nov 26 23:16:41     php-fpm     29834     (
Nov 26 23:16:41     php-fpm     29834     [0] => #### phpsession_begin ####
Nov 26 23:16:41     php-fpm     29834     simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
Nov 26 23:16:41     php-fpm     29834     phpsession_begin(..) - /etc/inc/auth.inc:2218
Nov 26 23:16:41     php-fpm     29834     session_auth(..) - /etc/inc/authgui.inc:37
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/guiconfig.inc:61
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/index.php:46
Nov 26 23:16:41     php-fpm     29834     [1] => #### phpsession_end ####
Nov 26 23:16:41     php-fpm     29834     simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:55
Nov 26 23:16:41     php-fpm     29834     phpsession_end(..) - /etc/inc/auth.inc:2352
Nov 26 23:16:41     php-fpm     29834     session_auth(..) - /etc/inc/authgui.inc:37
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/guiconfig.inc:61
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/index.php:46
Nov 26 23:16:41     php-fpm     29834     [2] => #### phpsession_begin ####
Nov 26 23:16:41     php-fpm     29834     simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
Nov 26 23:16:41     php-fpm     29834     phpsession_begin(..) - /etc/inc/authgui.inc:42
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/guiconfig.inc:61
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/index.php:46
Nov 26 23:16:41     php-fpm     29834     [3] => #### phpsession_begin ####
Nov 26 23:16:41     php-fpm     29834     simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:39
Nov 26 23:16:41     php-fpm     29834     phpsession_begin(..) - /etc/inc/priv.inc:242
Nov 26 23:16:41     php-fpm     29834     getAllowedPages(..) - /etc/inc/authgui.inc:49
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/guiconfig.inc:61
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/index.php:46
Nov 26 23:16:41     php-fpm     29834     [4] => #### phpsession_end ####
Nov 26 23:16:41     php-fpm     29834     simplestacktrace(..) - /etc/inc/phpsessionmanager.inc:55
Nov 26 23:16:41     php-fpm     29834     phpsession_end(..) - /etc/inc/priv.inc:303
Nov 26 23:16:41     php-fpm     29834     getAllowedPages(..) - /etc/inc/authgui.inc:49
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/guiconfig.inc:61
Nov 26 23:16:41     php-fpm     29834     require_once(..) - /usr/local/www/index.php:46
Nov 26 23:16:41     php-fpm     29834     )

Tested in 24.11

Actions #1

Updated by Jim Pingle about 1 month ago

  • Assignee set to Jim Pingle

We've seen that before in certain cases when a session was started but not closed, probably because of how the client gets redirected there, some part is slightly out of order.

Actions #2

Updated by Jim Pingle about 1 month ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Alhusein Zawi 30 days ago

no errors appear

25.01-DEVELOPMENT (amd64)
built on Fri Dec 6 13:32:00 PST 2024
FreeBSD 15.0-CURRENT

Actions #4

Updated by Jim Pingle 28 days ago

  • Status changed from Feedback to Resolved
Actions #5

Updated by Jim Pingle 24 days ago

  • Plus Target Version changed from 25.01 to 25.03
Actions #6

Updated by Jim Pingle 20 days ago

  • Category changed from Web Interface to User Manager / Privileges
Actions

Also available in: Atom PDF