Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello, i have this Ubuntu RC 6.06 and i have installed cacti on it. The problem is that when i try to create a graph i get this error message. Can you help please?
Quote:
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 853
Notice: Only variable references should be returned by reference in /usr/share/adodb/adodb.inc.php on line 853
Warning: Cannot modify header information - headers already sent by (output started at /usr/share/adodb/adodb.inc.php:853) in /usr/share/cacti/graphs_new.php on line 84
I have no idea what to do with them. I've looked up the given lines in the given files but they don't tell me much. I suppose it's some problem with my mysql configuration...
and of course the third message is there because of the fact that the other error messages have been sent. as such it can't send more headers... that'll disappear of it's own accord.
btw. i'm not a huge cacti fan... much prefer opennms all round...
Well i've googled it some more and i only get references for 'codex gallery2' that i don't use, and the advice to update 'zend_optimizer' that again i don't use. Ca you be more specific please?
About opennms, you say it's better then cacti?
oh yeah, i misread that link, i thought they were offering PHP config changes... my bad.
right so i'm stuck having to fix this now right?
appears that this would be a php 4.4 issue, and you can either upgrade to 5.x, downgrade to 4.3 or simply make php ignore these notices and not screw everything up. seems that this is done by adding a line saying
First off opennms is probably way overkill for anything but the largest setups.
Second, go to the cacti website and get the tarball. It's MUCH easier to install. I didn't get y ou particular message, but I did get several others with the Ubuntu .deb.
@acid_kewpie: thanks mate for the support! One question, where should i add the given line? I've tried to put it in '/etc/suphp.conf' but i still get the error. By the way if i upgrade to 5.x all my old databases are gone?
@ghight I've tried that but i have to compile some other .tar.gz packages and they don't compile right so...
I still have the error so i've added the code in '/etc/php5/apache2/php.ini' the same thing. i've tried to put it in '/etc/php5/cgi/php.ini' to and still nothing.
So... it's quite strange.
After some research i have this question. Should i remove cacti, reinstall php and then reinstall cacti ? Would this work? And i don't want to lose my database... so what's to be done?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.