SSL and the Phoca Facebook Comments Module

Phoca modules - support for all Phoca modules except Phoca Gallery modules
joelstad
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Oct 2011, 18:28

SSL and the Phoca Facebook Comments Module

Post by joelstad »

Greetings!

I had to disable the Phoca Facebook Comments Module in Joomla! 1.7 because it causes an SSL alert in Google Chrome and other browsers about loading content from non-secure locations.

Is there a way to fix this? I love the module but cannot have the SSL alerts on an e-commerce website.

Thanks in advance,

--Joel
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SSL and the Phoca Facebook Comments Module

Post by Jan »

Hi, testing now and get no such problem, try to test your server or browser settings.
If you find Phoca extensions useful, please support the project
joelstad
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Oct 2011, 18:28

Re: SSL and the Phoca Facebook Comments Module

Post by joelstad »

Server and browser settings are fine.

I can open up Joomla! admin and disable the module, close the browser and browse to any https:// on the site and it works fine/validates as an ok SSL connection. Re-enable the module and reload the website and it immediately fails SSL validation. I haven't modified or changed the module in any way.

With module enabled:
http://joelstad.net/images/ac-ssl-issue-with.JPG

Without the module enabled:
http://joelstad.net/images/ac-ssl-issue-without.JPG

Notice the SSL status/warning in the address bar with the module enabled.

-Joomla! Version 1.7.0
-Joomla Platform 11.1 Stable+Modified [ Ember ] 01-Jun-2011 06:00 GMT
-PHP 5.2.17

Any suggestions? I appreciate all the help in advance!

--Joel
joel at joelstad dot net
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SSL and the Phoca Facebook Comments Module

Post by Jan »

Hi, I have no experiences with SSL, so cannot give any specific advice, maybe the ssl does not allow to run iframe pages on the site, but then this is common html/ssl/internet problem :idea: which has no solution ... maybe the iframe site then needs to have some exception, really no idea for now :idea: :-(

Jan
If you find Phoca extensions useful, please support the project
joelstad
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 06 Oct 2011, 18:28

Re: SSL and the Phoca Facebook Comments Module

Post by joelstad »

Well, I'll look through it and see if I can manually change all the link addresses or something.

In the control panel of Joomla!, setting the site to use SSL all the time doesn't change the result so the module is ignoring the SSL requirements and doing it's own thing.

--Joel
joel at joelstad dot net
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48403
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: SSL and the Phoca Facebook Comments Module

Post by Jan »

Hi, the module does not ignore some SSL settings, e.g. while creating URLs, module use JRoute method, so every SSL or other action is between the JRoute and SSL settings, etc. In fact the module does not have direct access on SSL settings in Joomla! :-(

But I think the problem is in other area, the SSL cannot (maybe some SSL settings, or server settings) display iframes on the site (maybe because it cannot guarantee the SSL of loaded iframe) ... so maybe this is the feature not a problem. :idea:

Jan
If you find Phoca extensions useful, please support the project
joaopaiva
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 26 Oct 2011, 18:16

Re: SSL and the Phoca Facebook Comments Module

Post by joaopaiva »

Hi joelstad

you need to edit on source code the javascript of facebook

edit http to https

like this:

Code: Select all

https://connect.facebook.net/"your language"/all.js#xfbml=1
Sorry for my bad english

Best regards
Post Reply