Opened configuration > action page and found this error:
Parse error: syntax error, unexpected '}' in /home/zabbix/public_html/zabbix/actionconf.php on line 136
here is the script:
130: if($result) // result - OK{
131: add_audit(!isset($_REQUEST['actionid']) ? AUDIT_ACTION_ADD : AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_ACTION,
132: S_NAME.': '.$_REQUEST['name']);
133:
134: unset($_REQUEST['form']);
135: }
136: }
After remove '}' on line 136, it's solved.
Thanks
DSur
Parse error: syntax error, unexpected '}' in /home/zabbix/public_html/zabbix/actionconf.php on line 136
here is the script:
130: if($result) // result - OK{
131: add_audit(!isset($_REQUEST['actionid']) ? AUDIT_ACTION_ADD : AUDIT_ACTION_UPDATE,AUDIT_RESOURCE_ACTION,
132: S_NAME.': '.$_REQUEST['name']);
133:
134: unset($_REQUEST['form']);
135: }
136: }
After remove '}' on line 136, it's solved.
Thanks
DSur
Comment