Https error
Melcus opened this issue · 4 comments
Melcus commented
Failed to load resource: https://DISQUS_USERNAME.disqus.com/embed.js Failed to load resource: net::ERR_INSECURE_RESPONSE
How do I treat this ?
yajra commented
I think this has something to do with the ssl certificates or maybe cors. See this SO post for ref.
aneeloji commented
Im installing this on Laravel 5.4 . When I ran "test" it gave me an error saying, command is not found. please help.
rebornishard commented
in laravel 5.4 give me blank, no disqus on it
fjarfs commented
Just add this code:
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'https://laravel-8.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
Note: laravel-8 is Your website shortname