EE 1.6.7, Build 20090320 nGen File 0.9.7 FieldFrame 1.1.2
File upload path is fine, set to allow all file types (PDFs upload fine).
Very simple matrix set up with one dropdown and one file field. I can upload PDF files no problem, but some of my “entries” also have .swf files associated with them. When I attempt to browse for and upload a .swf, I get the following errors on a white screen (from lines 809 and 811) when I click the Update button:
Notice: Undefined variable: im in /…/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 809 Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /…/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 809 Notice: Undefined variable: im in /…/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 811 Warning: imagedestroy(): supplied argument is not a valid Image resource in /…/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php on line 811 Warning: Cannot modify header information - headers already sent by (output started at /…/system/extensions/fieldtypes/ngen_file_field/ft.ngen_file_field.php:809) in /…/system/core/core.functions.php on line 296
Any idea what I can do so that I can get around SWFs? Seems like nGen File might think it’s an image and is trying to create a thumbnail?
I should note that I can get this to work if I go back to the previous page, click “Update” again, then click “Edit this entry” on the next screen, then go back and select the SWF from the already uploaded files (apparently is does upload) and then clicking “Update” again. Not exactly what I want to instruct my client to do.
Thanks!
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.