Roundcube Community Forum

 

Cannot attach files or forward messages with attached files

Started by T-13, December 19, 2011, 02:11:30 PM

Previous topic - Next topic

T-13

i have IIS7 on a win server 2008 R2 and hmailserver

Roundcube will send and receive emails just fine but i can't attach any files to an email or forward an email with an attachment. I can however receive and download attachments that have been sent to me.

if i click the attachment icon on the top i get the browse prompt just fine but after I select the file it just says "Uploading file..." but never uploads it

I have the php safe mode set to OFF
my max post size is 25M my max file size is 20M and the file i'm testing is 401 bytes (text file)
I set the temp file directory to be the temp file in roundcube

anything else I can do to get this to work?

SKaero


T-13


klausguenter


T-13

yes file_uploads = On

I get a 500 error when I try to forward an email with an attachment if that sparks anything?

SKaero

500 means server error, it should be putting something in the RoundCube error log.

T-13

the error log has a few errors like this

[14-Dec-2011 12:07:42 -0600]: IMAP Error: Login failed for info@trisomy-13.com from 70.89.242.50. LOGIN: Invalid user name or password. in C:\inetpub\wwwroot\Webmail\program\include\rcube_imap.php on line 199 (POST /?_task=login&_action=login)


that is all, i also checked IIS it doesn't have anything in the event log
and my Hmailserver doesn't have any real errors in its log ether

Julius Caesar

And what does the ISS-log mention about the 500-error?
Julius Caesar

You can download the Groupvice4 theme here.
Sie können Groupvice4 hier he

T-13

there are no errors in the IIS7 event log only "information" logs informing me its not really being used

"A worker process with process id of '2636' serving application pool 'Webmail' was shutdown due to inactivity.  Application Pool timeout configuration was set to 20 minutes.  A new worker process will be started when needed."

this is the 500 error

500 - Internal server error.
There is a problem with the resource you are looking for, and it cannot be displayed.

when i refreshed the error page it loaded the message without the attachment and allowed me to forward the message, i did receive it but still no attachment

apparently it was a php error not an IIS error, but that gave me the idea to dig into the error itself a bit... here is the php error

PHP Warning:  fopen(): Filename cannot be empty in C:\inetpub\wwwroot\Webmail\plugins\filesystem_attachments\filesystem_attachments.php on line 84


this is the iis call before the error
2011-12-21 21:12:40 ::1 GET / _task=mail&_id=9899985094ef24bc6f0394&_action=compose 80 - ::1 Mozilla/5.0+(Windows+NT+6.0;+WOW64;+rv:7.0.1)+Gecko/20100101+Firefox/7.0.1 500 0 0 1077

T-13