[MacPorts] #23116: cacti shows warnings for deprecated functions with php 5.3

MacPorts noreply at macports.org
Sun Jan 3 04:53:40 PST 2010


#23116: cacti shows warnings for deprecated functions with php 5.3
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  markd@…           
     Type:  defect                   |      Status:  new               
 Priority:  Normal                   |   Milestone:                    
Component:  ports                    |     Version:  1.8.2             
 Keywords:                           |        Port:  cacti             
-------------------------------------+--------------------------------------
 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
 [http://bugs.cacti.net/view.php?id=1568 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`.

-- 
Ticket URL: <http://trac.macports.org/ticket/23116>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list