2020-05-28 14:39:19 -05:00
< ? php
2020-09-21 14:54:51 +02:00
2020-05-28 14:39:19 -05:00
return [
'database_connect' => [
2020-09-21 14:54:51 +02:00
'title' => 'Error connecting to database' ,
2020-05-28 14:39:19 -05:00
],
2021-06-14 13:33:59 -05:00
'database_inconsistent' => [
'title' => 'Database inconsistent' ,
'header' => 'Database inconsistencies found during a database error, please fix to continue.' ,
],
2020-05-28 14:39:19 -05:00
'dusk_unsafe' => [
'title' => 'It is unsafe to run Dusk in production' ,
2020-09-21 14:54:51 +02:00
'message' => 'Run ":command" to remove Dusk or if you are a developer set the appropriate APP_ENV' ,
2020-05-28 14:39:19 -05:00
],
2020-06-20 08:10:52 -05:00
'file_write_failed' => [
'title' => 'Error: Could not write to file' ,
2020-09-21 14:54:51 +02:00
'message' => 'Failed to write to file (:file). Please check permissions and SELinux/AppArmor if applicable.' ,
2020-06-20 08:10:52 -05:00
],
2022-03-12 16:14:32 -06:00
'host_exists' => [
'hostname_exists' => 'Device :hostname already exists' ,
'ip_exists' => 'Cannot add :hostname, already have device :existing with this IP :ip' ,
'sysname_exists' => 'Already have device :hostname due to duplicate sysName: :sysname' ,
],
'host_unreachable' => [
'unpingable' => 'Could not ping :hostname (:ip)' ,
'unsnmpable' => 'Could not connect to :hostname, please check the snmp details and snmp reachability' ,
'unresolvable' => 'Hostname did not resolve to IP' ,
'no_reply_community' => 'SNMP :version: No reply with community :credentials' ,
'no_reply_credentials' => 'SNMP :version: No reply with credentials :credentials' ,
],
2020-05-28 14:39:19 -05:00
'ldap_missing' => [
'title' => 'PHP LDAP support missing' ,
2020-09-21 14:54:51 +02:00
'message' => 'PHP does not support LDAP, please install or enable the PHP LDAP extension' ,
2020-05-28 14:39:19 -05:00
],
'maximum_execution_time_exceeded' => [
'title' => 'Maximum execution time of :seconds second exceeded|Maximum execution time of :seconds seconds exceeded' ,
2020-09-21 14:54:51 +02:00
'message' => 'Page load exceeded your maximum execution time configured in PHP. Either increase max_execution_time in your php.ini or improve server hardware' ,
2020-05-28 14:39:19 -05:00
],
'unserializable_route_cache' => [
'title' => 'Error caused by PHP version mismatch' ,
2020-09-21 14:54:51 +02:00
'message' => 'The version of PHP your web server is running (:web_version) does not match the CLI version (:cli_version)' ,
2020-05-28 14:39:19 -05:00
],
2022-03-12 16:14:32 -06:00
'snmp_version_unsupported' => [
'message' => 'Unsupported SNMP Version ":snmpver", must be v1, v2c, or v3' ,
],
2020-05-28 14:39:19 -05:00
];