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

Issue Installing XF/WP bridge

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

  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!
     
    Tags:
  2. Ranger375

    Ranger375 New Member

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

    xfrocks XenForo rocks! Staff Member

    Oops :D
     
  4. 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?
     
  5. xfrocks

    xfrocks XenForo rocks! Staff Member

    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.
     
  6. 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
     
  7. xfrocks

    xfrocks XenForo rocks! Staff Member

    Please start a conversation with me with your URLs.
     
  8. CountRock

    CountRock New Member

    Reinstalling Wordpress. I think that is having issues. Will post back when its done

    No luck! started a conversation
     
    Last edited: Mar 14, 2014
    xfrocks likes this.
  9. FOnline

    FOnline New Member

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

    CountRock New Member

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

    FOnline New Member

    Ah, I can rule that one out... thanks.

    Update: I worked out this was an issue when Taigachat plugin was enabled, fixed by changing line 51 in /library/Dark/TaigaChat/Helper/Global.php from:

    PHP:
    "js_modification" => filemtime("js/dark/taigachat.js"),
    to:

    PHP:
    "js_modification" => filemtime("/home/###/public_html/xenforofolder/js/dark/taigachat.js"),
     
    Last edited: Mar 18, 2014
  12. xfrocks

    xfrocks XenForo rocks! Staff Member

    You changed that and the bridge worked? I don't see any connection here eh!
     
  13. FOnline

    FOnline New Member

    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 :)
     
  14. xfrocks

    xfrocks XenForo rocks! Staff Member

    Oh okie. Probably you need to contact the author to put a valid path in there.
     
  15. 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.
     
  16. xfrocks

    xfrocks XenForo rocks! Staff Member

    Do you put XenForo/WordPress behind a password protected directory?
     
  17. leoleo

    leoleo New Member

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

    leoleo New Member

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

    xfrocks XenForo rocks! Staff Member

    That's good. Thanks for letting us know :)
     
  20. 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?
     
Loading...