Issue Installing XF/WP bridge

Discussion in 'WordPress' started by Ranger375, Mar 2, 2014.

  1. Have feature suggestions for the WordPress plugin? Post or vote here.
  1. Ranger375

    Ranger375 New Member

    Hello,

    I tried several time, but have failed miserably :D I cannot get the list to appear on WP after I add the API key and secret. I'm certain the paths are correct and am racking my brain. I'd appreciate any assistance!
     
  2. Ranger375

    Ranger375 New Member

    Never mind! I turned my forum off , that was the problem!
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @Ranger375 Oops :D
       
  3. CountRock

    CountRock New Member

    Same issue, but forum is active. API root and keys are correct. I recently changed the folder structure. But both sites are working ok. Could that cause something?
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @CountRock Assuming you have latest versions of the XenForo add-on and WordPress plugin installed, try clicking the reload link at the bottom of WordPress plugin option page.
       
  4. CountRock

    CountRock New Member

    No luck. Currently on the following versions

    XF- 1.3 Final
    WP 3.8.1
    API 1.2.1b
    WordPress Plugin: XenForo API Consumer 1.1.0

    Could create the key and everything in XF. If I try and access the api link directly I get this "{"error":"invalid_request"}" So assuming the API is working correctly on XF side.
    Anything else I can troubleshoot?

    PS: I moved the WP to webroot from /home and moved XF from webroot to /community
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @CountRock Please start a conversation with me with your URLs.
       
    2. FOnline

      FOnline New Member

      FOnline @CountRock Did you manage to get this sorted? I'm in the same situation myself.
       
    3. CountRock

      CountRock New Member

      CountRock @FOnline Issue was that my site is temporarily behind basic authentication. Working on a way to bypass the password check.
       
    4. FOnline

      FOnline New Member

      FOnline @xfrocks Yep.

      If I had both enabled, the Wordpress side didn't find the API and when accessing the API URL manually it would just give an "unexpected error", logging a server error (or many) along the lines of "Server Error filemtime() [function.filemtime]: stat failed for js/dark/taigachat.js".

      Changing the path as described above to the absolute path stopped the error and the API sprung into life :)
       
  5. CountRock

    CountRock New Member

    #8 CountRock, Mar 14, 2014
    Last edited: Mar 14, 2014
    Reinstalling Wordpress. I think that is having issues. Will post back when its done

    No luck! started a conversation
     
    xfrocks likes this.
  6. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Oh okie. Probably you need to contact the author to put a valid path in there.
     
  7. leoleo

    leoleo New Member

    Hi,
    I'm having the same problem. Wordpress is connecting to Xenforo API because i see all checkboxes and forum mappings. But User Authentication feature is not working.

    XF- 1.3 Final
    WP 3.8.1 Final
    API 1.2.1b
    WordPress Plugin: XenForo API Consumer 1.1.0

    Please help. Thanks.
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @leoleo Do you put XenForo/WordPress behind a password protected directory?
       
  8. leoleo

    leoleo New Member

    No, i don't. I have sent you my website url.
     
  9. leoleo

    leoleo New Member

    My problem was resolved. Thank you ;)
     
    1. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @leoleo That's good. Thanks for letting us know :)
       
  10. Kerrlander

    Kerrlander New Member

    Hi I am having the same issue too. I get the error message "Unable to determine API version."
    Does that make sense to anyone?
     
  11. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    That means the URL is wrong or key/secret is incorrect. Or simply because you are not running latest [bd] API add-on.
     
  12. Kerrlander

    Kerrlander New Member

    I am running API verison: 1.2.1/1
    The latest WP and Xenforo 1.3

    When I type the URL into a browser I get the following message:
    {"errors":["You do not have permission to view this page or perform this action."],

    Does that help at all?
     
  13. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    What is the URL that you are using?
     
  14. xfrocks

    xfrocks XenForo rocks!
    Staff Member

  15. LessZoa

    LessZoa New Member

    #26 LessZoa, Oct 20, 2014
    Last edited: Oct 20, 2014
    XF- 1.3.0
    WP 3.6.1
    API 1.2.1b
    WordPress Plugin: XenForo API Consumer 1.1.0

    This for websites: uo2.stratics.com <-> community.stratics.com

    WP side displays "Unable to determine API version." and cannot map forums to categories. Yet when I go to API url, I get what is expected (no errors).

    This after migrating servers, and I think it is related to permissions so we are going over all directories, again.

    Will update with progress.

    *edited with full report - sowwy*
     
  16. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    For API version error, you may need to check client key and secret too. Make sure there are no extra spaces etc.?
     
  17. LessZoa

    LessZoa New Member

    check that more times than I can count.
    Server is having permissions issues - still debugging that.
     
  18. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Please start a conversation with me with your API server details + client key/secret. I will help you debug it.
     
  19. LessZoa

    LessZoa New Member

    sent - thank you.
     
Loading...