Viewing 15 replies - 1 through 15 (of 25 total)
  • Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Does your theme have wp_head() in there?

    Also what other plugins are you running?

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    Thanks for the reply.

    Yep, the theme has wp_head() in there, that’s what’s outputting the CSS and JS ??

    Plugins in use are:
    1 Cookies for Comments
    2 Google Plus Feed Widget
    3 Redirection
    4 Search & Replace

    Plus nine custom plugins. The only one which uses JS is a colorbox plugin, but disabling that didn’t seem to help.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    I installed all those locally and it’s still working on the Twenty Eleven theme. All I can think is that it’s a theme issue, now. That’s WP Paintbrush?

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    That’s an alpha version of the WP Paintbrush theme with an alpha version of a plugin which allows for different HTML code in the WP Paintbrush theme.

    It’s also a multi-site network using SSL for the admin panel.

    I’m assuming this is just a JavaScript problem of some sort. If my understanding is correct, the plugin just uses some JavaScript to dynamically add some HTML near the #comments tag so the only plugins which should be affecting it would be ones which added JavaScript to it.

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    It’s definitely not a theme issue. I’ve temporarily switched to Twenty Eleven and sill seeing the same issue … https://ryanhellyer.net/2011/10/02/group-trip-to-idaburn/

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    (Theme issues came to mind since themes can include JS.)

    MultiSite or MultiNetwork? I’m using this on Ipstenu.org, which is multisite (which you knew). Is there anything in your error log?

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    Multi-site with SSL.

    I was hoping you would respond with “You FOOL! You missed this really stupidly obvious thing you twit!”. Then I’d go fix it in a matter of seconds. No such luck I guess.

    I might leave this for a week or two and get back to it when I have time to dive in an figure out what’s going on.

    Thanks for your assistance so far though.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    And it’s just SSL for administration. I checked on SSL and non-SSL, 3.3 and 3.2.1, and it’s working… Augh. Hate this.

    Two tests.

    1) There’s a wp-grins-ssl.js.dev file. Swap that with the .js file and see if that helps. The .js is just compressed, but it can’t hurt to test.

    2) Change wp-grins-ssl.php line 98 to this:
    'Ajax_Url' => admin_url('admin-ajax.php', 'https'),

    See what happens?

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    Neither of those worked unfortunately ??

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    I’ve managed to track it down to the inline JS:

    /* <![CDATA[ */
    var wpgrinsssl = {"Ajax_Url":"https:\/\/ryanhellyer.net\/wp-admin\/admin-ajax.php","LOCATION":"admin"};
    /* ]]> */

    The URL used for the admin-ajax.php file doesn’t work with the one used on my live site, but if I changed it to my local dev versions URL (which is not using SSL or sub-domains/domain mapping) it works just fine.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Interesting. Where is your ajax file then, if not /wp-admin/admin-ajax.php?

    That’s just pulled from 'Ajax_Url' => admin_url('admin-ajax.php', $schema_ssl), though maybe I should see if there’s a front end version to call in wp-includes…

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    No, the file is there, it just appears to be not working the way it should be.

    You can visit it at the following URL and see that it spits out the expected -1 output … https://ryanhellyer.net/wp-admin/admin-ajax.php

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    And it works as https://ryanhellyer.net/wp-admin/admin-ajax.php too…

    Okay, looking at mine:

    <script type='text/javascript'>
    /* <![CDATA[ */
    var wpgrinsssl = {"Ajax_Url":"http:\/\/test.ipstenu.org\/wp-admin\/admin-ajax.php","LOCATION":"admin"};
    /* ]]> */
    </script>

    But that works just fine…. Wait. Mine is http, no S, even on sites where I’m using SSL.

    Thread Starter Ryan Hellyer

    (@ryanhellyer)

    I’ve tried with and without the “S” but to no avail. I’m kinda stumped here.

    I need to try disabling ALL of my plugins and step through bit by bit until I can fix it, but not keen on doing that right now as it would require shutting of a bunch of network activated plugins in the process and some of those are a little frail and may actually break some of the sites on the network in the process (need to fix those bugs up but don’t have time right now).

    Thankfully I’m not in a hurry to use the plugin, so I’ll probably leave this a few weeks before tackling it again.

    Thanks for your help so far. It’s much appreciated.

    Plugin Author Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Try doing it locally? The “nine custom plugins” are hard to debug ??

Viewing 15 replies - 1 through 15 (of 25 total)
  • The topic ‘WP Grins SSL not working for some reason’ is closed to new replies.