I am running CiviCRM on a standalone network (for testing purposes) and am getting regular errors about not being able to connect to the CiviCRM site. How can I disable these calls in 4.7?
Thanks!
CiviCRM Stack Exchange is a question and answer site for administrators and users of the CiviCRM Constituent Relationship Management software. It only takes a minute to sign up.
Sign up to join this communityI am running CiviCRM on a standalone network (for testing purposes) and am getting regular errors about not being able to connect to the CiviCRM site. How can I disable these calls in 4.7?
Thanks!
There are multiple calls to CiviCRM.org in the site codebase, so it's not clear which are triggering errors on your site. These are some of the things you could do ...
According to a comment in CRM-17637, from 4.7 it's possible to disable the daily Version Check scheduled task. See under the menu entry Administer > System Settings > Scheduled Jobs.
You can disable the connections which update the community noticeboard in civicrm.settings.php
.
$civicrm_setting['CiviCRM Preferences']['communityMessagesUrl'] = false;
(Wiki page on overriding CiviCRM settings.)
You could adjust your server configuration to permit connections to CiviCRM.org, OR you could adjust it to redirect those connections to a local address (eg by adding an entry to /etc/hosts which will direct the requests to a local address).