Post by robmaric » Fri Nov 11, 2011 6:13 pm

Hey friends,

I have set up an SSL cert for my site and everything is working just fine EXCEPT there are still plenty of http:// links in my checkout page being generated by my template's header.tpl. These are setting off the "your page has unencrypted information" warning in browsers. They are hard coded into the header.tpl file and there doesn't appear to be an alternate header.tpl for SSL so I can only conclude that my theme does not support SSL

For example a link to http://ajax.googleapis.com/ajax/libs/jq ... ery.min.js is used.

Does this mean my theme does not support SSL and I need to manually change those links permanently to https:// (and cop the slight performance hit for the rest of the site)

My theme is highStreet

Any help would be appreciated!

Thanks
Rob

Newbie

Posts

Joined
Fri Nov 11, 2011 6:07 pm

Post by wernerrenrew » Fri Nov 11, 2011 6:23 pm

Hi,

The jquery library is also included in the distribution of this software.
catalog/view/javascript/jquery
Also ajax.googleapis.com supports Ssl.

Regards Werner

User avatar
Active Member

Posts

Joined
Thu Oct 27, 2011 9:48 pm
Location - Netherlands

Post by uksitebuilder » Fri Nov 11, 2011 7:15 pm

you can use // instead of https:// or http://

but as mentioned you should be able to relatively link to jquery in the OC package

linking externally has it's benefits of course, but also if for some reason there is a connection drop or network issues with the external link, your site will cease to function.

You could try the following which will link to Google's jquery and fallback to your local jquery file if needed

Code: Select all

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="catalog/view/javascript/jquery/jquery-1.6.1.min.js"%3E%3C/script%3E'))</script>

ImageImageImageImage

For Friendly Professional Support - Click Here


User avatar
Guru Member

Posts

Joined
Thu Jun 09, 2011 11:37 pm
Location - United Kindgom

Post by robmaric » Sat Nov 12, 2011 8:30 am

"you can use // instead of https:// or http://"

BRILLIANT! FIXED! Thank you so much. I had no idea you could do this. Very simple fix.

Newbie

Posts

Joined
Fri Nov 11, 2011 6:07 pm

Post by robmaric » Sat Nov 12, 2011 8:32 am

Ha, I'm trying to edit the thread title to add [SOLVED] but I'm not sure how to...

Newbie

Posts

Joined
Fri Nov 11, 2011 6:07 pm

Post by mannyiscanny » Wed Nov 23, 2011 7:00 pm

Hi there

I am also having problems with SSL certificates they are all installed correctly on server and checked via ssl checker.

I am using 1.9.4.1 with High street theme.

When you go through the check out process (or login) the following warning box appears:

show hidden content whats the risk? bla bla bla

You have to click the "show hidden content" to contunie inputting your details - at this point the padlock dissappears.

I then get other errors saying:

Notice: Constant HTTPS_SERVER already defined in /home/.../public_html/lok-it.co.uk/index.php on line 58

Notice: Constant HTTPS_IMAGE already defined in /home/.../public_html/lok-it.co.uk/index.php on line 59
Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/ironkey/public_html/lok-it.co.uk/index.php:58) in /home/.../public_html/lok-it.co.uk/system/library/session.php on line 11

These errors appear around the on the second page of the checkoput process where you have to put in you address details

If I visited another site like this and was wanting to buy something from it I would leave immediately.

What do I need to do to fix it??

Please help

Thank you

New member

Posts

Joined
Thu Jul 21, 2011 8:12 pm
Who is online

Users browsing this forum: pprmkr and 47 guests