NOTE: If you are a developer, please use a private wiki based on foswiki/trunk on a daily base ...or use trunk.foswiki.org to view this page for some minimal testing.
Use Item11383 for general documentation changes for release 1.1.5. Use Item9693 for docu changes for release 2.0.

Item1619: Attach big files fails with a blank page

Priority: CurrentState: AppliesTo: Component: WaitingFor:
Low New Engine attach  

Attach of big files fails and shows a blank page

  • example file-size: -rw-r--r-- 1 anhe urz 19285049 12. Mai 10:30 vmware-vmrc-2.5.0-122581.i386.tgz
  • also the manage of such files fails with the same error
    vmware-vmrc-2.5.0-122581.i386.rpm manage 17450.1 K 10 Feb 2009 - 16:21 AndreasHeik? VMware Remote Console
  • the file can be found in pub/... with not extend the attach table and no added link if selected

From apache error log:
[Tue May 12 10:42:02 2009] [error] [client 134.109.200.234] Premature end of script headers: attach, referer: https://twiki.tu-chemnitz.de/bin/view/W2/W2vsh/WwWindex
[Tue May 12 10:42:02 2009] [error] [client 134.109.200.234] File does not exist: /mnt/wiki/Foswiki/bin/viewerror, referer: https://twiki.tu-chemnitz.de/bin/view/W2/W2vsh/WwWindex

-- GuentherFischer - 12 May 2009

The problem is not solved in 1.0.6. As the attachment obove points out - the problem was not in 1.0.0 like foswiki.org (why not the actual release? Also not in the trunc-foswiki. What cat I do - it doesnt work with or without modperl. I have tested with the file sise and saw:

-rw-r--r-- 1 fischer urz 11113368 23. Jun 08:25 T2 -rw-r--r-- 1 fischer urz 12226599 23. Jun 08:27 T3

T2 could be attached - T3 goes to the described error -> blank page and the 2 lines in the error.log The problem becomes painful for me so I put the prority to Urgent ...

-- GuentherFischer - 23 Jun 2009

The problem is probably due to your running out of disc space (possibly in /tmp), or the apache process timing out. I doubt it's anything to do with Foswiki per se, more likely to be your web server configuration.

FYI I don't have any problem uploading a file that size.

-- CrawfordCurrie - 23 Jun 2009

Günther, could you run grep -r 'viewerror' to see where the reference to .../bin/viewerror comes from in the first place? Are you using any 'non-default' Foswiki plugins and/or web server modules which possibly affect the upload process (virus scanners, intrusion detection engines, etc)?

-- MarkusUeberall - 23 Jun 2009

I think I found an error on my side, so I take priority to low. I will report later. Thanks to Crawford and Markus.

-- GuentherFischer - 23 Jun 2009

Oh terrible - I changed from RcsLite to RcsWrap and no further problems with attach files and delete attachments. So I think there is a serios problem with RcsLite and attach - I change the priority back to normal. Can anybody try modperl, RcsLite and attach big files to reproduce the problem. I can stay with the situation but I think its a real problem.

-- GuentherFischer - 24 Jun 2009

ItemTemplate edit

Summary Attach big files fails with a blank page
ReportedBy GuentherFischer
Codebase 1.0.6, 1.0.5
SVN Range Foswiki-1.0.0, Thu, 08 Jan 2009, build 1878
AppliesTo Engine
Component attach
Priority Low
CurrentState New
WaitingFor
Checkins
TargetRelease n/a
ReleasedIn
Topic revision: r6 - 24 Jun 2009 - 13:48:07 - GuentherFischer
 
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. see CopyrightStatement. Creative Commons LicenseGet Foswiki at sourceforge.net. Fast, secure and Free Open Source software downloads