Minimize Text   Default    Enlarge Text

This page contains both secure and nonsecure items (or "Unauthenticated content").

Print
Save to list
Subscribe
Problem:
When i click the Log In link as a customer i get prompted with the security prompts stating:

"This page contains both secure and nonsecure items.
Do you want to display the nonsecure items?"


or
"Page contains unauthenticated content"

This happens on all my "secure" pages, such as My Account and Checkout.

Solution:

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:// pages somewhere.

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

Then work through your template files and remove those hard-coded links. If they are caused by click-tracking scripts somewhere, try converting them to https:// links or contact the vendor for assistance with alternate scripts.


Basically, *never* hard-code a full HTTP:// URL into any page on your site unless you know that doing so will not produce this sort of error.  This is especially true for <IMG SRC=...> and <SCRIPT SRC=...> tags.




Related Articles
EZ-Pages - What are they and how do they work?
Summary EZ-Pages is a fast, easy way of creating links and additional pages. The additional Pages can be for: New Pages Internal Links...
How do I add additional links to the Header and Footer?
CAPITALIZED words refer to a folder or language that you choose. We use CUSTOM for your template and ENGLISH for your language by default. These generic terms should...
How can I program a link to an EZ-Page?
For simple menus made up of EZ-Pages and non-EZ-Pages, the best solution is often to use the internal and external link functions within EZ-Pages to bring all of the links...

 


Copyright © 2003 - 2009 Zen Ventures, LLC
Get Zen Cart E-Commerce Shopping Cart at SourceForge.net. Fast, secure and Free Open Source software downloads