68 Classifieds Forums  

Go Back   68 Classifieds Forums > v3.1.x Help & Support > v3.1 Questions & Support
Register Projects FAQ Members List Calendar Search Today's Posts Mark Forums Read

v3.1 Questions & Support Help and support for 68 Classifieds v3.1.x

 
Thread Tools Display Modes
  #1  
Old 10-10-2007, 10:54 AM
Kelly Olsen Kelly Olsen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 10
Default SSL Certificate issues

Hello,

I've just installed a secure certificate on my site, have signed up for Authorize.net, and have set up the AIM method.

When I go to a secure "https" page in my site, I get a warning asking if I want to display secure and unsecure data. If I answer "yes", the page loads fine, but no lock displays on the bottom of my browser (IE 7). I've been told that secure pages can't have any links to "http" pages. All links must be relative, or link to "https".

When I go to the page in IE & view source, there are 5 hard coded "http" references. I'm concerned about 2 of them as follows:

1st http reference is http://www.w3.org/TR/html4/loose.dtd , I don't think this is the issue but I'm not sure

2nd hardcoded link is for the SEO module as I understand:
<base href="http://www.domain.com/" />
Can anything be done with this to make it a relative or https link?

Also, there are 2 hardcoded links that are commented out, but when I view source, I see them. Do you think these could be the problem?

Any help would be appreciated!

Thank you,

Kelly Olsen
v3.1.10 Dev
Reply With Quote
  #2  
Old 10-10-2007, 11:22 AM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,460
Default

Hi Kelly,

You can try replacing the base href tag with this:
Code:
{if $smarty.server.SERVER_PORT==443} 
<base href="{$smarty.const.URLS}/" /> 
{else} 
<base href="{$smarty.const.URL}/" /> 
{/if}
Also keep in mind that all images, style sheet, etc need to also be called through https or that error will show.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog
Reply With Quote
  #3  
Old 10-10-2007, 11:35 AM
Kelly Olsen Kelly Olsen is offline
Junior Member
 
Join Date: Sep 2007
Posts: 10
Default

Hi Eric,

Thanks for the quick reply!

One more question, you say "images, style sheet, etc need to also be called through https"

If the images/stylesheets/etc... are relative links, will that work, or do I have to duplicate each image/stylesheet/etc. with an "https" version?

Thanks again,

Kelly
Reply With Quote
  #4  
Old 10-10-2007, 11:39 AM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 1,725
Default

Eric, how does altering the base href affect the SEO module??
__________________
Larry.
Reply With Quote
  #5  
Old 10-10-2007, 11:45 AM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,460
Default

Quote:
If the images/stylesheets/etc... are relative links, will that work, or do I have to duplicate each image/stylesheet/etc. with an "https" version?
If they are relative links then place that code I posted above the calls to these files. For example:
Code:
{if $smarty.server.SERVER_PORT==443} 
<base href="{$smarty.const.URLS}/" /> 
{else} 
<base href="{$smarty.const.URL}/" /> 
{/if}
<link href="style.css" rel="stylesheet" type="text/css" />
Quote:
Eric, how does altering the base href affect the SEO module??
I haven't had any issues using both together. I believe one thing I did was make the links in the templates absolute though. That way once they are finished with the order they are then back to the normal http.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog
Reply With Quote
  #6  
Old 10-10-2007, 12:04 PM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 1,725
Default

Quote:
Originally Posted by suzkaw View Post
If they are relative links then place that code I posted above the calls to these files. For example:
Code:
{if $smarty.server.SERVER_PORT==443} 
<base href="{$smarty.const.URLS}/" /> 
{else} 
<base href="{$smarty.const.URL}/" /> 
{/if}
<link href="style.css" rel="stylesheet" type="text/css" />
I haven't had any issues using both together. I believe one thing I did was make the links in the templates absolute though. That way once they are finished with the order they are then back to the normal http.
So you have to go through every single template with a link in it and add that conditional logic?? Or is it safe to just place this in layout.tpl.php where the base href is initially stated.
__________________
Larry.
Reply With Quote
  #7  
Old 10-10-2007, 12:14 PM
suzkaw suzkaw is offline
Trained to break arms!
 
Join Date: Mar 2006
Location: Belmont, NC
Posts: 2,460
Default

Yea just add it to the layout file. The URLS will not be used until you click a link that takes you to https.
__________________
Eric Barnes
68 Classifieds Developer
Customer Area | Issue Tracker | Knowledge Base | User Manuals | My Blog
Reply With Quote
  #8  
Old 10-10-2007, 12:17 PM
Lhotch's Avatar
Lhotch Lhotch is offline
Moderator
 
Join Date: Mar 2006
Posts: 1,725
Default

Great, thanks for the clarification Eric.
__________________
Larry.
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SSL Certificate Syssh v3.1 Questions & Support 2 11-26-2006 11:08 PM
Upgrading to v3.1.3 issues again GSP v3.1 Questions & Support 6 06-12-2006 08:03 AM
Certificate Installation motoenth News & Announcements 0 04-27-2006 10:23 AM
Paypal issues doug-gb v3.0 Questions & Support 9 04-03-2006 06:27 AM


All times are GMT -4. The time now is 07:22 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2007, Jelsoft Enterprises Ltd.