Sign up ×
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It's 100% free, no registration required.

I changed my wordpress site to use https Now the widgets for donations do not load anymore. they only display the placeholder text

any ideas?

thanks Conte

share|improve this question

1 Answer 1

Two separate problems with the same source, which is that your widget is static HTML and Javascript that you copied and pasted in place. It does not update by itself when you make changes.

If you just see the placeholder text, it means that the Javascript is failing to get the current totals.

  1. Your widget may be trying to connect to your site, failing because it's not connecting through HTTPS. Depending upon how you implemented HTTPS, these sorts of connections may fail unless you specify the https://... URL.

  2. Your browser may be refusing to connect via an insecure protocol. Recent versions of browsers will simply exclude Javascript and CSS that comes through HTTP when you're on an HTTPS page.

The solution to either problem is the same: fix the widget. You can read through the widget's code and replace each instance of "http://" with "https://". Alternatively, you can simply go manage your contribution page, go to the widget tab, copy the code, and paste it in place of the old code.

share|improve this answer
    
thanks. the crm is at crm.mydomain.com however this subdomain is not https do I have to change that to make it work? – conte yesterday
1  
You might--in this case you're probably dealing with issue #2. Connecting to a script via an insecure protocol from a secure page undermines the security of the page as a whole. The solution would be to implement HTTPS on your CRM domain. However, while you're at it, you might consider moving your CiviCRM site to your WordPress installation. By having them separate, you're giving up valuable integration options such as the CiviCRM Contribution Page Widget plugin, which would handle all of this automatically. wordpress.org/plugins/civicrm-contribution-page-widget – Andrew Hunt 21 hours ago
    
With my server I have no change to make the subdomain https too and I also cannot get a second certificate. Any other ideas? – conte 6 hours ago
    
It sounds like you should switch hosting. Also, do you know why you don't have CiviCRM running on your WordPress site? Running from a single site would solve your problem as well. – Andrew Hunt 6 hours ago

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.