Forum Replies Created

Viewing 7 replies - 1 through 7 (of 7 total)
  • Thread Starter msolomos

    (@msolomos)

    I have replace the following with https URLS but it doesn’t make a difference

    define('WP_HOME', 'http://example.com');
    define('WP_SITEURL', 'http://example.com');

    It didn’t remove the notice so I added the following code to wp-config.php

    //Begin Really Simple SSL Load balancing fix
    $server_opts = array("HTTP_CLOUDFRONT_FORWARDED_PROTO" => "https", "HTTP_CF_VISITOR"=>"https", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_X_FORWARDED_SSL"=>"on", "HTTP_X_FORWARDED_SSL"=>"1");
    foreach( $server_opts as $option => $value ) {
    if ((isset($_ENV["HTTPS"]) && ( "on" == $_ENV["HTTPS"] )) || (isset( $_SERVER[ $option ] ) && ( strpos( $_SERVER[ $option ], $value ) !== false )) ) {
    $_SERVER[ "HTTPS" ] = "on";
    }
    }
    //END Really Simple SSL

    But still didn’t make a difference and the warning is still there …

    so right now I am having two scripts

    //Begin Really Simple SSL session cookie settings
    @ini_set('session.cookie_httponly', true);
    @ini_set('session.cookie_secure', true);
    @ini_set('session.use_only_cookies', true);
    //END Really Simple SSL
    //Begin Really Simple SSL Load balancing fix
    $server_opts = array("HTTP_CLOUDFRONT_FORWARDED_PROTO" => "https", "HTTP_CF_VISITOR"=>"https", "HTTP_X_FORWARDED_PROTO"=>"https", "HTTP_X_FORWARDED_SSL"=>"on", "HTTP_X_FORWARDED_SSL"=>"1");
    foreach( $server_opts as $option => $value ) {
    if ((isset($_ENV["HTTPS"]) && ( "on" == $_ENV["HTTPS"] )) || (isset( $_SERVER[ $option ] ) && ( strpos( $_SERVER[ $option ], $value ) !== false )) ) {
    $_SERVER[ "HTTPS" ] = "on";
    }
    }
    //END Really Simple SSL
    

    please help me solve the problem

    Thread Starter msolomos

    (@msolomos)

    thank you in advance for your reply.

    I have done it already. I didn’t get a reply this is the reason I open it here.

    please advise how to proceed

    Thread Starter msolomos

    (@msolomos)

    anyone pls?

    Thread Starter msolomos

    (@msolomos)

    thank you for your reply

    this is currently the shortcode I am using

    [wpsl template=”below_map” map_type=”roadmap” auto_locate=”false” start_marker=”red” store_marker=”blue” category_selection=””]

    Can’t figure out how to hide the store list …
    Would you please share an example?

    Thread Starter msolomos

    (@msolomos)

    hello,
    thank you very much for your prompt reply.

    Unfortunatelly I am working the website locally so I can’t provide the url.
    would apreciate it if you can share with me the custom css.

    thank you in advance
    makis

    Thread Starter msolomos

    (@msolomos)

    Thank you Paul. You are a star!

    Thread Starter msolomos

    (@msolomos)

    Dear Paul,

    Thank you very much for your quick reply.

    I’ve added the margin under /var/www/html/wp-content/plugins/author-avatars/css/shortcode.css

    Can you please confirm that it won’t be replaced after a feature plugin update?

Viewing 7 replies - 1 through 7 (of 7 total)