Survey pie chart not displaying on SSL site

Permalink
The survey pie chart is not displaying on a particular Concrete5 site that is using SSL, and the error I am seeing is ERR_INSECURE_RESPONSE. From what I can tell, it is due to an invalid certificate on the link to the Google API for the pie chart. It worked prior to the concrete5 site switching to an SSL certificate.

Is there something that needs to be updated in the PHP code for the survey feature in Concrete5? Even when I go to the URL for the pie chart in a separate browser from the C5 site which has the survey, I still get a certificate error.

Thanks,
- Sherri

3 Attachments

sherri333
 
sherri333 replied on at Permalink Reply
sherri333
Quick update - I was able to fix the problem by changing the view.php file in the survey block to include the correct URL for the Google Chart API.

Instead of //chart.apis.google.com it should be //chart.googleapis.com and it works now.

I applied this as an override but it should be changed in the source code.