Hello, I recently updated to svn and i'm getting errors in /var/log/apache2/error.log like this:
[client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_...
my suggestion is that it resolve referer in bad manner. i'm very probably wrong, so anybody have any suggestion?
Marian
toxygen wrote:
Hello, I recently updated to svn and i'm getting errors in /var/log/apache2/error.log like this:
Hmm, the SVN version should have output buffering included to avoid these problems. The reason for that can be some extra chars outside
<?php brackets that are sent as content. The "in Unknown on line 0" sounds a bit strange. Check your config files if there are any newlines added after ?>
~Thomas
[client 62.205.85.64] PHP Warning: Cannot modify header information - headers already sent in Unknown on line 0, referer: http://darken/mail/?_auth=194af_censored_019db793d31c9d&_task=mail&_... [...]
my suggestion is that it resolve referer in bad manner. i'm very probably wrong, so anybody have any suggestion?
Marian
On Thu, 15 Jun 2006 13:10:08 +0200, Thomas Bruederli roundcube@gmail.com wrote:
toxygen wrote:
Hello, I recently updated to svn and i'm getting errors in
/var/log/apache2/error.log like this:
Hmm, the SVN version should have output buffering included to avoid these problems. The reason for that can be some extra chars outside
I'm on SVN latest and get, not so often, this error messages.
<?php brackets that are sent as content. The "in Unknown on line 0" sounds a bit strange.
PHP will give this error message (yeah, the message really says nothing) anytime you output some char (even white spaces) and after that give a header() command.
Check your config files if there are any newlines added after ?>
New line is OK, but you can't have anything after it (white space, another new line, etc).
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1429843 bytes) in /var/www/html/number/mail/roundcubemail/program/lib/Mail/mimePart.php on line 236
I know, i cant change the limit on php.ini (from 8 to ??) but, i don't understand.. my attachement do only 1Mo ...
Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal error..
But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo .. not ton 1 ..
Thanks for your help
(And to finish, i have the same error than toxygen but no espace at the end of config)
Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la nouvelle version de Messenger! http://imagine-msn.com/minisites/messenger/default.aspx?locale=fr-be
Nobody ?? :-(
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1429843 bytes) in /var/www/html/number/mail/roundcubemail/program/lib/Mail/mimePart.php on line 236
I know, i cant change the limit on php.ini (from 8 to ??) but, i don't understand.. my attachement do only 1Mo ...
Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal error..
But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo .. not ton 1 ..
Thanks for your help
(And to finish, i have the same error than toxygen but no espace at the end of config)
Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la nouvelle version de Messenger! http://imagine-msn.com/minisites/messenger/default.aspx?locale=fr-be
Please keep in mind that 8 Mb is for the entire program, not just
attachments. There must not have been 1.4 Mb left out of the 8 Mb.
If you send that error to your web hosting provider/ISP/etc, I'm sure
they would raise the limit in php.ini for you?
Rich
On Jun 18, 2006, at 12:58 AM, Num ber wrote:
Nobody ?? :-(
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried
to allocate 1429843 bytes) in /var/www/html/number/mail/ roundcubemail/program/lib/Mail/mimePart.php on line 236I know, i cant change the limit on php.ini (from 8 to ??) but, i
don't understand.. my attachement do only 1Mo ...Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal
error..But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo ..
not ton 1 ..Thanks for your help
(And to finish, i have the same error than toxygen but no espace
at the end of config)Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la
nouvelle version de Messenger! http://imagine-msn.com/minisites/ messenger/default.aspx?locale=fr-be
Thanks for your reply.. Yes i know that, but where can i fond the 6Mb that the program use?
For-me, a mail with an attachement (1.4mo) with no text,no subject, to only one recepien..
Never do more than 8 Mo ... or i'm crazy..
I can test with a limite more than 8Mo, but what value can i put ? 16Mo? 20Mo ? What are the value than most people use?
Many thanks
Please keep in mind that 8 Mb is for the entire program, not just
attachments. There must not have been 1.4 Mb left out of the 8 Mb.If you send that error to your web hosting provider/ISP/etc, I'm sure they would raise the limit in php.ini for you?
Rich
On Jun 18, 2006, at 12:58 AM, Num ber wrote:
Nobody ?? :-(
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1429843 bytes) in /var/www/html/number/mail/ roundcubemail/program/lib/Mail/mimePart.php on line 236
I know, i cant change the limit on php.ini (from 8 to ??) but, i don't understand.. my attachement do only 1Mo ...
Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal error..
But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo .. not ton 1 ..
Thanks for your help
(And to finish, i have the same error than toxygen but no espace at the end of config)
Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la nouvelle version de Messenger! http://imagine-msn.com/minisites/ messenger/default.aspx?locale=fr-be
Votre ordinateur est aussi bien rangé que votre chambre ? Retrouvez tout avec la barre d'outils MSN Search ! http://join.msn.com/mobile-Messaging/overview
Num ber wrote:
Thanks for your reply.. Yes i know that, but where can i fond the 6Mb that the program use?
For-me, a mail with an attachement (1.4mo) with no text,no subject, to only one recepien..
Never do more than 8 Mo ... or i'm crazy..
I can test with a limite more than 8Mo, but what value can i put ? 16Mo? 20Mo ? What are the value than most people use?
Many thanks
Please keep in mind that 8 Mb is for the entire program, not just
attachments. There must not have been 1.4 Mb left out of the 8 Mb.If you send that error to your web hosting provider/ISP/etc, I'm sure they would raise the limit in php.ini for you?
Rich
On Jun 18, 2006, at 12:58 AM, Num ber wrote:
Nobody ?? :-(
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried
to allocate 1429843 bytes) in /var/www/html/number/mail/ roundcubemail/program/lib/Mail/mimePart.php on line 236I know, i cant change the limit on php.ini (from 8 to ??) but, i
don't understand.. my attachement do only 1Mo ...Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal
error..But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo ..
not ton 1 ..Thanks for your help
(And to finish, i have the same error than toxygen but no espace
at the end of config)Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la
nouvelle version de Messenger! http://imagine-msn.com/minisites/ messenger/default.aspx?locale=fr-be
Votre ordinateur est aussi bien rangé que votre chambre ? Retrouvez tout avec la barre d'outils MSN Search ! http://join.msn.com/mobile-Messaging/overview
I think 32 MB was the most used size I've seen people suggest. It's 4 times the current size, and you can set it in any .htaccess file.
~Brett
This is a known problem (Ticket #1456986) and it depends on the PEAR class that is used to create the multipart message. Please note that files have to be encoded to base64 for sending which will grow them by 30-50%. Also the whole message is kept in memory before sending it to the SMTP server. One solution would be rewrite the class working with a file stream but if you're using the mail() function, the whole message body has to be passed as a variable. And we're back where we are.
We will try to optimize the memory usage with the current class by using more references but this wouldn't solve the problem entirely.
Regards, Thomas
Num ber wrote:
Thanks for your reply.. Yes i know that, but where can i fond the 6Mb that the program use?
For-me, a mail with an attachement (1.4mo) with no text,no subject, to only one recepien..
Never do more than 8 Mo ... or i'm crazy..
I can test with a limite more than 8Mo, but what value can i put ? 16Mo? 20Mo ? What are the value than most people use?
Many thanks
Please keep in mind that 8 Mb is for the entire program, not just attachments. There must not have been 1.4 Mb left out of the 8 Mb.
If you send that error to your web hosting provider/ISP/etc, I'm sure they would raise the limit in php.ini for you?
Rich
On Jun 18, 2006, at 12:58 AM, Num ber wrote:
Nobody ?? :-(
Hello,
I'm use roundcube and roundcube svn for test-it... And when i try to send a mail with a attachement i have this error :
Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1429843 bytes) in /var/www/html/number/mail/ roundcubemail/program/lib/Mail/mimePart.php on line 236
I know, i cant change the limit on php.ini (from 8 to ??) but, i don't understand.. my attachement do only 1Mo ...
Why roundcube use more than 8Mo ? and give this error? When i send a mail with a .doc (577ko) i don't have this fatal error..
But with two or 2 .doc (577ko) i don't have this error..
I really don't understand.. the maximum memory is set to 8mo .. not ton 1 ..
Thanks for your help
(And to finish, i have the same error than toxygen but no espace at the end of config)
Manhy thanks :-)
Retrouvez vos dossiers de partage où que vous soyez grâce à la nouvelle version de Messenger! http://imagine-msn.com/minisites/ messenger/default.aspx?locale=fr-be
Votre ordinateur est aussi bien rangé que votre chambre ? Retrouvez tout avec la barre d'outils MSN Search ! http://join.msn.com/mobile-Messaging/overview