Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 9

GumCloudZvonkoericgillettelucperegrinesandino +3 guests

Plugin Enabled--Can't Authenticate

This discussion is related to the Vanilla Proxyconnect addon.
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?

Comments

  • TimTim
    Posts: 1,573
    @ellieroepken are you using RewriteUrls ?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • 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.
  • TimTim
    Posts: 1,573
    @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 Senior Developer [GitHub, Twitter, About.me]

  • :\ After changing that, I can't access any of the dashboard's sub pages.
  • Posts: 291
    Same problem here.
  • @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
  • @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?
  • TimTim
    Posts: 1,573
    Have you enabled ProxyConnect? If so, is it listed in the dropdown under the "Authentication" dashboard menu item?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Yes, it's enabled and I'm able to choose an authentication method now. When that finishes loading, nothing happens.
  • And I chose ProxyConnect as the auth method.
  • TimTim
    Posts: 1,573
    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 Senior Developer [GitHub, Twitter, About.me]

  • 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
  • TimTim
    Posts: 1,573
    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 Senior Developer [GitHub, Twitter, About.me]

  • 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
  • Anything?
  • TimTim
    Posts: 1,573
    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 Senior Developer [GitHub, Twitter, About.me]

  • I'm sorry, I didn't know about the new versions coming.
  • 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
  • TimTim
    Posts: 1,573
    they're in the database in GDN_UserAuthenticationProvider
    you'll want the row where AuthenticationSchemeAlias = 'proxy'.

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • 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.
  • TimTim
    Posts: 1,573
    If you're using WordPress and ProxyConnect together... why are you even messing around with the database directly?

    Enable ProxyConnect, then enable the Wordpress plugin in Wordpress itself. Click on "ProxyConnect" in the Wordpress dashboard. On the screen you'll see some URLs. It tells you directly on that screen to copy those values into the Vanilla ProxyConnect plugin, into the fields marked with corresponding names (which you listed earlier).

    Have you done that... ?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • How can anyone do that when we're unable to access the settings in Vanilla ProxyConnect plugin.. All people are getting is the animated icons: http://img9.imageshack.us/img9/9549/screenshot20100906at156.png
  • TimTim
    Posts: 1,573
    Alright try this.

    Find the file /js/slice.js and open it in a text editor. Go to line 95 which should be:
    var SliceURL = gdn.combinePaths(gdn.definition('WebRoot'),this.SliceURL); and changed it to:
    var SliceURL = gdn.url(this.SliceURL);

    Then go to line 108 which should be:
    var SliceURL = gdn.combinePaths(gdn.definition('WebRoot'),this.SliceURL); and change it to:
    var SliceURL = gdn.url(this.SliceURL);

    Thank should fix that particular problem.

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Confirmed. That brought up the configuration thank you...

    Still can't sign out in Vanilla.. and when you log out of Wordpress you are still logged in Vanilla..
  • am I missing something here with the logout system?
  • TimTim
    Posts: 1,573
    Did you click the "Save >>" button in the Wordpress addon, in order to set the cookie domain to one compatible with Vanilla?

    Vanilla Forums Senior Developer [GitHub, Twitter, About.me]

  • Tim are you available for paid support? Like, you login and fix all this? I need to launch the website asap. Please shoot me an email or PM.

    Yes I did click Save.

    Also, this is on the vanilla home page, which now I am no longer an administrator in:

    fabreez said:
    Seems I cant paste html, or it wont show unless you edit this post..
Sign In or Register to comment.