Skip to content

Commit

Permalink
Fixing #5622 - PHP 8.3 Deprecation Errors
Browse files Browse the repository at this point in the history
Errors and deprecation warnings with PHP 8.3.0
  • Loading branch information
TheWitness committed Jan 28, 2024
1 parent 4e8350e commit 8fd86aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,11 @@ Cacti CHANGELOG
-feature: Upgrade d3.js to version 7.8.2
-feature: Upgrade ua-parser.js to version 1.0.35

1.2.27
-issue#5622: Errors and deprecation warnings with PHP 8.3.0
-issue#5638: Add tooltip info about IPv6 address
-issue#5649: Inapprorpiate use of PHP_OS in lib/ping.php on Windows Platform

1.2.26
-issue#5464: PHP warning when view Data Source Info mode with new Data Source
-issue#5481: Attempting to edit a Data Query that does not exist throws warnings and not an GUI error
Expand Down
2 changes: 1 addition & 1 deletion cactid.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ function sig_handler($signo) {

/* we do not need so much memory */
ini_set('memory_limit', '-1');
ini_set('max_execution_time', '-1');
ini_set('max_execution_time', '0');

// default values
$hostname = gethostname();
Expand Down
2 changes: 1 addition & 1 deletion graph_templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
include_once('./lib/template.php');
include_once('./lib/utility.php');

ini_set('max_execution_time', '-1');
ini_set('max_execution_time', '0');

$actions = array(
1 => __('Delete'),
Expand Down

0 comments on commit 8fd86aa

Please sign in to comment.