Did you check if your webserver is actually allowed to write to that specific file?
Sent from my iPhone On 18 Jun 2015, at 07:41, Tejas Gadaria <refond.g...@gmail.com <mailto:refond.g...@gmail.com> > wrote: Hi, I am trying to add new dashboard on icingaweb2, it is throwing below exception.. Though I am able to add Dashlet. Could not persist dashboard Please copy the following dashboard snippet to /etc/icingaweb2/dashboards/admin/dashboard.ini;. Make sure that the webserver can write to this file. Fatal error: Method Icinga\Application\Config::__toString() must not throw an exception in zend.view:///usr/share/icingaweb2/application/views/scripts/dashboard/error.phtml on line 9 Where "/etc/icingaweb2/dashboards/admin/dashboard.ini" contains the data of Dashlet which I have disabled recently. Also please find the content of error.phtml file <div class="content"> <h1><?= $this->translate('Could not persist dashboard'); ?></h1> <p> <?= $this->translate('Please copy the following dashboard snippet to '); ?> <strong><?= $this->config->getConfigFile(); ?>;</strong>. <br> <?= $this->translate('Make sure that the webserver can write to this file.'); ?> </p> <pre><?= $this->config; ?></pre> <hr> <h2><?= $this->translate('Error details'); ?></h2> <p><?= $this->error->getMessage(); ?></p> </div> Regards, Tejas _______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org <mailto:icinga-users@lists.icinga.org> https://lists.icinga.org/mailman/listinfo/icinga-users
_______________________________________________ icinga-users mailing list icinga-users@lists.icinga.org https://lists.icinga.org/mailman/listinfo/icinga-users