LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   I not understand this message (Cacti) (https://www.linuxquestions.org/questions/linux-software-2/i-not-understand-this-message-cacti-615570/)

aspenbr 01-22-2008 04:05 PM

I not understand this message (Cacti)
 
Hello

I need help with my Caction , make installation in box Debian 4.0 free of problems , but running cacti show this messages error.


Warning: session_start() [function.session-start]: Cannot send session cookie - header already sent by (output started at /var/www/apache2-default/cacti/include/config.php:1) in /var/www/apache2-default/cacti/include/auth.php
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output stared at /var/www/apache2-default/cacti/include/config.php: 1) in /var/www/apache2-default/cacti/include/config.php:
Warning: Cannot modify header information - header already sent by (outpu t started at /var/www/apache2-default/cacti/include/config.php 1) in /var/www/apache2-default/cacti/include/auth.php on line 38


Why this occur ??
Somebody have idea ?

Thanks !!!

acid_kewpie 01-23-2008 03:19 AM

without sounding too patronizing, it's because headers have already been sent to your client, i.e. you've gone past the stage where you could start a session. obviously the question is why... often it's due to things like errors previously which weren't fatal. i.e. you have a slight deprecation issue in php so your code sends an error to that effect to the client, and to send that message requirews a full http session to have been started, meaning when it limps to that stage it's too late to do what it wants. not hugely useful to you knowing that though. are there any errors higher up in the log file? pesonally i would run wireshark, or an addon for firefox like "live http headers" to see what is actually being sent. you may see some useful headers come through which would then point us in another direction.


All times are GMT -5. The time now is 05:34 PM.