Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
None
-
Security Level: Public (Public issues)
-
None
-
All browsers
Description
http://www.joomlart.com/forums/showthread.php?98187-Plugin-JA-Disqus-Debate-Echo-not-operating-with-SSL&p=422612#post422612
"Thanks for contacting us. To resolve this remove the ‘http:’ within the embed.js and count.js script. It should look like: ‘//ltcbisamberg.disqus.com/embed.js’ which will allow the browser to determine the type of protocol used."
So the message was I have to remove this on my side...so I searched for the text "embed.js" and "count.js" in all files...and guess what...the bug was done by the joomlart module.
To correct the SSL issue the files disqus.php and disqus_count.php have to be corrected:
disqus.php:
WRONG: dsq.src = 'http://<?php echo $subdomain; ?>.disqus.com/embed.js';
RIGHT: dsq.src = '//<?php echo $subdomain; ?>.disqus.com/embed.js';
disqus_count.php
WRONG: s.src = 'http://<?php echo $subdomain; ?>.disqus.com/count.js';
RIGHT: s.src = '//<?php echo $subdomain; ?>.disqus.com/count.js';
Please correct this bug in your module! The solution is already there.
I'm really wondering no one has encountered or at least mentioned that kind of troubles with SSL before.
"Thanks for contacting us. To resolve this remove the ‘http:’ within the embed.js and count.js script. It should look like: ‘//ltcbisamberg.disqus.com/embed.js’ which will allow the browser to determine the type of protocol used."
So the message was I have to remove this on my side...so I searched for the text "embed.js" and "count.js" in all files...and guess what...the bug was done by the joomlart module.
To correct the SSL issue the files disqus.php and disqus_count.php have to be corrected:
disqus.php:
WRONG: dsq.src = 'http://<?php echo $subdomain; ?>.disqus.com/embed.js';
RIGHT: dsq.src = '//<?php echo $subdomain; ?>.disqus.com/embed.js';
disqus_count.php
WRONG: s.src = 'http://<?php echo $subdomain; ?>.disqus.com/count.js';
RIGHT: s.src = '//<?php echo $subdomain; ?>.disqus.com/count.js';
Please correct this bug in your module! The solution is already there.
I'm really wondering no one has encountered or at least mentioned that kind of troubles with SSL before.