Opened 15 years ago

Last modified 10 years ago

#23116 new defect

cacti shows warnings for deprecated functions with php 5.3

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc:
Port: cacti

Description

cacti doesn't work so well with php 5.3 because it uses functions which are now deprecated, and because cacti configures itself to show all errors, so if display_errors is on, like it is on my development machine, I get tons of "Deprecated: Function ereg_replace() is deprecated" messages in the browser window.

This is already patched in svn something like this but a simpler solution for now could be to patch global.php to set error_reporting to E_ALL & ~E_DEPRECATED instead of E_ALL.

Attachments (1)

patch-include-global.php.diff (585 bytes) - added by ryandesign (Ryan Carsten Schmidt) 15 years ago.

Download all attachments as: .zip

Change History (2)

Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

comment:1 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from markd@… to macports-tickets@…

markd has retired. See #44782.

Note: See TracTickets for help on using tickets.