Results 1 to 9 of 9
  1. #1
    Join Date
    Sep 2006
    Location
    Cheshire, UK
    Posts
    103
    Plugin Contributions
    0

    Default Security prompts "your site contains non secure elements"

    From when i click the log in link as a customer i get prompted with the security prompts stating that

    "This page contains both secure and nonsecure items.

    Do you want to display the nonsecure items?"

    This happens throughout the checkout process, a number of visitors are going to quit at this point but i'm not sure how to resolve it. i have a shared ssl on the site from my host.


    I'm not sure where to start ive had no response from my host on this as of yet.

  2. #2
    Join Date
    Nov 2005
    Location
    Missouri
    Posts
    37
    Plugin Contributions
    0

    Default Re: Security prompts

    The google analytics script is called from a non secure server. This is what is causing your secure/non secure errors.

  3. #3
    Join Date
    Sep 2006
    Location
    Cheshire, UK
    Posts
    103
    Plugin Contributions
    0

    Default Re: Security prompts

    oh dear, are there any free traffic monitoring programs that dont cause this?

    i had to use the support threads to learn how to integrate it and now i'm going to have to remove it, oh well

  4. #4
    Join Date
    Jan 2004
    Posts
    66,443
    Plugin Contributions
    279

    Default Re: Security prompts

    That indicates that somewhere in your templates you have hard-coded actual URL links to http://xxxxxxxxx instead of using relative paths to objects.

    This can also happen if you have added banners with http:// links and not told them to skip display on SSL pages.

    This can also happen if you have added click-tracking tools to your site via javascript, which link to http:// links somewhere.

    You can identify most culprits by searching your browser's View Source for:
    Code:
    src="http://
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Sep 2006
    Location
    Cheshire, UK
    Posts
    103
    Plugin Contributions
    0

    Default Re: Security prompts

    Quote Originally Posted by DrByte
    That indicates that somewhere in your templates you have hard-coded actual URL links to http://xxxxxxxxx instead of using relative paths to objects.

    This can also happen if you have added banners with http:// links and not told them to skip display on SSL pages.

    This can also happen if you have added click-tracking tools to your site via javascript, which link to http:// links somewhere.

    You can identify most culprits by searching your browser's View Source for:
    Code:
    src="http://

    ive checked the banners their ok, ive just searched the page source for my homepage and its riddled with "http://" how can i resolve this any ideas?

  6. #6
    Join Date
    Aug 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Security prompts

    How does one "skip display on SSL pages"?

    Thanks,
    Vicki

  7. #7
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Security prompts "your site contains non secure elements"

    For hysterical/historical purposes, since I had this same problem, wanting to use Google Analytics and StatCounter.com code on my client's web pages, here's the solution:

    http://www.zen-cart.com/forum/showthread.php?t=53809

    Answer courtesy of getyourgameshere.com, thanks!

    Tim

  8. #8
    Join Date
    Aug 2006
    Posts
    28
    Plugin Contributions
    0

    Default Re: Security prompts "your site contains non secure elements"

    Quote Originally Posted by Fred!Head View Post
    For hysterical/historical purposes, since I had this same problem, wanting to use Google Analytics and StatCounter.com code on my client's web pages, here's the solution:

    http://www.zen-cart.com/forum/showthread.php?t=53809

    Answer courtesy of getyourgameshere.com, thanks!

    Tim
    Great! What file did you put this code in? Does it matter where at in the file? Did you have to change anything else in the file?

    <?php
    if ($request_type == 'NONSSL') {
    //code goes here for non-ssl
    } else {
    //if its ssl, show me this stuff
    }
    ?>

  9. #9
    Join Date
    Dec 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: Security prompts "your site contains non secure elements"

    For third party website analytics software code (usually javascript), it gets placed right above the close body, close html tags in tpl.footer.php file in the /common folder of your templates. In our case, it's in the default template folder.

    As a heads up, for Google Analytics, there's also code you can put on your thank you/confirmation page for the sale that will synch up sales with activity up to where people buy, I believe. So you get sales metrics in addition to the non-SSL activity metrics. Just do some research at the GA site to find the code and settings needed. Along with AdWords reporting, that's what makes GA powerful as a free reporting tool. And I also use StatCounter.com to get the clickpath data.

    Hope that's clear.

    Tim

 

 

Similar Threads

  1. Replies: 7
    Last Post: 30 Jun 2009, 04:43 AM
  2. Replies: 3
    Last Post: 8 Oct 2008, 01:53 AM
  3. Replies: 2
    Last Post: 26 Sep 2008, 07:10 AM
  4. Analytics and the "Secure & Non-Secure" IE messages
    By cochlear in forum General Questions
    Replies: 5
    Last Post: 16 Jun 2008, 12:53 AM
  5. Help with "page contains both secure and nonsecure items"
    By bpais in forum General Questions
    Replies: 4
    Last Post: 21 Jan 2008, 03:32 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg