RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Recycle Bin > Recycle Bin

For more information about the ads and why they're here, please see the FAQ
Closed Thread
  #1  
Old 08-26-2006, 07:54 PM
Registered User
 
Join Date: Aug 2006
Posts: 1
Downloads: 0
Uploads: 0
Default multiple issues

Hi everybody !!

I have several questions about roundcube ..

Yesterday I install roundcube and until now it is working fine with minor problems in the setup, and gave access to some of my users to start using it (testing), and this is what I need to answer

1.- Have Mailscanner installed in my mailserver with spamassassin, and it marks the messages fine, and want to know if can I setup roundcube to send the marked messages {Spam not delivered} to the junk folder automaticaly instead the inbox ??

2.- Don't know if this is a PHP issue or what but in php.ini I need to set the memory_limit to 64 mb in order to be able to send mails with attach of 5-6 mb (planed as limit) is this manner correct or can I do something else in order to send attachments of that size ??

3.- Checking the web error log, got this :

[client x.x.x.x] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://vwmail/?_task=mail&_action=sh...=INBOX&_safe=1
[client x.x.x.x] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://vwmail/?_task=mail

Is this bad or normal or what and can I fix it ??

Thanks to all of you and hope you can help me !!

Thanks !!
Blackwoodie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #2  
Old 08-28-2006, 11:16 PM
reefnet
Guest
 
Posts: n/a
Downloads:
Uploads:
Default Re: multiple issues

I am also experiencing #3...namely, PHP warnings all over my Apache 2 log files...They all read the same for me:

Code:
PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0
Any ideas why this is happening? Roundcube seems to work just fine, but I hate errors/warnings...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-09-2006, 07:03 PM
Registered User
 
Join Date: Aug 2006
Posts: 4
Downloads: 0
Uploads: 0
Default Re: multiple issues

I know this thread is slightly old but I just setup roundcube and I have the same issue from #3 to the headers already sent are all over my apache's error.log but I haven't noticed any big problems with roundcube so I was wondering what that message is supposed to mean.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-10-2006, 12:56 AM
Registered User
 
Join Date: Oct 2006
Posts: 20
Downloads: 0
Uploads: 0
Default Re: multiple issues

This bug is in the roudcube bug tracker at

http://trac.roundcube.net/trac.cgi/ticket/1483926

I bet this problem is far more widespread than it appears. Most people don't look in their error logs and would never know this junk is in there.

Anyone having this problem should add to the bug listing so it gets more attention. I think the bug itself is pretty simple...the error has to do with blank spaces being inserted before PHP header() statements...I bet one (or more) of the PHP files has a stray space at the top or something.

If I had more time, I'd try and find the problem myself. Alas, I'm too busy USING roundcube to try to fix it.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-10-2006, 05:34 AM
Registered User
 
Join Date: Aug 2006
Posts: 57
Downloads: 0
Uploads: 0
Default Re: multiple issues

Solution appears to be in /program/include/rcube_shared.inc line 132

That line calls "header", but I think it's a stray... and should be deleted. It is the offending line for the errors - for certain - and the actual header is built on the next line anyway. I have commented out 132 and it has stopped the errors.

If I've misinterpreted something here, please let me know - but there is no function called "header".

Also - PLEASE check for correct starting and ending (especially ending) php tags in the following files:

/program/lib/Mail/mime.php <had extra CR after tag>
/program/lib/Net/SMTP.php <no ending tag>
/program/lib/Net/Socket.php <no ending tag>

kali
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 10-10-2006, 01:25 PM
Registered User
 
Join Date: Oct 2006
Posts: 198
Downloads: 0
Uploads: 0
Default Re: multiple issues

Kali, I did what you said, however I am still getting the error.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 10-10-2006, 01:54 PM
Registered User
 
Join Date: Oct 2006
Posts: 20
Downloads: 0
Uploads: 0
Default Re: multiple issues

Quote:
Originally Posted by kali
That line calls "header", but I think it's a stray...there is no function called "header".
Sure there is. The header() function is a standard PHP function.

Kali, I suggest that you add whatever findings you've made to the bug tracker thread: http://trac.roundcube.net/trac.cgi/ticket/1483926

You should also create a bug entry for the messed-up PHP formatting that you found. Even in the Beta stage, forgotten PHP end tags really shouldn't happen...that's a rookie mistake.

I think the entire code base needs to be inspected for issues like this.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 10-25-2006, 07:48 PM
Registered User
 
Join Date: Oct 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Re: multiple issues

Usually the header errors comes up if THERE'S empty line at the beginning OR at the end of php script.
to avoid this error use this function - ob_start() - @ the top before the header.

for more details check this link:
http://www.zend.com/zend/art/buffering.php
__________________
My own site http://www.bloui.com<br />Some of my sites<br />http://www.delimitor.com<br />http://www.sauditoon.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 12-17-2006, 11:34 AM
Registered User
 
Join Date: Dec 2006
Posts: 1
Downloads: 0
Uploads: 0
Default Re: multiple issues

I had a lot of "Cannot modify header information - headers already sent" messages and I was able to resolve it at least partially, following the http://trac.roundcube.net/trac.cgi/ticket/1483926 suggestion, AND by editing ALL the files in roundcube tree: i found several missing php terminations and some extra empty lines at bottom, but i noticed that some apparently correct files needed to be rewrited after editing to have a correct unix end-of file.

After this radical editing I reduced the messages to only one case: I have an error for each sent message, and ever in the same location:

[14-Dec-2006 18:07:27] PHP Warning: Cannot modify header information - headers already sent in /usr/local/roundcubemail-0.1beta2/program/include/rcube_shared.inc on line 132




Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Closed Thread


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 01:48 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community