Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#1483881 closed Bugs (duplicate)

Failed to Download Attachment of 1.9M

Reported by: Peter Leung Owned by:
Priority: 1 - Highest Milestone: 0.1-beta2
Component: IMAP connection Version: later
Severity: normal Keywords: Attachment
Cc:

Description

Using 2006/07/03 Release
Failed to Download Attachment of 1.9M and shown a blank screen.
But other email with smaller attachment works fine.

Attachments (1)

roundcube_in_blankscreen.JPG (59.9 KB) - added by Peter Leung 7 years ago.
Unexpected Blank screen while opening an email with attachment.

Download all attachments as: .zip

Change History (4)

Changed 7 years ago by Peter Leung

Unexpected Blank screen while opening an email with attachment.

comment:1 Changed 7 years ago by Peter Leung

Version:
v0.1-20060703

Server:
Apache version Apache/2.2.0
MySQL version 5.0.18

Test pc:
Linux fedora5 2.6.15-1.2054_FC5 and Internet Explorer 6

Errors : Failed to Download Attachment of 1.9M and shown a blank screen. But other email with smaller attachment works fine

comment:2 Changed 7 years ago by LlamaGuy

  • Resolution set to duplicate
  • Status changed from new to closed

There are already multiple tickets filed for this problem, I believe a rewrite for attachments is in the works.

For a temporary workaround, please add something to the effect of:

ini_set('memory_limit', '32M');

To your main.inc.php file.

comment:3 Changed 7 years ago by Peter Leung

Course : Error_log of Apache found :

[Sat Jul 08 01:21:52 2006] [error] [client 221.127.23.107] PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 1999387 bytes) in /var/www/html/program/lib/Mail/mimeDecode.php on line 388

Fixed :

add a line into the top of
/var/www/html/program/lib/Mail/mimeDecode.php
...
ini_set("memory_limit",$CONFIGmemory_limit?);
...
and add an option into main.inc.php

$rcmail_configmemory_limit? = '24M';

Note: See TracTickets for help on using tickets.