Public bug reported:
Binary package hint: cacti
I had a hardy/804 cacti running and just upgraded to Lucid, which
upgraded PHP 5.3.2 and Cacti to 0.8.7e.
dpkg -l |grep cacti
ii cacti 0.8.7e-2
Frontend to rrdtool for monitoring systems and servic
ii cacti-spine 0.8.7e-2build1
Multi-Threading poller for cacti
When visiting the cacti url after the lucid upgrade, the GUI propose a
DB upgrade which went well.
However, on the GUI there are messages such as:
Deprecated: Function ereg() is deprecated in
/usr/share/cacti/site/lib/html_validate.php on line 38
Deprecated: Function split() is deprecated in
/usr/share/cacti/site/lib/functions.php on line 1741
Console
Sprinkled everywhere.
No graphs are visible, all that is shown is:
Deprecated: Function ereg() is deprecated in
/usr/share/cacti/site/lib/html_validate.php on line 38
Deprecated: Function ereg() is deprecated in
/usr/share/cacti/site/lib/html_validate.php on line 38
Deprecated: Function ereg() is deprecated in
/usr/share/cacti/site/lib/html_validate.php on line 38
Warning: Cannot modify header information - headers already sent by (output
started at /usr/share/cacti/site/lib/html_validate.php:38) in
/usr/share/cacti/site/graph_view.php on line 78
Now, the errors are in part due to php warnings, but I don't think thats
all.
I understood to ignore the 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
them.
The error "Warning: Cannot modify header information - headers already
sent by (output started at
/usr/share/cacti/site/lib/html_validate.php:38) in
/usr/share/cacti/site/graph_view.php on line 78" refers to source lines
that refernce regular expression, thus related to the new PHP too.
I don't suppose a patch for 0.8.7f could be rolled out for Lucid?
Apparently that release supports the new PHP?
Thanks in advance,
Sean
** Affects: cacti (Ubuntu)
Importance: Undecided
Status: New
--
Cacti php errors after upgrade from Hardy to Lucid
https://bugs.launchpad.net/bugs/589543
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs