mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-08-20 17:28:09 +02:00
If I change settings in the web UI, but latter can't write to /etc/icingaweb2, it shows me the desired file contents, so I can deploy them myself – with strange whitespace around it.
26 lines
1.0 KiB
PHTML
26 lines
1.0 KiB
PHTML
<div>
|
|
<h4><?= $this->translate('Saving Configuration Failed'); ?></h4>
|
|
<p>
|
|
<?= sprintf(
|
|
$this->translate('The file %s couldn\'t be stored. (Error: "%s")'),
|
|
$this->escape($filePath),
|
|
$this->escape($errorMessage)
|
|
); ?>
|
|
<br>
|
|
<?= $this->translate('This could have one or more of the following reasons:'); ?>
|
|
</p>
|
|
<ul>
|
|
<li><?= $this->translate('You don\'t have file-system permissions to write to the file'); ?></li>
|
|
<li><?= $this->translate('Something went wrong while writing the file'); ?></li>
|
|
<li><?= $this->translate('There\'s an application error preventing you from persisting the configuration'); ?></li>
|
|
</ul>
|
|
</div>
|
|
<p>
|
|
<?= $this->translate('Details can be found in the application log. (If you don\'t have access to this log, call your administrator in this case)'); ?>
|
|
<br>
|
|
<?= $this->translate('In case you can access the file by yourself, you can open it and insert the config manually:'); ?>
|
|
</p>
|
|
<p>
|
|
<pre><code><?= $this->escape($configString); ?></code></pre>
|
|
</p>
|