Skip to content

When configuration file is unreadable, Cacti shows database connection errors if non defaults are needed #3181

@netniV

Description

@netniV

Describe the bug
When the include/config.php is unreadable, Cacti reports a database connection error if non defaults are needed.

To Reproduce
Steps to reproduce the behavior:

  1. Create Cacti Database/User as something other than 'cactiuser' on localhost
  2. Set permissions on config.php to be unreadable
  3. Launch cacti website or cli program
  4. See error

Expected behavior
Cacti should report that the configuration file is unreadable as other settings may also be unset as a result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugUndesired behaviourresolvedA fixed issue

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions