Hi,

I may not be on the right path with this issue, but I didn't think you'd mind me posting here even in the event that I'm wrong.

I am setting up a secure user login node on my site, but I get a mixed content error indicating the page has resources that are not secure. See the attached image.

When I view the page source, the only non-secure portions (http references, not https) seem to be related to the theme. Here are some pieces of the code as an example:

<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html lang="en" dir="ltr"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/terms/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:og="http://ogp.me/ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:sioc="http://rdfs.org/sioc/ns#"
  xmlns:sioct="http://rdfs.org/sioc/types#"
  xmlns:skos="http://www.w3.org/2004/02/skos/core#"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema#"><!--<![endif]-->

<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans" media="all" />

<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

Am I correct to think this code is triggering the ssl error? I know this is a commerce supporting theme, so I know it must function in secure mode. Any guidance would be wonderful; I'm very new to all this. Thanks!

CommentFileSizeAuthor
https-slash.jpg45.21 KBstarbucksguy

Comments

Jeff Burnz’s picture

Project: AT Commerce » AdaptiveTheme
Version: 7.x-2.0-rc2 » 7.x-2.x-dev
Component: Miscellaneous » Code
Category: support » bug
<link type="text/css" rel="stylesheet" href="http://fonts.googleapis.com/css?family=Open+Sans" media="all" />

<!--[if lt IE 9]><script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script><![endif]-->

Those are the two offending lines, I know I fixed this in the dev version of Adaptivetheme (its a core theme issue), but I need to check if I committed it (pretty sure I did), the fix is to remove the http//: bit, it works perfectly.

starbucksguy’s picture

Jeff, Thank you for your speedy response; your support is another reason this theme is so outstanding.

I couldn't ask a more basic question, but in what file do I remove the http//: bit, and where do I find that file?
Thank you again.

Jeff Burnz’s picture

Just download and use the DEV version, it contains some other fixes and is perfectly stable.

starbucksguy’s picture

Sorry for the follow up, but I want to be certain I do the correct thing.

I need to install the DEV version of AdaptiveTheme and *not* AT Commerce, is that right?

Also, will I retain all of my layout and custom color scheme settings? I'm so close to "going live" with the site that I don't want to mess anything up.

Thank you for your patience.

starbucksguy’s picture

Status: Active » Fixed

I went ahead and backed up my AdaptiveTheme directory and then installed the DEV version. The mixed content error is fixed, and all layout and color settings remain in tact. Thank you.

Jeff Burnz’s picture

Awesomeness. Yeah, you did the right thing. Thanks for reporting back, much appreciated.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

agerson’s picture

Version: 7.x-2.x-dev » 7.x-2.2
Component: Code » CSS/HTML
Status: Closed (fixed) » Active

I am having this problem with adaptivetheme + corolla + footheme. Just downloaded it last week

Jeff Burnz’s picture

agerson - are yo using Google fonts, and what versions of each theme are you using?

agerson’s picture

No google fonts.

AdaptiveTheme 7.x-2.2
Corolla 7.x-2.2
Footheme 7.x-2.0

is this the problem:

<!--[if (gte IE 9)|(gt IEMobile 7)]><!--><html lang="en" dir="ltr"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:dc="http://purl.org/dc/terms/"
  xmlns:foaf="http://xmlns.com/foaf/0.1/"
  xmlns:og="http://ogp.me/ns#"
  xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#"
  xmlns:sioc="http://rdfs.org/sioc/ns#"
  xmlns:sioct="http://rdfs.org/sioc/types#"
  xmlns:skos="http://www.w3.org/2004/02/skos/core#"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema#"><!--<![endif]-->
<head>
Jeff Burnz’s picture

If it is, then its not a theme issue, this is core adding the xmlns definitions via the $rdf_namespaces variable.

Jeff Burnz’s picture

Status: Active » Closed (fixed)

This is fixed in all versions using Google fonts.