New Landing How can we help? Themeforest Theme Support Dante Unable to add shortcodes when FORCE_SSL_ADMIN set

Viewing 6 posts - 1 through 6 (of 6 total)
  • Posted in: Dante
  • #37241
    ielbury
    Member
    Post count: 51

    When FORCE_SSL_ADMIN is defined the Shortcode dialog is broken.

    To verify:
    1. Enable SSL on the server.
    2. Add define(‘FORCE_SSL_ADMIN’, true); to the wp-config.php.
    3. Create a page and add a Parallex.
    3. Try and add a Shortcode to the Parallex.

    The Shortcode dialog is displayed but immediately shows the button settings. Changing to another Shortcode does not do anything.

    For now, I can live with FORCE_SSL_LOGIN but really need FORCE_SSL_ADMIN.

    Thanks,
    Ian

    #37514
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Hi Ian,

    We don’t have an SSL set up at the moment, so it may be easier if you could possibly give us a link and login to check?

    Are you getting any console errors when you open the shortcode generator? If you could paste what you get, that should help us.

    Thanks,

    – Ed

    #37551
    ielbury
    Member
    Post count: 51

    Hi Ed,

    Unfortunately the site is behind a firewall right now. When I get some time, I will try and get you setup to diagnose this.

    Thanks,
    Ian

    #37879
    ielbury
    Member
    Post count: 51

    I think this problem is caused by some code somewhere being hardcoded with http scheme instead of looking at the current session’s scheme. i.e. http and https are being used when only https should be used.

    If you try use the editor on IE, you get the message “Only secure content is displayed”. If you press “Show all content”, the page refreshes and the editor is now useable. When you use Chrome, there is no error and the editor is not functional.

    I have attached a screen shot of the IE error message and how the editor looks when it fails and a shot of the Chrome console.

    I have seen this problem on several sites where IE works but Chrome doesn’t. It’s unusual that IE works and Chrome doesn’t ๐Ÿ™‚

    I hope this helps you Ed?

    Cheers,
    Ian

    #37882
    ielbury
    Member
    Post count: 51

    Hi Ed,

    This is not your problem. Sorry for that!

    After looking at the last post I realized that there needed to be a redirect as there was other content that was being referenced using http:. A quick Google and sure enough, I have to add a few more lines to my .htaccess.

    I got the correct .htaccess entries from this post http://codex.buddypress.org/getting-started/htaccess-redirects-for-force_ssl_admin/

    Thanks for the support!

    #38131
    Swift Ideas – Ed
    Keymaster
    Post count: 15264

    Glad you sorted it! ๐Ÿ™‚

    – Ed

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register