WordPress.org

Ready to get started?Download WordPress

Forums

Simple Dropbox Upload
[resolved] Upload to Dropbox Hit or Miss (39 posts)

  1. sunprinting
    Member
    Posted 1 year ago #

    I have the file submission uploading to my dropbox but some submissions make it through and others don't. When is fails It says it is done uploading (progress bar finishes) but the page does not refresh with the confirmation text and no files reach Dropbox or the WP uploads file. File sizes range from 1 MB to 20 MB. No error message or error pages are displayed so clients are unsure if their files have been submitted successfully or not.

    http://wordpress.org/extend/plugins/simple-dropbox-upload-form/

  2. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    The larger the file the longer its going to take to upload to dropbox. Once the file gets uploaded to your host/server, It then needs to be uploaded to dropbox which takes about the same amount of time. I have been working on a better way to inform people of the status but have not had allot of time.

  3. sunprinting
    Member
    Posted 1 year ago #

    Yes, I understand. I have walked three customers through the process after they reported a failure and they mention it appears to be uploading but after about 30 seconds it stops like the upload has timed out. Nothing.

  4. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    You might need to change the max_execution_time for PHP. The default is 30 seconds.

  5. sunprinting
    Member
    Posted 1 year ago #

    The max_execution_time is set at 300. It is failing within the first minute or two.

  6. sunprinting
    Member
    Posted 1 year ago #

    Max file size is set at 64 mb.

  7. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    What version of the plugin and php do you have?

  8. sunprinting
    Member
    Posted 1 year ago #

    WordPress= 3.5
    Plugin = 1.8.5

  9. sunprinting
    Member
    Posted 1 year ago #

    Smartvision Theme

  10. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    Can you tell me what version of PHP your host/server is running?

  11. sunprinting
    Member
    Posted 1 year ago #

    5.3.18

  12. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    I just updated my wordpress to 3.5 last night and have not gotten to test the functionality of this plugin yet, though I noticed numerous plugins I have are not compatible with 3.5. I will let you know what I find.

  13. sunprinting
    Member
    Posted 1 year ago #

    Thanks.

  14. sunprinting
    Member
    Posted 1 year ago #

    I've created a private page to test out the file upload. One third of uploads failed after they reached 100% and said communicating with the site address. No page refresh or success/failure notification. The larger the file (above 10Mb)the more likely to fail but not an absolute factor. Sometimes the same file will go through when submitted a second time. Tried different file types and no correlation there. I've tested it on a dummy sight with default theme and no plug-ins and same problems.

  15. sunprinting
    Member
    Posted 1 year ago #

    Here is the link to the private page that I have it set up on now so customers can't access it.

    <a

  16. sunprinting
    Member
    Posted 1 year ago #

  17. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    404 Page not found

  18. sunprinting
    Member
    Posted 1 year ago #

    I changed the page to public so it should work now.

  19. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    I uploaded 2 PDF's and a 5mb zip file, they worked as intended but the 10mb zip file failed twice. Are you on shared hosting or VPS/Dedicated?

  20. sunprinting
    Member
    Posted 1 year ago #

    Don't know if these settings are inportant but this is what is in the main domain php.ini file
    ;;;;;;;;;;;;;;;;;;;
    ; Resource Limits ;
    ;;;;;;;;;;;;;;;;;;;

    ; Maximum execution time of each script, in seconds
    ; http://php.net/max-execution-time
    ; Note: This directive is hardcoded to 0 for the CLI SAPI
    max_execution_time = 30

    ; Maximum amount of time each script may spend parsing request data. It's a good
    ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; long running scripts.
    ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; Default Value: -1 (Unlimited)
    ; Development Value: 60 (60 seconds)
    ; Production Value: 60 (60 seconds)
    ; http://php.net/max-input-time
    max_input_time = 60

    ; Maximum input variable nesting level
    ; http://php.net/max-input-nesting-level
    ;max_input_nesting_level = 64

    ; Maximum amount of memory a script may consume (128MB)
    ; http://php.net/memory-limit
    memory_limit = 128M

    What I have set in the subdomain directory php.ini file is
    <?php
    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300
    ?>

  21. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    please copy and paste exactly what is in the subdomain php.ini

  22. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    It should be:

    [php]
    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 300
  23. sunprinting
    Member
    Posted 1 year ago #

    Shared hosting. This site is a subdomain of our main site hosted with Bluehost.

  24. sunprinting
    Member
    Posted 1 year ago #

    I copy/pasted what you have back in there and rested a file 27mb and it failed.

  25. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    How much memory does your host provide? Do you have the ability to restart services?

  26. sunprinting
    Member
    Posted 1 year ago #

    We have plenty of memory. I'm not sure the exact amount but we've just started a few months ago and don't have many accounts. I'm not sure what you mean by restarting services. Could you clarify?

  27. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    Where is the php.ini file in relation to your wp-config.php file? I just tested on my server and had the exact same problem, which was resolved by placing the php.ini file in the same location as wp-config.php

  28. sunprinting
    Member
    Posted 1 year ago #

    It is at the same level at the wp-config.php file.

  29. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    can you create a php file with <?php phpinfo(); ?> and email me the link? steven at cdsincdesign dot com

  30. sunprinting
    Member
    Posted 1 year ago #

    I created the phpinfo.php file but I'm having trouble creating the link. Haven't done this before.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic