Jump to:

10994 Posts in 2728 Topics by 1819 members

All other Modules

SilverStripe Forums » All other Modules » SWFUpload Problem

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 2386 Views
  • sca123
    Avatar
    Community Member
    61 Posts

    SWFUpload Problem Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: SWFUpload Problem Link to this post

    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.

  • UncleCheese
    Avatar
    4085 Posts

    Re: SWFUpload Problem Link to this post

    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.

  • sca123
    Avatar
    Community Member
    61 Posts

    Re: SWFUpload Problem Link to this post

    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

  • UncleCheese
    Avatar
    4085 Posts

    Re: SWFUpload Problem Link to this post

    http://www.carlinowebdesign.com

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

    2386 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.