Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#1153 closed Bug (fixed)

when config file is not writable, display a warning message

Reported by: matt Owned by:
Priority: major Milestone: Piwik 0.6.2
Component: Core Keywords:
Cc: Sensitive: no


When the config file is not writable, and the config file is written to disk, it currently silently fails. All writes to the config file are done on _destruct which means we can't display an error message to the screen when it fails.

Instead, on the screens that require a writable config file, we should display a warning message that the config file is not writable.

The screens affected are:

  • Plugins management: plugin enable/disable
  • Super user password reset
  • Super user email change

Change History (3)

comment:1 Changed 4 years ago by matt (mattab)

  • Milestone changed from 4 - Piwik 1.0 - Stable release to 0 - Piwik 0.6.2

comment:2 Changed 4 years ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [2183]) Fixes #1153 Adding warning message in UI if config file not writable for the super user "Settings" screen, and in the "Plugins" screen

comment:3 Changed 4 years ago by matt (mattab)

(In [2664]) Refs #1153 adding warnign for general settings screen as SMTP config requires config file writable

Note: See TracTickets for help on using tickets.