Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When changing password, undefined index error can occur if user is not logged in #2744

Closed
BSOD2600 opened this issue Jun 20, 2019 · 2 comments
Assignees
Labels
bug Undesired behaviour resolved A fixed issue
Milestone

Comments

@BSOD2600
Copy link
Contributor

Describe the bug
Apache web service will not start. Unable to log into interface

To Reproduce
The following errors are repeating in PHP error log:

[19-Jun-2019 20:46:50 America/Los_Angeles] PHP Notice:  Undefined index: realm in C:\Apache24\htdocs\cacti\auth_changepassword.php on line 64
[19-Jun-2019 20:46:50 America/Los_Angeles] PHP Notice:  Undefined index: password_change in C:\Apache24\htdocs\cacti\auth_changepassword.php on line 74
[19-Jun-2019 20:46:50 America/Los_Angeles] PHP Warning:  A non-numeric value encountered in C:\Apache24\htdocs\cacti\lib\plugins.php on line 925
[19-Jun-2019 20:46:50 America/Los_Angeles] PHP Warning:  A non-numeric value encountered in C:\Apache24\htdocs\cacti\lib\plugins.php on line 927

Desktop (please complete the following information):

  • OS: Windows 2012 R2
  • Browser: IE
  • Version 11

Additional context
Latest 1.2.5 github revision 7b15fc1 exhibiting this issue (along with 1.2.4 tag release).

@BSOD2600 BSOD2600 added the bug Undesired behaviour label Jun 20, 2019
@BSOD2600 BSOD2600 added this to the v1.2.5 milestone Jun 20, 2019
@netniV
Copy link
Member

netniV commented Jun 20, 2019

Interesting, I have never seen those errors on the Linux systems. I will investigate tomorrow.

@netniV netniV self-assigned this Jun 20, 2019
@cigamit cigamit changed the title [1.2.5] Undefined index: password_change in C:\Apache24\htdocs\cacti\auth_changepassword.php on line 74 Undefined index: password_change in auth_changepassword.php Jun 23, 2019
cigamit added a commit that referenced this issue Jun 23, 2019
Undefined index: password_change in auth_changepassword.php
@cigamit cigamit added the resolved A fixed issue label Jun 23, 2019
@cigamit
Copy link
Member

cigamit commented Jun 23, 2019

Resolved now. Was a case where the user was either not logged in or did not exist.

@netniV netniV closed this as completed Jun 27, 2019
@netniV netniV changed the title Undefined index: password_change in auth_changepassword.php When changing password, undefined index error can occur if user is not logged in Jul 14, 2019
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Undesired behaviour resolved A fixed issue
Projects
None yet
Development

No branches or pull requests

3 participants