Hi,
I have been looking forward to the stable release for a long time. So I installed it today on my ubuntu server 7.10 to access my mails via IMAP.
Everything works just fine, but it is not possible to open/download any attachment!
Within a new window I get a lot of undefined letters and signs...
Apache2's error.log:
[Sat Mar 22 18:39:16 2008] [error] [client 192.168.1.168] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/include/main.inc on line 83, referer: [url]http://192.168.1.42/mail/?_task=mail&_action=get&_mbox=INBOX&_uid=11511&_part=2&_frame=1[/url]
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: session_start() [<a href='function.session-start'>function.session-start</a>]: Cannot send session cache limiter - headers already sent (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/include/main.inc on line 83
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 64
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 65
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 66
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 67
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 76
[Sat Mar 22 18:39:17 2008] [error] [client 192.168.1.168] PHP Warning: Cannot modify header information - headers already sent by (output started at /var/www/mail/config/main.inc.php:285) in /var/www/mail/program/steps/mail/get.inc on line 111
So what is wrong here? Any suggestions?
Hi again,
I just found my mistake:
During the setup the installation-script offers some modified code for main.inc.php and db.inc.php which should be saved into these files. Copying with Ctrl+c/Ctrl+v produced an empty line after "?>". That has been interpreted as HTML-output by the apache-engine. (therefor "headers already sent" within the apache's error.log).
In my opinion the user should get a warning during the installation process (a little change request at this point ;) )
I hope that helps...
I've got very simmilar error
-bash-3.2# tail -n 5 logs/errors
[21-Mar-2008 19:12:10] PHP Warning: Cannot modify header information - headers already sent in /home/services/httpd/html/program/include/rcube_shared.inc on line 154
[21-Mar-2008 19:12:37] PHP Warning: Cannot modify header information - headers already sent in /home/services/httpd/html/program/include/rcube_shared.inc on line 154
[22-Mar-2008 17:29:03] PHP Warning: Cannot modify header information - headers already sent in /home/services/httpd/html/program/include/rcube_shared.inc on line 154
[25-Mar-2008 12:00:12] PHP Warning: Cannot modify header information - headers already sent in /home/services/httpd/html/program/include/rcube_shared.inc on line 154
[25-Mar-2008 12:01:23] PHP Warning: Cannot modify header information - headers already sent in /home/services/httpd/html/program/include/rcube_shared.inc on line 154
-bash-3.2#
and line 154
header('Content-Type: text/html; charset='.$this->charset);
RoundCube RC1
Any suggestions ?
have you checked your main and db conf files?
QuoteDuring the setup the installation-script offers some modified code for main.inc.php and db.inc.php which should be saved into these files. Copying with Ctrl+c/Ctrl+v produced an empty line after "?>". That has been interpreted as HTML-output by the apache-engine. (therefor "headers already sent" within the apache's error.log).
There should be no blank lines at the end of those files.
THANK YOU! This bug has been *cough* bugging me for two days now since my shiny new install!! Brilliant spotting!!