If this is your first visit, check our documentation. To post, register or login.
Forums / Community Contributed Add-Ons / All Other Contributions/Addons / Security prompts "your site contains non secure elements"

Security prompts "your site contains non secure elements"

Locked

Started by jrb1512 on 3 Oct 2006, 9:32 PM · Views: 3,575

Results 1 to 9 of 9
This thread is locked. New replies are disabled.
3 Oct 2006, 9:32 PM
#1
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Location:
Cheshire, UK
Posts:
100
Plugin Contributions:
0

Post #1 by jrb1512

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.

3 Oct 2006, 9:55 PM
#2
bmhayes avatar

bmhayes

New Zenner

Join Date:
Nov 2005
Location:
Missouri
Posts:
34
Plugin Contributions:
0

Post #2 by bmhayes

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

3 Oct 2006, 9:57 PM
#3
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Location:
Cheshire, UK
Posts:
100
Plugin Contributions:
0

Post #3 by jrb1512

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 :sleepy:

3 Oct 2006, 9:58 PM
#4
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,512
Plugin Contributions:
176

Post #4 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:```
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.

3 Oct 2006, 10:00 PM
#5
jrb1512 avatar

jrb1512

Zen Follower

Join Date:
Sep 2006
Location:
Cheshire, UK
Posts:
100
Plugin Contributions:
0

Post #5 by jrb1512

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:```
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?
8 Dec 2006, 4:52 PM
#6
davik1000 avatar

davik1000

New Zenner

Join Date:
Aug 2006
Posts:
28
Plugin Contributions:
0

Post #6 by davik1000

How does one "skip display on SSL pages"?

Thanks,
Vicki

15 Dec 2006, 10:53 PM
#7
fred_head avatar

fred_head

New Zenner

Join Date:
Dec 2006
Posts:
4
Plugin Contributions:
0

Post #7 by fred_head

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

16 Dec 2006, 12:46 AM
#8
davik1000 avatar

davik1000

New Zenner

Join Date:
Aug 2006
Posts:
28
Plugin Contributions:
0

Post #8 by davik1000

Fred!Head:

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 } ?>
16 Dec 2006, 9:22 PM
#9
fred_head avatar

fred_head

New Zenner

Join Date:
Dec 2006
Posts:
4
Plugin Contributions:
0

Post #9 by fred_head

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