Failed to link wordpress and Xenforo

Discussion in 'WordPress' started by panda, Mar 11, 2014.

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

    panda New Member

    I setup the Xenforo and WordPress in my VPS, and got the issue on final step when setup the api and secret/key in WordPress.

    API is accessible from here http://bbs.gtdworld.com/api/ for register user, shown as follow:
    Screen Shot 2014-03-11 at 2.28.31 PM.png

    Settings in Xenforo is attached(key/secret removed in pic):
    Screen Shot 2014-03-11 at 2.25.56 PM.png
    And I can enable the plugin in wp-admin. When I configure the API Root/API Key/API Secret and click save, the page will not redirect and coming to be blank. And I also can't go into any wp-admin page, it's all blank, when I view the pages source in IE, the page source is blank.
    Screen Shot 2014-03-11 at 2.32.09 PM.png

    Any idea?
     
  2. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Blank page may indicate a PHP error. Please check your server error log.
     
    1. panda

      panda New Member

      panda @xfrocks yap, found this, looks like a PHP error. what's the function for?

      PHP Fatal error: Call to undefined function curl_init() in /var/www/wordpress/wp-content/plugins/xenforo-api-consumer/includes/helper/api.php on line 50
       
  3. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    1. panda

      panda New Member

      panda @xfrocks hmm... fixed after install the php-curl mod, thanks for your assistant. :)
       
  4. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Good to know :)
     
    1. panda

      panda New Member

      panda @xfrocks Thanks and where can I change the link value(It's appeared when I enable the show forum link function)? Can't find the option in WP and Xenforo? The default value is "blah :p
      Screen Shot 2014-03-11 at 3.40.26 PM.png
       
    2. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @panda It's a bug and please ignore it for now. New version is coming out soon with the fix. Sorry for your problem.
       
    3. panda

      panda New Member

      panda @xfrocks Aha, ok, is it a link with hard coding? Could you let me know where can I change it manually?
       
  5. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    1. panda

      panda New Member

    2. xfrocks

      xfrocks XenForo rocks!
      Staff Member

      xfrocks @panda Yes, you just need to overwrite the files. New options are availble, you can configure them if you want but it's not required.
       
    3. panda

      panda New Member

      panda @xfrocks Excellent, it works!
       
  6. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Good to know :)
     
    1. panda

      panda New Member

      panda @xfrocks hi buddy, still got problem that articles didn't sync between wp and xenforo.
      :(
      Let me take some snapshot and start a conversation with you.
       
  7. xfrocks

    xfrocks XenForo rocks!
    Staff Member

    Yes, please do. Sorry for your problem.
     
Loading...