Author Topic: Attachment dont upload :((  (Read 5952 times)

Offline Stevo_Alex19

  • Newbie
  • *
  • Posts: 4
Attachment dont upload :((
« on: August 21, 2012, 08:26:47 AM »
Hi,

i have big trouble with uploading files to attachment in roundcube.

If i upload small attachment ( 100 - 200 kB ) everything working...

But when i want upload larger file ( 1,09MB xls file ) it will never upload it. I choose file, progress bar start twirl ( on right side ) and i can see activity in window ( sending request on my server ) but after while sending request stop, progress bar stay twirling forever and nothing happend...

I try to upload that same XLS file there: http://demo.roundcube.net/ and its without any problem.

I set post_max_filesize, upload_max ... Allow uploading... Max execution time and i set it also in RC root in htaccess... So there is no any problem with php.ini settings. I have also chmod 0777 for temp and logs folders, i set mime types also... There is no problem with mime types, since i can upload 80kB jpg, but i will never upload 1MB jpg file.

Here i made demo account so you can try it. Upload small file - no problem, try to upload large file... It will never be done.:
http://188.138.112.31/webmail/
Login: demo@dotdns.sk
Password: demodemo

What to do now ???
« Last Edit: August 21, 2012, 08:29:57 AM by Stevo_Alex19 »

Offline Stevo_Alex19

  • Newbie
  • *
  • Posts: 4
Re: Attachment dont upload :((
« Reply #1 on: August 21, 2012, 12:20:01 PM »
Can someone with working upload send me CONFIG FILES ??? DB.IN.PHP and MAIN.INC.PHP

Offline alec

  • Hero Member
  • *****
  • Posts: 1,365
Re: Attachment dont upload :((
« Reply #2 on: August 21, 2012, 01:06:31 PM »
Upload request returns internal server error 500. Check your logs.

Offline Stevo_Alex19

  • Newbie
  • *
  • Posts: 4
Re: Attachment dont upload :((
« Reply #3 on: August 21, 2012, 02:02:09 PM »
Upload request returns internal server error 500. Check your logs.

How you find ERROR 500 ???

There is no any error in ROUNDCUBE /logs/ there is only file SENDMAIL and i can see informations about sent emails.

I look into apache errors log and here is something:
[21/Aug/2012:14:41:27 +0200] "POST /webmail/?_task=mail&_id=1726238652503381c7e7f5d&_uploadid=1345552886383&_action=upload HTTP/1.1" 500 1355 "http://188.138.112.31/webmail/?_task=mail&_id=1726238652503381c7e7f5d&_action=compose" "Mozilla/5.0 (X11; BSD Four) AppleWebKit/534.34 (KHTML, like Gecko) konqueror/4.8.4 Safari/534.34"

Then i look into default-error and i can see ( i modify IP ADRESS ):
[Tue Aug 21 14:41:30 2012] [warn] [client 78.40.XXX.XXX] mod_fcgid: HTTP request length 131768 (so far) exceeds MaxRequestLen (131072), referer: http://188.138.112.31/webmail/?_task=mail&_id=1726238652503381c7e7f5d&_action=compose

Offline Stevo_Alex19

  • Newbie
  • *
  • Posts: 4
Re: Attachment dont upload :((
« Reply #4 on: August 21, 2012, 02:31:19 PM »
Okay, thank you very much for your help :)) Now as i know that i have error 500 i google for this error and i found solution.

I edit my master apache conf and add this: MaxRequestLen 104857600 after <IfModule mod_fcgid.c>

So now myximum is 100MB for me :))

and now everything is working without any problem :))