• 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?

    https://www.ads-software.com/extend/plugins/simple-dropbox-upload-form/

Viewing 13 replies - 16 through 28 (of 28 total)
  • that is how my php5.ini looks like

    register_globals = off
    allow_url_fopen = off

    expose_php = Off
    max_input_time = 60
    variables_order = “EGPCS”
    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12

    SMTP = relay-hosting.secureserver.net
    url_rewriter.tags = “a=href,area=href,frame=src,input=src,form=,fieldset=”

    ; Only uncomment zend optimizer lines if your application requires Zend Optimizer support

    ;[Zend]
    ;zend_optimizer.optimization_level=15
    ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
    ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
    ;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
    ;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so

    ; — Be very careful to not to disable a function which might be needed!
    ; — Uncomment the following lines to increase the security of your PHP site.

    ;disable_functions = “highlight_file,ini_alter,ini_restore,openlog,passthru,
    ; phpinfo, exec, system, dl, fsockopen, set_time_limit,
    ; popen, proc_open, proc_nice,shell_exec,show_source,symlink”

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    Try to enable allow_url_fopen by setting it to allow_url_fopen = On

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    Also disable the plugin and re-enable it so you know your starting with a clean slate. You will have to authorize with dropbox again.

    did all as you’ve said

    now I’m getting this msg

    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 211

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    according to godaddy they aren’t going to support it if your on a shared hosting plan. Since I don’t have access to a godaddy host I can not confirm this. Oauth is used by many services like facebook, twitter and the like so my guess is that godaddy uses that to upsell you to a VPS or Dedicated server. Godaddy Support

    this is how the php5.ini looks now

    register_globals = off
    allow_url_fopen = On
    
    expose_php = Off
    max_input_time = 60
    variables_order = "EGPCS"
    extension_dir = ./
    upload_tmp_dir = /tmp
    precision = 12
    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"
    SMTP = relay-hosting.secureserver.net
    url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
    
    ; Only uncomment zend optimizer lines if your application requires Zend Optimizer support
    
    ;[Zend]
    ;zend_optimizer.optimization_level=15
    ;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
    ;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
    ;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
    ;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so
    
    ; -- Be very careful to not to disable a function which might be needed!
    ; -- Uncomment the following lines to increase the security of your PHP site.
    
    ;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,
    ;		      phpinfo, exec, system, dl, fsockopen, set_time_limit,
    ;                     popen, proc_open, proc_nice,shell_exec,show_source,symlink"

    Hi,
    I also getting this problem with this plugin.Our server is immotionhost.

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

    Warning: include(HTTP/OAuth/Consumer.php) [function.include]: failed to open stream: No such file or directory in /home/myserver/public_html/site/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/lib/php:/usr/local/lib/php:/home/myserver/php’) in /home/myserver/public_html/site/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/myserver/public_html/site/wp-content/plugins/simple-dropbox-upload-form/wp-dropbox.php on line 210

    When I try to authorize the plugin, I get this message:

    Step 1: Pre-authorization acquired!

    Fatal error: Cannot use object of type WP_Error as array in C:\xampp\htdocs\wordpress\wp-content\plugins\simple-dropbox-upload-form\inc\Dropbox\OAuth\Wordpress.php on line 80

    I also notice when I save my settings the pluin adds “\” to my first 3 directories. So instead of “C:xampp\” it saves as “C:\\xampp\\” Could this be causing the problem?

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    I honestly couldn’t tell you where to start since I have not tested it in a windows environment. The error you are getting is related to the built in oAuth feature of wordpress. One option you might want to try would be to open \inc\wpsdb_auth.php and find $oauth = new Dropbox_OAuth_Wordpress($consumerKey, $consumerSecret); around line 71 and change it to $oauth = new Dropbox_OAuth_Curl($consumerKey, $consumerSecret); and let me know if you get any error.

    Ok so this is a development machine runnin on a local server
    . Is it possible I will have to wait until I host it? I am going to be using Hostgator. And after I changed line 71. I got this error

    Fatal error: Uncaught exception ‘Dropbox_Exception’ with message ‘The PHP curl functions not available!’ in C:\xampp\htdocs\wordpress\wp-content\plugins\simple-dropbox-upload-form\inc\Dropbox\OAuth\Curl.php:48 Stack trace: #0 C:\xampp\htdocs\wordpress\wp-content\plugins\simple-dropbox-upload-form\inc\wpsdb_auth.php(71): Dropbox_OAuth_Curl->__construct(‘mh8bfs0l5u8dpnm’, ‘cnli9k1oeyiwo6k’) #1 [internal function]: wpsdbAuth->choice(”) #2 C:\xampp\htdocs\wordpress\wp-includes\plugin.php(403): call_user_func_array(Array, Array) #3 C:\xampp\htdocs\wordpress\wp-admin\admin-ajax.php(66): do_action(‘wp_ajax_choice’) #4 {main} thrown in C:\xampp\htdocs\wordpress\wp-content\plugins\simple-dropbox-upload-form\inc\Dropbox\OAuth\Curl.php on line 48

    if u have a team viewer account i will give u access to my files?

    Plugin Author hiphopsmurf

    (@hiphopsmurf)

    I do have team viewer but that will not help in this instance. The last error you got was because you don’t have CURL installed or enabled in your configuration. If you revert the previous file back to its original state, It should work when you upload your files to hostgator. Once you revert the file, disable the plugin so that it removes any configuration settings it may have set since I am assuming you are moving to a linux box that will not support the settings saved by this plugin in a windows environment. This will likely be the case for most plugins of the plugins you are settings if that plugin has saved the file path in windows format.

    Got it. I kinda figured that. I will look into installing CURL for the time being. I appreciate your help and hard work to making Dropbox efficient.

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