Support » Plugin: Tumblr Crosspostr » "Click here to connect to Tumblr" not working

Viewing 15 replies - 1 through 15 (of 29 total)
  • Plugin Author Meitar

    (@meitar)

    I need you to describe in more detail what does happen when you press “Click here to connect to Tumblr,” instead of what doesn’t happen.

    Without more detail, all I can suggest are some basics like:

    • Make sure you have copied and pasted your OAuth keys correctly.
    • Make sure you are logged in to Tumblr.

    If you need help figuring out what information might be useful, please read How to write a good bug report. They provide a detailed template you can fill out that helps ensure you are providing useful information to more quickly resolve your issue.

    My bad for not giving enough details, I know better than that.

    • I am logged in
    • I have the correct keys. I have triple checked
    • I have tried in Chrome and Safari (both the newest versions). I have logged out of my WP and tumblr accounts and tried again.
    • I am on WordPress 3.8.1, I am using a theme from Automattic called Superhero – which is up to date, my plugins are as well.
    • My tumblr only has one registered application.

    Nothing happens. No error message, nothing other than a reload when i click “Click here to connect to Tumblr” and the URL changes from this:

    /wp-admin/options-general.php?page=tumblr_crosspostr_settings

    to this:

    /wp-admin/options-general.php?page=tumblr_crosspostr_settings&tumblr_crosspostr_oauth_authorize&_wpnonce=XXXXXXXXXX

    * i have taken out the last 10 numbers as I am not sure if they can be a security issue.

    that is all that happens – it does remember the keys I have pasted in. The button is still the same color, there is still a prompt asking me to “Connect to Tumblr”. I have clicked save also, but it did not help.

    If i am editing a post I get the warning “Tumblr Crossposter does not yet have a connection to Tumblr. Are you sure you connected Tumblr Crosspostr to your Tumblr account?”

    Plugin Author Meitar

    (@meitar)

    Hmm. What happens if you log out, close your browser, and then open your browser again? (This will clear temporary files called “session cookies” from your browser.) If you do that, and then try again, do you get redirected to Tumblr’s login screen?

    The same thing happens. I have tried what you suggested on 2 different computers in 2 different browsers.

    I even tried now making a new application on tumblr.. the same outcome of a new URL but no action happens.

    Plugin Author Meitar

    (@meitar)

    It sounds like the authorization process just isn’t getting started, which is definitely strange. The URL you posted earlier refers to line 51 in the plugin’s code, which tells WordPress to run a function at line 115. In turn, that function checks to make sure you’re really asking WordPress to start the authorization process, and then it calls the Tumblr Crosspostr API Client’s own “authorize” function. That, in turn, calls the OAuthWP library’s authorize function, which sets up actually processing the authorization request.

    Since I can’t seem to replicate the problem you’re having, I’m inclined to think that either:

    • Something is screwing up the nonce and the library is never getting called because WordPress thinks it’s an invalid request and never calls them, or,
    • your session cookies are not really getting deleted when you close your browser.

    For the sake of simplicity and thoroughness, I’d suggest try making sure your browser cookies are deleted by manually deleting them. The only ones that should matter are the ones associated with the domain of your website, of course, but it’s usually safe to delete all of them. This is because the OAuth library temporarily stores your OAuth information in a cookie until your app is authorized by Tumblr (and then it saves the authorization key into the WordPress database). If your cookies are, for some reason, already filled with OAuth credentials from a prior attempt or some other source, the authorization workflow won’t actually start. But I don’t know why that would be the case for you if you’ve never gone through the Tumblr OAuth process before. You could even go right back to the Tumblr Crosspostr Settings page and delete your cookies while on that page, then try clicking the button without even reloading. If it was a cookie problem, that should fix it.

    To see if something is screwing up the nonce, I’d suggest deactivating any other plugins you’re using, if any, so that only WordPress and Tumblr Crosspostr are running. If the problem goes away, reactivate one plugin at a time until the problem reappears. And then tell me which plugin that was so I can see WTF it might’ve been doing to my nonces. 🙂

    If the problem doesn’t go away after that, then I need more information to figure out what’s happening, so please use the “Enable detailed debugging information” option in Tumblr Crosspostr’s Settings and also turn on WP_DEBUG and WP_DEBUG_LOG in your WordPress configuration file, try again, and then send me your wp-content/debug.log file.

    Thanks.

    Plugin Author Meitar

    (@meitar)

    Haven’t heard back so I’m assuming clearing your cookies manually helped resolve the issue.

    Yes! Sorry, I actually had to do a reinstall on my computer (unrelated to this) and now that everything is back up and running it works.

    I think the manual cookies deletion would have done it too! Might be a good point to add int he FAQ, since restarting the browser did not do it.

    Thanks so much for all your help!

    I’m having the same issue, with the same environment (Chrome 34.0.1847.116) using WP 3.9 & version 0.7.12 of your plugin. I’ve cleared the WP cookies. I’ve logged out of both Tumblr & WP and closed the browser. Using the default theme (TwentyFourteen). It’s practically a clean install of WP and your plugin. That’s it.

    I’ve double & triple checked the OAuth keys and yet when I click on “Click Here to connect to Tumblr”, nothing happens. No redirection; just a reloading of the same Tumblr Crosspostr Settings page (same similar URL as fondalashay mentioned).

    I did notice the following error during install of the plugin from the WordPress admin’s Plugin section:
    Warning: Invalid argument supplied for foreach() in /home/tl3/zac/wp-content/plugins/tumblr-crosspostr/tumblr-crosspostr.php on line 67

    Plugin Author Meitar

    (@meitar)

    Unfortunately, I still don’t have more information about what might have caused this issue, so my only suggestion is the same: make sure you clear all your browser’s cookies, and do it manually, don’t just close and reopen the browser. Immediately after that, try to run through the OAuth process again to connect your blog to Tumblr. If you can confirm you’ve done this and it still doesn’t resolve the issue, please turn on “Enable detailed debugging information”, clear all your cookies again and send me the log of that interaction.

    Thanks for your help digging into this.

    I’m also having this issue, and I have no further insight unfortunately. I have tried clearing cookies and restarting my browser, no dice.

    Plugin Author Meitar

    (@meitar)

    Boo, not fun.

    FWIW, if you feel up for writing and filing a detailed bug report, please read “How to write a good bug report” and then use the template provided in that article to report the bug to the Tumblr Crosspostr issue tracker.

    Thanks.

    Was able to get it working by clearing cookies almost obsessively. Also, had to re-register via the link from the Plugin (rather than previously done).

    Plugin Author Meitar

    (@meitar)

    Was able to get it working by clearing cookies almost obsessively. Also, had to re-register via the link from the Plugin (rather than previously done).

    Any chance you can retrace your steps to figure out what action resolved the problem? This would help a lot in diagnosing others’ issues and hopefully leading to a code fix.

    Thanks.

    I had the same or a similar issue in the following context:

    • Add crosspostr to example.com/blog1 .
    • Create keys to [myfeed].tumblr.com, everything works fine.
    • I want example.com/blog2 to output to the same tumblr.
    • (Should I create a new key? I’m not sure, so let’s do it).
    • “Connect to tumblr” button does nothing.
    • Try old keys, “Connect to tumblr” button still does nothing.
    • Close Firefox, open Chrome, open incognito window.
    • Try with new keys, it works.

    Thanks for the wonderful plugin, by the way.

Viewing 15 replies - 1 through 15 (of 29 total)
  • The topic ‘"Click here to connect to Tumblr" not working’ is closed to new replies.