1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Warning "secure/insecure elements" on https pages

Discussion in 'Co-op Advertising Network' started by euromickey, Apr 2, 2005.

  1. #1
    I run my site with SSL encryption on the shopping cart pages and I have updated my ad_network.php file. When a customer comes to a https page he gets a warning like "this page contains both secure and insecure elements". This obviously is due to the new php code in the footer:

    <?php
    ini_set ("include_path", ini_get ("include_path") . ':../:../../:../../../:../../../../');
    include ('ad_network_214.php');
    echo $ad_network;
    ?>

    I tryed to change the include path into 'https:// mysite.com/ad_network_214.php' but it did not work out. Anybody has a solution?

    Edit: Wrong category, sorry. Feel free to move this thread to "Setup / Validation Help".
     
    euromickey, Apr 2, 2005 IP
  2. euromickey

    euromickey Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #2
    When I set the full path to the ad_network_ads_215.txt file in the ad_network.php file, I get "You must set the ad network .txt file to be writable".

    I tryed it this way:
    $ad_file = 'https://www.watchband.de/ad_network_ads_215.txt';
     
    euromickey, Apr 3, 2005 IP
  3. digitalpoint

    digitalpoint Overlord of no one Staff

    Messages:
    38,333
    Likes Received:
    2,613
    Best Answers:
    462
    Trophy Points:
    710
    Digital Goods:
    29
    #3
    I don't think there would be a way for you to run them on that site since the ad server does not support SSL.
     
    digitalpoint, Apr 3, 2005 IP
  4. euromickey

    euromickey Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    So don't you think the Coop members should have the option to stick to the old php version - since this one worked fine?
     
    euromickey, Apr 3, 2005 IP
  5. Christopher

    Christopher Peon

    Messages:
    482
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Does google index https pages?

    I don't think so, but you might test. If it doesn't, then you could take the code off your secure pages and just keep them on your regular pages. If google doesn't have your secure shopping cart indexed, then you aren't getting weight from them anyway.

    And if I'm right and google doesn't have your secure pages indexed, there should not be a validation problem.

    .
     
    Christopher, Apr 3, 2005 IP
  6. euromickey

    euromickey Peon

    Messages:
    26
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you Christopher, you're right!

    My SSL secured pages are not indexed. So I removed the ads from these pages and revalidaded my account successfully. Also, my weight has not changed.
     
    euromickey, Apr 3, 2005 IP