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.
hi!
i am trying to install cacti. i copied the extracted cacti into apache/htdocs. i also created the db+cacti.sql. when i try to access it via: http://servername/cacti/install i get following error:
Warning: Cannot modify header information - headers already sent by (output started at /usr/local/groundwork/apache2/htdocs/cacti/lib/auth.php:34) in /usr/local/groundwork/apache2/htdocs/cacti/include/auth.php on line 29
so there obviously is something wrong
any suggestions?
[Mon Oct 20 13:07:57 2008] [error] [client 217.29.146.13] PHP Notice: Undefined index: user in /usr/local/groundwork/apache2/htdocs/cacti/lib/auth.php on line 34
[Mon Oct 20 13:07:57 2008] [error] [client 217.29.146.13] PHP Warning: Cannot modify header information - headers already sent by (output started at /usr/local/groundwork/apache2/htdocs/cacti/lib/auth.php:34) in /usr/local/groundwork/apache2/htdocs/cacti/include/auth.php on line 29
Notice: Undefined index: user in /var/www/cacti-0.8.7bo/lib/auth.php on line 34
Warning: Cannot modify header information - headers already sent by (output started at /var/www/cacti-0.8.7bo/lib/auth.php:34) in /var/www/cacti-0.8.7bo/include/auth.php on line 29
How about you post the version of php, apache, mysql and so on you are using? I'm suspecting some kind of compatibility issue with the version or configuration we're using.
I also have problems running version 0.8.7a: As soon as I install the plugin archtitecture cacti stops working, all paths get messed up.
Yes, I used the correct version of the plugin architecture (1.4) for Cacti version 0.8.7a.
Great to hear by the way that I'm not the only one with this problem.
Last edited by Christian on Tue Oct 21, 2008 2:28 am, edited 1 time in total.
oh that would have been smart from me
the odd thing is, that i ran (the same version of) cacti already on exact this machine! i just restored an image before cacti was installed and wanted to retry it.. i have no idea what has changed, because i get this error now..
apache: Server version: Apache/2.2.9 (Unix)
mysql: mysql Ver 14.12 Distrib 5.0.51a, for pc-linux-gnu (i686) using readline 5.0
PHP: PHP 5.2.5 with Suhosin-Patch 0.9.6.2 (cli) (built: Apr 23 2008 23:35:28)
helps a bit, but I don't think that this is the way to go.
PIA destroying my installation was my fault, by the way. Just forgot to adjust $config['url_path']
Our versions don't seem to match at all. I could try restarting the machine to reset all services. I don't have any other ideas at the moment.
Last edited by Christian on Tue Oct 21, 2008 2:51 am, edited 1 time in total.
yeah i also thought that this is not the way to go. sadly
as i already said: i already installed this very version of cacti on this very machine ... and i changed nothing. just restored a backup before i initially installed cacti. this is what annoys me, because theoretically nothing changed (because i used the image..)
what do you mean with that?
PIA destroying my installation was my fault, by the way. Just forgot to adjust $config['url_path']
Filling the $user variable with actually something useful is nice, but it's not really necessary.
I'd rather know why we have to turn on ouput buffering in php.ini. Sounds like a messed up code to me if it only runs with this option turned on.