New Landing How can we help? Atelier Website logo breaks SSL on checkout and account pages

Tagged: ,

Viewing 11 posts - 1 through 11 (of 11 total)
  • Posted in: Atelier
  • #178269
    Saskia
    Member
    Post count: 20

    I’m sure you guys are aware of this issue as it’s come up before, but I thought I’d post this screencast video just to remind that it’s still causing problems.

    In the video you can see the site links are all HTTPS except for the logo image. Once I remove the logo image, everything works fine. Put it back, and SSL is broken again. It seems there is no HTTPS check when fetching the logo image file.

    My site is using SSL on the checkout and account pages only. I saw another thread where you suggested to set the website address as HTTPS, but I don’t want to run the entire site through SSL because of the unnecessary overheads.

    Any chance of this being fixed at some stage in a future update?

    Attachments:
    You must be logged in to view attached files.
    #178745
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Like was told in the other topic, since you have HTTPS you should have everything in HTTPS specially those 2 address url in General Settings.

    That configuration you have at the moment will could cause several problems because the plugins/themes use the WordPress address to build the full url.

    -Rui

    #179382
    Saskia
    Member
    Post count: 20

    Hi Rui,

    Thanks for your feedback.

    Since it was only the logo which was causing the issue I decided to fix the problem myself. In the sf-header.php file there is this code:

    // Standard Logo
     if ( isset( $sf_options['logo_upload'] ) ) {
         $logo = $sf_options['logo_upload'];
         }

    I simply added an extra line of code to check for ssl, so it looks like:

    // Standard Logo
    if ( isset( $sf_options['logo_upload'] ) ) {
        $logo = $sf_options['logo_upload'];
            if (is_ssl()) { $logo = str_replace( 'http:', 'https:', $logo ); }
        }

    And now it works perfectly. The checkout and account pages use SSL without problems.

    #179721
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    I don’t doubt that works, but you can run with several other problems if you don’t set the urls correctly. Google maps, etc

    The WordPress themes should work on both protocols without changing the code.
    The important is that is sorted for you.

    -Rui

    #227829
    maratino
    Member
    Post count: 68

    It works, just had the same problem and changed the modified “function sf_logo” into my child’s functions.php. Switching the whole site to https is not an option because of Google.

    #227845
    David Martin – Support
    Moderator
    Post count: 20834

    Glad it helped you also.
    -David.

    #232532
    ctingom
    Member
    Post count: 16

    I have this issue as well, but here’s the other elements that are insecure:

    Favicon
    Logo
    Retina Logo
    Background Texture

    #232535
    ctingom
    Member
    Post count: 16

    Solved. For anyone else with WP Engine and HTTPS, these settings solved the issue and the logo loaded in secure mode.

    Attachments:
    You must be logged in to view attached files.
    #232967
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks for posting those settings, that is really useful for other users. WP-Engine rocks!

    – David.

    #325534
    Dev23847
    Member
    Post count: 124

    Is “WP Engine” a plugin? Can you kindly send link.

    #325537
    David Martin – Support
    Moderator
    Post count: 20834

    WPEngine is a hosting provider for WordPress.

    Thanks.

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

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

License required for one of the following items
Login and Registration Log in · Register