Roundcube Community Forum
Release Support => Pending Issues => Topic started by: xxqboyxx on October 30, 2009, 11:33:45 AM
-
Hi,
I have been trying a few days to fiddle with this problem. The web client works GREAT, the only issues I have is when sending mail with attachments greater than 6MB. Roundcube just hangs at "Sending message" and never goes through. If I send a mail with attachments less than 6MB it will go through just fine.
I've tried everything from adding "php.ini" file and set the attributes:
post_max_size = 800000000
upload_max_filesize = 800000000
Also adding "settings.php" and set the attributes:
ini_set('post_max_size', '800000000');
ini_set('upload_max_filesize', '800000000');
I was not successful. I really like roundcube and don't mind supporting it, I'm willing to donate $50.00 if I can get this to work please. Thanks!
Also here's an error in the log I'm getting:
"[30-Oct-2009 15:26:46] PHP Fatal error: Out of memory (allocated 30670848) (tried to allocate 3193332 bytes) in /homepages/1/d278902607/htdocs/roundcube/program/lib/Mail/mimePart.php on line 256"
-
It's a know problem #1484660 (Attachment Excessive Memory Use Error) ? Roundcube Webmail (http://trac.roundcube.net/ticket/1484660) You can increasing the memory_limit in the .htaccess to get larger uploads to work.
-
My host is 1and1 and they say the php memory limit is set to 20MB and I CANNOT increase this because it is a shared hosting package. Is 20MB enough to run roundcube if uploading large attachments?
Thanks.
-
I have same issue.
I also have 1and1 shared hosting
I am also willing to donate
we really need this to work
-
have you controlled your .htaccess in the config folder?
there must be an entry as described in the install file:
php_value upload_max_filesize 2M
instead of 2m you must place your max. value, so not more than 20m in your case.
-
have you controlled your .htaccess in the config folder?
there must be an entry as described in the install file:
php_value upload_max_filesize 2M
instead of 2m you must place your max. value, so not more than 20m in your case.
The problem is the memory limit there a bug that cause the memory limit to be more then double the attachment size, the memory limit is how much ram RoundCube is allowed to use and a lot of shared hosts limit the the amount you are allowed to use so one user doesn't over use the server resources.
-
yah ive tried almost everything i could think of and i hope to get this working asap. other mail clients don't have a problem sending 10-20mb files. if only roundcube would work
-
Have you tried using this patch http://public.lanl.gov/jbarbuc/patches/roundcube/roundcubemail-0.1.1.attach.patch I haven't tested it but its reported to work, use at your own risk.
-
yeah tried that too, don't work either =T
-
Im game to try anything. but i dont want to sound dumb here but how to you patch roundcube with that file?
-
Im game to try anything. but i dont want to sound dumb here but how to you patch roundcube with that file?
I believe this is the "rcube_imap.inc" file. Pretty much just copy and paste that in a text editor and save it as "rcube_imap.inc" without the quotes. Replace the one in the roundcube directory located in: "roundcube/program/include/rcube_imap.inc".
Just so you know, I've tried this method before posting here. But you can try it, just backup the old one before you replace it with the one skaero posted.
-
I believe this is the "rcube_imap.inc" file. Pretty much just copy and paste that in a text editor and save it as "rcube_imap.inc" without the quotes. Replace the one in the roundcube directory located in: "roundcube/program/include/rcube_imap.inc".
Just so you know, I've tried this method before posting here. But you can try it, just backup the old one before you replace it with the one skaero posted.
No that isn't how you apply a patch, read this for information on how to apply the patch http://www.roundcubeforum.net/recycle-bin/1113-html-patch-2007-01-15-a.html#post6141
-
Oh I guess it was more complicated then I thought. On the other hand, I don't think 1and1 give you root access on a shared hosting package.
-
I just tested it and it doesn't work right now, all of the file paths in the patch are wrong so I am guessing its just to far out of date.
-
skaero do you do web design? We are looking for someone to do web designing for our company at an affordable price...
-
I do web design, I sent you a PM.
-
Hi i passed some days to solve this problem, but now works fine...
I´m sending attachments with 25Mb...
you need to change some lines in 2 files: php.ini and .htaccess
i´m using RoundCube 0.3 stable with Apache 2.2.8 and PHP 5.2.4
i put to send attachments until 25mb
my php.ini
max_execution_time = -1
max_input_time = -1
memory_limit = 384M
post_max_size = 27M
file_uploads = On
upload_max_filesize = 25M
my .htaccess
php_value upload_max_filesize 25M
php_value post_max_size 27M
php_value memory_limit 384M
if you wanna send attachments more than 25Mb you must up memory_limit value
i hope this solve your problem!!
-
Thanks that helped me a lot!
-
my php.ini
max_execution_time = -1
max_input_time = -1
memory_limit = 384M
post_max_size = 27M
file_uploads = On
upload_max_filesize = 25M
my .htaccess
php_value upload_max_filesize 25M
php_value post_max_size 27M
php_value memory_limit 384M
works fine for me.
thanx!!
-
Hi i passed some days to solve this problem, but now works fine...
I´m sending attachments with 25Mb...
you need to change some lines in 2 files: php.ini and .htaccess
i´m using RoundCube 0.3 ...
I've installed roundcube 0.3.1 with simplescripts and cant find php.ini. I've tried just changing .htaccess, but it still say maximum 2,0MB upload on attachments. And if I upload more then 2 MB it gives me upload failed.
Anyone have a solution?
Cheers
TO
-
Im having the same problem max 2 mb upload .
-
I have the same problem too.
First I tried with mail.inc.php wich would be a proper place to find the setting for max attachment size, but there was nothing.
-
Web Fly Software is a reliable web solution provider, widening the reach of business to make your presence felt in the online world. As one of the best web development and web design company in India,webflysoftware are committed to deliver high standard and affordable web solutions involving an advanced approach together with years of experience and expertise. Webflysoftware provides services website design ,website development,flash design,logo design and online marketing.