Jump to:

10850 Posts in 2517 Topics by 1793 members

All other Modules

SilverStripe Forums » All other Modules » swfupload without progress

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 1192 Views
  • rsrkrishna
    Avatar
    Community Member
    3 Posts

    swfupload without progress Link to this post

    Hi
    I have tried for past 6-7 hours without success, probably the problem might look obvious to most of you...

    when I tried to upload files from Admin Backend Files&Images section, it was showing as if it is uploading "uploading" in the status bar without any progress, can be seen in the attached file, size of the file is not an issue as the files I am trying are small in size.

    Debug output

    ---SWFUpload Instance Info---
    Version: 2.2.0 Alpha
    Movie Name: SWFUpload_0
    Settings:
       upload_url: http://www.rudrapati.in/webss/FileDataObjectManager_Controller/handleswfupload
       flash_url: http://www.rudrapati.in/webss/swfupload/javascript/swfupload.swf?swfuploadrnd=822370542
       use_query_string: false
       file_post_name: swfupload_file
       post_params: [object Object]
       file_types:
       file_types_description:
       file_size_limit: 10MB
       file_upload_limit: 20
       file_queue_limit: 20
       debug: true
       prevent_swf_caching: true
       button_placeholder_id: spanButtonPlaceholder
       button_image_url: http://www.rudrapati.in/webss/swfupload/images/upload_button.png
       button_width: 180
       button_height: 24
       button_text: <span class='button'>Upload files</span>
       button_text_style: .button { font-family: Helvetica, Arial, sans-serif; font-size: 12px; }
       button_text_top_padding: 6
       button_text_left_padding: 6
       button_action: -110
       button_disabled: false
       custom_settings: [object Object]
    Event Handlers:
       swfupload_loaded_handler assigned: true
       file_dialog_start_handler assigned: true
       file_queued_handler assigned: true
       file_queue_error_handler assigned: true
       upload_start_handler assigned: true
       upload_progress_handler assigned: true
       upload_error_handler assigned: true
       upload_success_handler assigned: true
       upload_complete_handler assigned: true
       debug_handler assigned: true

    SWF DEBUG: SWFUpload Init Complete
    SWF 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://www.rudrapati.in/webss/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=112
    SWF DEBUG: dataObjectClassName=File
    SWF DEBUG: hasDataObject=0
    SWF DEBUG: parentIDName=ParentID
    SWF DEBUG: dataObjectFieldName=
    SWF DEBUG: fileClassName=File
    SWF DEBUG: OverrideUploadFolder=assets/PublicDocs/
    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: StartUpload: First file in queue
    SWF DEBUG: Event: uploadStart : File ID: SWFUpload_0_0
    SWF DEBUG: Global Post Item: controllerID=112
    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/PublicDocs/
    SWF DEBUG: Global Post Item: fileFieldName=Files
    SWF DEBUG: ReturnUploadStart(): File accepted by startUpload event and readied for upload. Starting upload to http://www.rudrapati.in/webss/FileDataObjectManager_Controller/handleswfupload for File ID: SWFUpload_0_0
    SWF DEBUG: Event: uploadProgress (OPEN): File ID: SWFUpload_0_0

    thanks

    SRK

    Attached Files
  • UncleCheese
    Avatar
    4085 Posts

    Re: swfupload without progress Link to this post

    6-7 hours? That's about 6-7 hours too long. Just follow the troubleshooting section in the swfuploadfield documentation. It's kind of a pain, but you'll eventually figure out where the problem is. You just step through one line at a time in your handleswfupload() method until you find the problem line.

    Chances are if it's happening in AssetAdmin, it's probably a permissions issue, I would think.

  • rsrkrishna
    Avatar
    Community Member
    3 Posts

    Re: swfupload without progress Link to this post

    thanks UncleCheese for your quick response,

    actually problem was with web server, I had a long talk with hosting providers to solve the issue, as soon as they disabled mod_security for my domain everything going smooth.

    thanks again

    SRK

    1192 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.