Support » Plugin: Simple Dropbox Upload » [Plugin: Simple Dropbox Upload] Error: Need to authorize plugin!

  • Resolved milton12

    (@milton12)


    I downloaded & installed Simple-Dropbox-Upload-Form, v 1.3.0.

    I downloaded, installed Dropbox 1.2.49 and set up DBx account.

    I went thru the 6-step installation for the Upload-Form, with what appeared to be confirmation that each step completed successfully.

    I inserted the [simple-wp-dropbox] code on a page, but when I previewed the page, I rcvd the error msg in the Topic Title.

    I marked the page to NOT show on the Menu, and published the page.
    Same error message when display the page.

    Don’t see anyone else with this error, but with the minimal install/setup instructions, I must be doing something wrong. Could problem be with Dropbox.com? How can I check?

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

Viewing 15 replies - 1 through 15 (of 28 total)
  • Plugin Author hiphopsmurf

    (@hiphopsmurf)

    Please reset the plugin and do the authorization again. It sounds as though dropbox didn’t return the required info the first time around.

    OK. I was able to “reset” the plug-in, and the page loads properly with a

    text box, and “Browse” and “Submit” buttons.

    But when I submit a file I get back the error msg:
    Fatal error: Call to a member function setToken() on a non-object in /home/content/80/8015580/html/millionairemasters/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 134

    Am I still doing something wrong?

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    It is highly likely that your host/server isn’t configured with OAuth which is required for this plugin to work with dropbox.

    My site is hosted by godaddy.com. Apparently they do NOT support OAuth protocols. They told me, “You need to use a script that uses PHP.” What can I do at this point? Do I need to find another plugin?

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    Its my understanding that godaddy does not allow the use of ini_set so you would need to add to the include path in the php.ini file. It would be something like “:/YOUR/PATH/HERE/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes”

    hey there, Im having exactly the same issue as milton12 and i would like to fix it.

    where and how I cut & paste the following code?

    “:/YOUR/PATH/HERE/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes”

    also ‘your path here’ means the same drop box path i would like to file to be uploaded?

    many thanks in advance

    Bruno

    If i try to upload i receive the error below.. my host is goddady.

    many thanks

    Bruno

    Warning: include(HTTP/OAuth/Consumer.php) [function.include]: failed to open stream: No such file or directory in /home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/OAuth/PEAR.php on line 47

    Warning: include() [function.include]: Failed opening ‘HTTP/OAuth/Consumer.php’ for inclusion (include_path=’.:/usr/local/php5/lib/php’) in /home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/OAuth/PEAR.php on line 47
    Error: The HTTP_OAuth_Consumer class could not be found! Did you install the pear HTTP_OAUTH class?
    Fatal error: Call to a member function putFile() on a non-object in /home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 210

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    To answer your first post, that line gets pasted in your php.ini file. I do not have access to a godaddy server to give exact directions but I had another user tell me that they had to do that. Your second post is a result of the first post in that the proper files arent included in the include path and godaddy doesnt support oAuth

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    As an alternative you can check out the sugarsync plugin that I made which was made for people in the same situation your in. SugarSync is just like dropbox.

    Simple SugarSync Upload

    many thanks for the very prompt response! I’ll check it now

    just in case – can I paste the text anywhere in the php.ini ? where can i find it? sorry, never done it b4

    many thanks again

    Bruno

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    look for include_path = " in the php.ini file. insert /home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes so it will look something like:

    include_path = ".:/usr/lib/php:/usr/local/lib/php:/home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes"

    cheers hiphopsmurf

    Im in the plugin editor but i cannot find the php.ini

    sorry, I have no experience at all with programming

    many thanks

    B

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    You will not be able to access the php.ini file with the editor in wordpress. you will likely have to edit it through FTP or the file manager in your godaddy accout. I would try the file manager in godaddy first. Be sure to back up the file if you decide to edit it.

    ok.. I will try and let you know

    many thanks

    I found the php.ini and I’ve changed the name to php5.ini as per godaddy tech support instructions

    I could not find the include_path line, so i’ve included this line there

    include_path =
    “.:/usr/lib/php:/usr/local/lib/php:/home/content/24/9370424/html/wp-content/plugins/simple-dropbox-upload-form/inc/Dropbox/pear_includes”

    now when i try to upload I receive this msg

    Error: Forbidden. This could mean a bad OAuth request, or a file or folder already existing at the target location.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘[Plugin: Simple Dropbox Upload] Error: Need to authorize plugin!’ is closed to new replies.