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… ![]()
Comment on Bug Report
| Posted by: Derek Jones on 9 October 2008 8:59am | |
|
|
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 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 | |
|
|
1) http://dl.getdropbox.com/u/102916/morpheus_demo.swf |
| Posted by: Derek Jones on 9 October 2008 9:56am | |
|
|
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 | |
|
|
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 | |
|
|
Yup, that file does the trick. Thanks very much!!! |
