• Resolved anfemora

    (@anfemora)


    Than you very much for the plugin! I couldn’t make it work correctly yet, though. At the backend, I get “Dropbox connection successful” but on the right, at Dropbox information, I receive a Fatal error message: “! Fatal error: Uncaught exception ‘DropboxException’ with message ‘Passed invalid access token.’ in C:\wamp\www\wp-content\plugins\blighty-explorer\Dropbox\DropboxClient.php on line 134”.
    At the frontend, I get following text: “Dropbox not authorized. Check the settings for Blighty Explorer (bex_folder – 1)”.
    I probably did something wrong. I somewhere clicked on “All/Anonymous”. May that be the mistake? How can I solve it?
    Thanks in advance!

    https://www.ads-software.com/plugins/blighty-explorer/

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Blighty

    (@blighty)

    Thanks for letting me know – sorry you had a problem.

    I suspect there was a problem in authenticating the plugin with Dropbox which caused this. I’ve just released version 1.8.0 with handles this case in a better fashion than you encountered, but for now I would try the following:

    On the Blighty Explorer admin page (the admin/backend page where you’re seeing the error), change the URL in the browser address bar by adding: &bex_reset=1 to the URL. i.e. so it is something like ?page=blighty-explorer-plugin&bex_reset=1

    This will reset the error. Then update the plugin to 1.8.0 and try again.

    Please let me know how it goes.

    Chris

    Thread Starter anfemora

    (@anfemora)

    Hi Chris,
    thank you very much for you quick answer. I reset the error then updated the plugin. Unfortunately the update did not solve the problem, I still get the same error massages.
    Maybe because I am working in my localhost…? But I do have an internet connection and can show rss and so on.
    Thanks a lot in any case

    Plugin Author Blighty

    (@blighty)

    Ahh localhost – I’ve had one other person report that. I think it’s down to the way Dropbox hands off the authentication back to WordPress. Let me look into that a little more – that’s helpful to know.

    I got this same error just now. Plugin says Dropbox connection succesful but the right sidebar shows fatal error.

    Plugin is downloaded and installed today. And I’m not on localhost.

    The complete error is:

    Fatal error: Uncaught exception ‘DropboxException’ with message ‘Invalid OAuth1 token.’ in /home/xxx/public_html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php:607 Stack trace: #0 /home/xxx/public_html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(627): DropboxClient::checkForError(Object(stdClass)) #1 /home/xxx/public_html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php(163): DropboxClient->apiCall(‘account/info’, ‘GET’) #2 /home/xxx/public_html/wp-content/plugins/blighty-explorer/admin-settings.php(124): DropboxClient->GetAccountInfo() #3 [internal function]: bex_admin_settings(”) #4 /home/xxx/public_html/wp-includes/plugin.php(503): call_user_func_array(‘bex_admin_setti…’, Array) #5 /home/xxx/public_html/wp-admin/admin.php(236): do_action(‘settings_page_b…’) #6 /home/xxx/public_html/wp-admin/options-general.php(10): require_once(‘/home/xxx/pub…’) #7 {main} thrown in /home/xxx/public_html/wp-content/plugins/blighty-explorer/Dropbox/DropboxClient.php on line 607

    Plugin Author Blighty

    (@blighty)

    Thanks for the feedback. I’m not able to recreate the error – even on a brand new install.

    Can you please use the &bex_reset=1 tip as shown above and then try to authenticate with Dropbox again?

    Let me know how that goes – I’d really like to get to the bottom of this problem.

    Thanks!

    I have tried that multiple times, nothing changes.

    It doesn’t create the Apps/Blighty Explorer folder and in the dropbox profile settings it says “you haven’t linked any apps” on the Apps linked section.

    Should I have the Apps folder already somewhere in Dropbox? I can’t see that either. Do I need to make my own Dropbox app with the api?

    I’m on Win7 and tried the authentication with Firefox and Chrome, wordpress version is 4.3.1. If this information helps..

    Plugin Author Blighty

    (@blighty)

    Thanks for the additional information. You shouldn’t have to make your own Dropbox app or create any of the folders.

    In the plugin, when you click on the Authenticate with Dropbox link, you should be taken to a Dropbox page to authorise the Dropbox app. Click on Allow and that should be it. That should create the Blighty Explorer subfolder and authorise the app.

    I’m curious – are you using any other WordPress plugin with Dropbox?

    That does happen:
    When I click the Authenticate link, I get redirected to the dropbox page where I click allow and I get redirected back to my WP admin. It shows me the “Succesfull” notice, but nothing else on the content area and then theres the Fatal error on the sidebar.

    I don’t have any other dropbox plugins installed but I do have tons of other plugins and a premium theme. Theme I use is Photography bought from ThemeForest (https://themeforest.net/item/photography-responsive-photography-theme/13304399). This theme has atleast 5 five different custom taxonomies, if that matters? I think those were: Galleries, Portfolios, Clients, Pricing and Team.

    I don’t remember all the plugins I have since I’m at home now and can’t remember password for that site but there’s atleast:
    – BBpress
    – Revolution Slider
    – 2 plugins to manage members and capabilities
    – Justified Image Grid

    I think next thing to do is to deactive plugins one by one etc etc but I wouldn’t like to do that because I’ve been building the site quite long and it’s ready and working for all the other parts ??

    Plugin Author Blighty

    (@blighty)

    Thanks for the extra information… there’s no need to deactivate any plugins for now.

    Two more questions:

    Do you have a personal Dropbox account or a Business account?
    Do you have two-factor authentication enabled on Dropbox?

    It’s a basic Dropbox account so I guess it’s personal. Two-step verification is disabled.

    I have also these plugins:
    – Contact form 7
    – Display posts shortcode
    – EWWW Image optimizer
    – Facebook page plugin
    – Facebook widget
    – Imsanity
    – Remove dashboard access
    – Sidebar login

    And those member plugins I mentioned yesterday are Members and User role editor.

    Plugin Author Blighty

    (@blighty)

    This one is puzzling me. If you’d like to contact me via my website, I’d be happy to work with you further to investigate the problem.

    Thanks,
    Chris

    Plugin Author Blighty

    (@blighty)

    I’ve just made an update to the plugin (v1.15.1) that resolved a PHP warning message. If you’re still able, could you try this again to see if it resolved the issue you reported here? Thanks.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Dropbox not authorized’ is closed to new replies.