Source
'Incorrect value for field "period_default": time filter default period exceeds the max period.'
<?php
/*
** Zabbix
** Copyright (C) 2001-2025 Zabbix SIA
**
** This program is free software; you can redistribute it and/or modify
** it under the terms of the GNU General Public License as published by
** the Free Software Foundation; either version 2 of the License, or
** (at your option) any later version.
**
** This program is distributed in the hope that it will be useful,
** but WITHOUT ANY WARRANTY; without even the implied warranty of
** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
** GNU General Public License for more details.
**
** You should have received a copy of the GNU General Public License
** along with this program; if not, write to the Free Software
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
require_once dirname(__FILE__).'/common/testFormAdministrationGeneral.php';
/**
* @backup config
*/
class testFormAdministrationGeneralGUI extends testFormAdministrationGeneral {
public $config_link = 'zabbix.php?action=gui.edit';
public $form_selector = 'xpath://form[contains(@action, "gui.update")]';
public $default_values = [
'Default language' => 'English (en_US)',
'Default time zone' => 'System',
'Default theme' => 'Blue',
'Limit for search and filter results' => '1000',
'Max number of columns and rows in overview tables' => '50',
'Max count of elements to show inside table cell' => '50',
'Show warning if Zabbix server is down' => true,
'Working time' => '1-5,09:00-18:00',
'Show technical errors' => false,
'Max history display period' => '24h',
'Time filter default period' => '1h',
'Max period for time selector' => '2y'
];
public $db_default_values = [
'default_lang' => 'en_US',
'default_timezone' => 'system',
'default_theme' => 'blue-theme',
'search_limit' => 1000,
'max_overview_table_size' => 50,
'max_in_table' => 50,
'server_check_interval' => 10,
'work_period' => '1-5,09:00-18:00',
'show_technical_errors' => 0,
'history_period' => '24h',
'period_default' => '1h',
'max_period' => '2y'
];
public $custom_values = [
'Default language' => 'English (en_US)',
'Default theme' => 'Dark',