Topic-icon One link keeping my site from being 100% SSL

Active Subscriptions:

None
Hi:

I have one link: /components/com_jfbconnect/assets/jfbconnect.css
That will not, no matter what I do, stay https:
Is there an include or somewhere that I can hardcode this thing to be https: anywhere?
Thanks in advance.

Erick
The topic has been locked.
Support Specialist
11 years 8 months ago #26509 by alzander
Erick,
Sorry about that. We just got a report of this issue the other day. Can you check the forum post below which should help you implement the easy fix for that file:
www.sourcecoast.com/forums/jfbconnect/jf.../5136-ssl?p=1#p26412

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Hi Alex:

Tried this fix, but still not working. Any further suggestions?

Erick
The topic has been locked.
Support Specialist
11 years 8 months ago #26549 by alzander
Please don't double post. It doesn't speed things up.

We can't understand where the issue is coming from then. Can you post (or Private Message) the URL for your site so we can look at the code being generated? If you have any SEF extensions enabled, or any 'optimizers' (compression, CDN, etc), please try disabling those as well to see if it helps. The way we were generating the tag with JURI::base() should have included the full domain with https. By adding the (false) to it, it should only create a relative path, which should definitely use the proper scheme for the page. You can check our demo site which is properly making those into SSL links:
demo.sourcecoast.com/index.php?option=co...cle&id=11&Itemid=175

So, we'll need to understand what's different about your site to provide a better solution.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex:

Sorry about that, not sure why I double posted..
I'll PM you with the site info.

Erick
The topic has been locked.
Active Subscriptions:

None
Alex:

I sent you a PM with the information you'll need yesterday. Hope it makes sense to you.

Chris
The topic has been locked.
Support Specialist
11 years 8 months ago #26571 by alzander
Chris,
Thanks for the PM with your site address. Knowing that, I have a different change to try. Still unsure why it's doing what it's doing, but this should definitely fix the problem. Please edit the same /plugins/system/jfbcsystem.php file at around line 370. In there, change the line to:
$newText = '<link rel="stylesheet" href="/components/com_jfbconnect/assets/jfbconnect.css" type="text/css" />' . $newText;

That should remove the domain path altogether and simply load the file as a completely relative link. If that doesn't work, please try disabling SEF URLs completely and testing again. If that works, re-enable the SEF and let us know. That will simply help us narrow down what's causing the link to revert back to non-SSL.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
Alex:

That did the trick. Thanks much.
The topic has been locked.
Support Specialist
11 years 7 months ago #26586 by alzander
Awesome! Glad to hear that worked. If you need anything else, let us know. We'll try to do some testing to recreate, but please keep an eye on this when you upgrade as the change may revert.

Best of luck,
Alex
The topic has been locked.