Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
I had a hardy/804 cacti running and just upgraded to Lucid, which upgraded PHP 5.3.2 and Cacti to 0.8.7e.
According to the FAQ to ignore the many deprecated PHP warnings one should add to /etc/php5/apache2/php.ini
error_reporting = E_ALL & ~E_DEPRECATED
or to /usr/share/cacti/site/include/config.php
error_reporting(~E_DEPRECATED);
I tried both and restarted Apache, but it stubbornly continues to show for example:
Deprecated: Function ereg() is deprecated in /usr/share/cacti/site/lib/html_validate.php on line 38
And in /var/log/apache2/error.log
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'register_long_arrays' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
<br />
<b>Warning</b>: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3 and greater in <b>Unknown</b> on line <b>0</b><br />
Am I missing something obvious? Sorry if this is a FAQ..