Bug Report

EE will not display file upload location content if folder contains large SWF file

Date: 10/09/2008 Severity: Minor
Status: Resolved Reporter: Nathan Pitman (Nine Four)
Version: EE 1.6.4 Assigned To: Not Assigned
Keywords: Control Panel, Publish

Details

I have been using the Low File Manager Module to display file upload locations. I discovered that the module was not displaying upload folders with large files in (50+Mb).

I realised that the module uses the native ‘create_filelist’ function to return file lists and contacted Low, he suggested it may be a problem with this function and not his module so we tried to display the contents of the folder in question using the EE pop-up file browser from the publish/edit tab, same result.

After some further investigation I have been able to work out that the problem is with a large ‘SWF’ file that the client has in this folder. The file is 52.7Mb and if required I can send it over for testing.

Hope this is all of some help! I think Low will be contacting you also… smile

Comment on Bug Report

Page 1 of 1 pages
Posted by: Derek Jones on 9 October 2008 8:59am
Derek Jones's avatar

Nathan, I can’t recreate the described behavior, even using 200MB files.  I’m going to number these so we don’t leave anything out.

1) Can you email me a link to the flash file(s) that seem to be jamming you up?  Also, what are the details of the environment this is hosted on?  This information can be found in Admin > Utilities > PHP Info

2) PHP Version
3) System
4) Server API

5) Also, were these files uploaded via the file upload utility, or FTP?  If the latter, do the permissions and owner match that of files uploaded via ExpressionEngine?

Posted by: Nathan Pitman (Nine Four) on 9 October 2008 9:50am
Nathan Pitman (Nine Four)'s avatar

1) http://dl.getdropbox.com/u/102916/morpheus_demo.swf
2) 5.2.5
3) Linux ninefaa2.miniserver.com 2.6.18-u11-p4 #1 SMP Thu May 15 09:44:28 BST 2008 i686
4) Apache 2.0 Handler
5) via FTP. File perms and owner are all correct.

Posted by: Derek Jones on 9 October 2008 9:56am
Derek Jones's avatar

Ok, I’ll download and do some testing here.  In the meantime, make sure PHP error reporting is enabled, and in cp.filebrowser.php, remove the @ symbol from in front of getimagesize() on line 257.  I think I see what might be going on.

Posted by: Derek Jones on 9 October 2008 9:59am
Derek Jones's avatar

Yep, looks like a PHP memory error right there.  Emailing you a fixed file.

Posted by: Nathan Pitman (Nine Four) on 9 October 2008 1:43pm
Nathan Pitman (Nine Four)'s avatar

Yup, that file does the trick. Thanks very much!!! smile

Name:

Email:

Location:

URL:

Remember my personal information

Notify me of follow-up comments?