Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Options

Plugin Enabled--Can't Authenticate

I tried to setup the plugin and I just get the three bar animation that means that Vanilla is working, but nothing happens after that. What can I do about this?
«1

Comments

  • Options
    TimTim Operations Vanilla Staff
    @ellieroepken are you using RewriteUrls ?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    I don't know. I don't think so. All of the Vanilla URLs show up as index.php?p=/whatever urls. I know my WordPress install uses rewrite.
  • Options
    TimTim Operations Vanilla Staff
    @ellieroepken Alright. You're running into an issue we discovered with this release of Vanilla. There is a problem with AJAX and non-rewritten URLs, and it is interfering with your ability to configure ProxyConnect.

    If your host supports rewrite urls and .htaccess, simply go to your config file (conf/config.php), find this line:
    $Configuration['Garden']['RewriteUrls'] = FALSE;

    And change it to:
    $Configuration['Garden']['RewriteUrls'] = TRUE;

    Let me know if this works

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    :\ After changing that, I can't access any of the dashboard's sub pages.
  • Options
    Same problem here.
  • Options
    @ellieroepken & @dkodr: if your vanilla installation is in a subdirectory of your site's root, is RewriteBase set correctly in your .htaccess file? This was causing me problems that sounded similar to what you're encountering. For reference:
    http://vanillaforums.org/discussion/comment/98510/#Comment_98510
  • Options
    @quasistoic Thanks for your help. That worked.

    Now, after the loading thing goes away, nothing comes up. Does the plugin no longer require that the urls be entered manually or something?
  • Options
    TimTim Operations Vanilla Staff
    Have you enabled ProxyConnect? If so, is it listed in the dropdown under the "Authentication" dashboard menu item?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    Yes, it's enabled and I'm able to choose an authentication method now. When that finishes loading, nothing happens.
  • Options
    And I chose ProxyConnect as the auth method.
  • Options
    TimTim Operations Vanilla Staff
    Are you using Firefox? If so, would you mind installing Firebug and taking a look at the AJAX call that goes out when you select ProxyConnect from the dropdown? I'd love to see what it is returning for you.

    Mine looks like this after it loads: http://i.imgur.com/ktVsj.png

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    edited August 2010
    Yeah, I have Firefox with Firebug installed. I'm not sure what I should be looking for...

    The console says:
    GET .../forum/dashboard/authentication/configure/proxy?DeliveryType=VIEW 200 OK X 275 ms

    When it's loading...
    http://i38.tinypic.com/2ypm2xg.jpg

    When it's done and nothing comes up.
    http://i34.tinypic.com/2ag9ds.jpg
  • Options
    TimTim Operations Vanilla Staff
    I'd like to see whats in the Console tab there, specifically the status and Response of the AJAX request you just mentioned

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    edited August 2010
    That's the only thing that comes up. Nothing comes up in the HTML and Response tabs. The only other data that comes up is in the header tab:
    http://i35.tinypic.com/15hzd3.png

    And the Params tab:
    DeliveryType VIEW
  • Options
    Anything?
  • Options
    TimTim Operations Vanilla Staff
    Give me a day. 2.0.4 and 1.7 are coming, with several changes that should get rid of annoyances like this. If that doesnt fix it i'll with you directly to debug it. Deal?

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    I'm sorry, I didn't know about the new versions coming.
  • Options
    In the meantime, how can we set the four options below via code, conf, or database manually?

    Authenticate Url
    Registration Url
    Sign-in Url
    Sign-out Url
  • Options
    TimTim Operations Vanilla Staff
    they're in the database in GDN_UserAuthenticationProvider
    you'll want the row where AuthenticationSchemeAlias = 'proxy'.

    Vanilla Forums COO [GitHub, Twitter, About.me]

  • Options
    Thanks Tim, just a couple more specifics:

    Does the URL database table require you to put in the Authenticate Url listed in wordpress?

    AuthenticationSchemeAlias is set to 'proxy'?

    The rest are pretty straight forward I assume. Although were having issues with the Log Out in Vanilla, it won't do it. You just stay logged in.

    http://www.mydomain.com/wp-login.php?action=logout&_wpnonce={Nonce}&redirect_to={Redirect}

    Is what's set in the SignOutUrl field.
Sign In or Register to comment.