Jump to:

7939 Posts in 1472 Topics by 944 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » Form stops at - StartUpload(): No files found in the queue.

Discuss the DataObjectManager module, and the related ImageGallery module.

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

Page: 1 2
Go to End
Author Topic: 2847 Views
  • bonesbrigade
    Avatar
    Community Member
    10 Posts

    Form stops at - StartUpload(): No files found in the queue. Link to this post

    Once again, thanks UncleCheese for your contribution to SS. I really love this module! Okay, the problem-

    Upon submission of a form that has an SWFuploadfield object, the page freezes after the user clicks on the submit button when there is no file uploaded.

    In other words, if the user doesn't upload a file (I dont want to require it) the form doesnt submit.

    In swfupload debug mode I get this message:

    "StartUpload(): No files found in the queue."

    And then it doesnt run the handleswfupload function at all. Any idea what is wrong?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    Hmm... yeah.. sounds like a bug. I don't think I've encountered a use case where the field wasn't required. I'll take a look.

  • bonesbrigade
    Avatar
    Community Member
    10 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    Any news? or does anyone have a quick fix?

  • UncleCheese
    Avatar
    4085 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    Try updating your SVN. I've issued a patch that should work, but I haven't tested it.

  • bonesbrigade
    Avatar
    Community Member
    10 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    Hmm I get an error:
    "TypeError: this.getStats is not a function".

    It does that regardless of whether I upload a file or not.

    My code, for reference:

       new SWFUploadField("resumeForm","Resume","Upload Resume",
             array (
             'file_types_list' => '*.pdf',
             'file_queue_limit' => '1',
             'browse_button_text' => 'Choose PDF...',
             'upload_url' => $this->Link("handleswfupload/$ID"),
             'button_image_url' => '/swfupload/images/upload_button.png',
             'button_height' => '24',
             'button_text_top_padding' => '3'
             )

  • keeny
    Avatar
    Community Member
    48 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    I'm getting that error too - "TypeError: this.getStats is not a function" in the Files & Images Area.

    I'm using 2.3.2 and all trunk versions of swfupload, dataobject and image_gallery

    Thanks,

    Barry

  • DrWebGuy
    Avatar
    Community Member
    16 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    When I try to upload images into the Files and Images portion of the CMS, I get the same error. This is only after updating both dataobject_manager and swfupload to the latest trunk versions.

    TypeError: Result of expression 'this.getStats' [undefined] is not a function.

  • UncleCheese
    Avatar
    4085 Posts

    Re: Form stops at - StartUpload(): No files found in the queue. Link to this post

    Sorry about that, guys. I checked in some bunk code. Try an update.

    2847 Views
Page: 1 2
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.