Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

SWFUpload Problem


Reply


5 Posts   2417 Views

Avatar
sca123

Community Member, 61 Posts

25 October 2009 at 9:14am

Everytime I attempt to upload an image it is not saved in the folder and the database records a file of name "file-name". I have checked permissions on assets and they are all correct.

Here is the output of the SWFUpload debug:

SWF DEBUG: ----- SWF DEBUG OUTPUT ----
SWF DEBUG: Build Number: SWFUPLOAD 2.2.0 Alpha 2008-10-17
SWF DEBUG: movieName: SWFUpload_0
SWF DEBUG: Upload URL: http://url/FileDataObjectManager_Controller/handleswfupload
SWF DEBUG: File Types String: *.*
SWF DEBUG: Parsed File Types:
SWF DEBUG: File Types Description: ()
SWF DEBUG: File Size Limit: 10485760 bytes
SWF DEBUG: File Upload Limit: 20
SWF DEBUG: File Queue Limit: 20
SWF DEBUG: Post Params:
SWF DEBUG: controllerID=20
SWF DEBUG: dataObjectClassName=File
SWF DEBUG: hasDataObject=0
SWF DEBUG: parentIDName=ParentID
SWF DEBUG: dataObjectFieldName=
SWF DEBUG: fileClassName=File
SWF DEBUG: OverrideUploadFolder=assets/galleries/
SWF DEBUG: fileFieldName=Files
SWF DEBUG: ----- END SWF DEBUG OUTPUT ----
SWF DEBUG:
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Select Handler: Received the files selected from the dialog. Processing the file list...
SWF DEBUG: Event: fileQueued : File ID: SWFUpload_0_0
SWF DEBUG: Event: fileDialogComplete : Finished processing selected files. Files selected: 1. Files Queued: 1
SWF DEBUG: Event: fileDialogStart : Browsing files. Multi Select. Allowed file types: *.*
SWF DEBUG: Event: fileDialogComplete: File Dialog window cancelled.
SWF DEBUG: StartUpload: First file in queue
SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
SWF DEBUG: Global Post Item: controllerID=20
SWF DEBUG: Global Post Item: dataObjectClassName=File
SWF DEBUG: Global Post Item: hasDataObject=0
SWF DEBUG: Global Post Item: parentIDName=ParentID
SWF DEBUG: Global Post Item: dataObjectFieldName=
SWF DEBUG: Global Post Item: fileClassName=File
SWF DEBUG: Global Post Item: OverrideUploadFolder=assets/galleries/
SWF DEBUG: Global Post Item: fileFieldName=Files
SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://new.pleasaunce.co.uk/FileDataObjectManager_Controller/handleswfupload for File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0
SWF DEBUG: Event: uploadProgress: File ID: SWFUpload_0_0. Bytes: 1654. Total: 1654
SWF DEBUG: Event: uploadError: HTTP ERROR : File ID: SWFUpload_0_0. HTTP Status: 500.
SWF DEBUG: Event: uploadComplete : Upload cycle complete.
Error Code: -200, File name: small_logo.jpg, File size: 1654, Message: 500

Any help would be truly appreciated.

Avatar
UncleCheese

4086 Posts

25 October 2009 at 11:26am

sca123,

This is the kind of thing I would need to troubleshoot on your server. If you'd like, you can contact me through my website to set up a time for me to take a look.

Avatar
UncleCheese

4086 Posts

25 October 2009 at 11:28am

Although, I do notice that this field is empty:

SWF DEBUG: Global Post Item: dataObjectFieldName=

Which is causing your 500 error. Something is screwed up in your model. Post your code. It might be something simple.

Avatar
sca123

Community Member, 61 Posts

27 October 2009 at 12:12am

Hi UncleCheese

Thats great. I've also done a fresh install under another subdomain and the same is happening - so I assume that it is server specific.

What's your website so I can book a date/time?

thanks

Avatar
UncleCheese

4086 Posts

27 October 2009 at 1:45am

http://www.carlinowebdesign.com

Thanks. Should have some availability around mid-week (as of now). :)