WordPress.org

Ready to get started?Download WordPress

Forums

Simple Dropbox Upload
[resolved] Upload successful? (26 posts)

  1. godlovzcf
    Member
    Posted 2 years ago #

    How do you know if the upload is successful? I did a test run on my website and when I submitted the files it went to basically a blank page. So far I also have not received the files into my Dropbox account.

    Is there a way to have a "upload was successful" or "upload fail" message after the files are submitted?

    Thanks,
    Carrie

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

  2. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    There are messages built in to tell you if the upload was completed or failed. Not sure why you would be getting a blank page. The plugin might not be playing nice with another plugin you have installed. If you can get a copy of your error log from your host I would be willing to take a look at it.

  3. godlovzcf
    Member
    Posted 2 years ago #

    /home2/darcyafa/public_html/ourteenlife/error_log: [09-Jan-2012 18:01:41] PHP Fatal error: Call to a member function setToken() on a non-object in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 134 [09-Jan-2012 18:04:37] PHP Fatal error: Call to a member function setToken() on a non-object in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 134 [09-Jan-2012 18:16:31] PHP Fatal error: Call to a member function setToken() on a non-object in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 134 [09-Jan-2012 18:35:50] PHP Fatal error: Call to a member function setToken() on a non-object in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 134 /home2/darcyafa/public_html/ourteenlife/wp-admin/error_log: [09-Jan-2012 18:42:46] PHP Fatal error: Cannot redeclare show_dropbox() (previously declared in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php:82) in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/dropbox-upload-form/wp-dropbox.php on line 144 [09-Jan-2012 18:42:51] PHP Fatal error: Cannot redeclare show_dropbox() (previously declared in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php:82) in /home2/darcyafa/public_html/ourteenlife/wp-content/plugins/dropbox-upload-form/wp-dropbox.php on line 144 [09-Jan-2012 18:42:52] PHP Fatal error: Cannot redeclare show_dropbox() (previously declared in /home2/darcyafa/public_html/ourteenlife/wp

  4. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    I have made a few changes to the plugin that might help or solve the problem. The development version can be downloaded from http://downloads.wordpress.org/plugin/simple-dropbox-upload-form.zip or by going to the plugin page and clicking the link "Other Versions" which is located at the lower right of the plugin page. Near the bottom of that page you will see a link for the Development Version of the plugin which contains the changes I have made.

  5. godlovzcf
    Member
    Posted 2 years ago #

    Now I am getting: Error: The HTTP_OAuth_Consumer class could not be found! Did you install the pear HTTP_OAUTH class?

  6. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    In the settings page for the plugin is there a box that says "Seems your host might not play nice with this plugin" ? If so that means the host/server that hosts your WordPress installation is probably not configured with the correct settings that this plugin needs.

  7. godlovzcf
    Member
    Posted 2 years ago #

    Nope, no such message. :/

  8. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    If you don't mind me asking... what hosting service do you use?

  9. godlovzcf
    Member
    Posted 2 years ago #

    Bluehost

    I just made sure PEAR was installed along with HTTP_OAuth and I am still getting the same Error message. Any ideas for me? I really need this plug-in :)

    BTW Thank for helping me :)

  10. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    could you give me a link to a php file containing <? phpinfo(); ?> so that I can get more information. If you don't want to post it you can email it to me hiphopsmurf [at] cdsincdesign dot com

  11. godlovzcf
    Member
    Posted 2 years ago #

    just emailed it to you

  12. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    Thank you again.

  13. peeld
    Member
    Posted 2 years ago #

    I'm on Bluehost as well, same issue/question.
    Thanks!

  14. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    Change include_path = ".:/usr/lib/php:/usr/local/lib/php"
    to
    include_path = ".:/usr/lib/php:/usr/local/lib/php:/HOME_DIRECTORY/USERNAME/php"
    in your php.ini
    where HOME_DIRECTORY = home2 or home6 or whatever your home folder is called and USERNAME = your account username

  15. peeld
    Member
    Posted 2 years ago #

    Does that count if it already says:

    include_path = ".:/usr/lib64/php:/usr/lib/php:/usr/share/pear"

    BTW thanks :)

  16. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    it would be
    include_path = ".:/usr/lib64/php:/usr/lib/php:/usr/share/pear:/HOME_DIRECTORY/USERNAME/php"

  17. peeld
    Member
    Posted 2 years ago #

    I still get the error Error: The HTTP_OAuth_Consumer class could not be found! Did you install the pear HTTP_OAUTH class?

    After submission. Darn it :(

    Fastest responses ever, thanks!

    I don't actually have a /HOME_DIRECTORY/USERNAME/php directory (changing those two variables to match my info, of course). closest is php_uploads

  18. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    this is a youtube video that I uploaded to get HTTP_OAuth installed on bluehost. OAuth on youtube

  19. peeld
    Member
    Posted 2 years ago #

    Thanks - I went through and installed, still get:

    Error: The HTTP_OAuth_Consumer class could not be found! Did you install the pear HTTP_OAUTH class?

    Thanks for your super help, don't feel the need to go any further immediately, I'm not in a huge hurry. Who knows what the deal is at this point. In php.ini I've got:

    include_path = ".:/usr/lib64/php:/usr/lib/php:/usr/share/pear:/home4/daisypee/php"

    Have a great day.
    Daisy

  20. hiphopsmurf
    Member
    Plugin Author

    Posted 2 years ago #

    You can also try to install the PERL Module of OAuth as my plugin is made to work with both.

  21. peeld
    Member
    Posted 2 years ago #

    Do I need to modify php.ini for that in any way? Thanks

  22. peeld
    Member
    Posted 2 years ago #

    Never mind, doesn't look like bluehost offers it (searched in the same way in the perl section)

    EDIT installed a version that popped up

  23. peeld
    Member
    Posted 2 years ago #

    And...fail, all perl install methods failed.

    Well, I'll keep searching, your plugin looks great, too bad my host is a nutter.

  24. carolineli3
    Member
    Posted 1 year ago #

    I'm able to upload images, but when I try to upload video (mp4) it loads up to 99%, then the page refreshes, as if the upload was successful, but it doesn't actually upload the file into the dropbox.
    In my settings I've indicated my Allowed file extensions,: doc docx gif jpg jpeg pdf png psd tif tiff mov ai png mp4 avi eps

    Still not working. Any suggestions?

  25. hiphopsmurf
    Member
    Plugin Author

    Posted 1 year ago #

    The size of the file exceeds the amount of memory available on the server. Dropbox does not stream files so the entire file needs to be loaded into memory before it can be sent to dropbox.

  26. carolineli3
    Member
    Posted 1 year ago #

    Thanks hiphopsmurf,

    But I don't know what "loaded into memory" means. Is this something the user can easily do?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic