Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Minor
-
Resolution: Fixed/Completed
-
Affects Version/s: 4.7.3
-
Fix Version/s: 4.7.9
-
Component/s: WordPress Integration
-
Labels:
-
Documentation Required?:User and Admin Doc
-
Funding Source:Contributed Code
Description
On initial install starting with 4.7 the CiviCRM Resource URL is set as [civicrm.root]/
On multiple hosts this causes resources to attempt to load with the foillowing url:
http://kcrist.wpengine.com/nas/content/live/kcrist/wp-content/plugins/civicrm/civicrm/bower_components/jquery/dist/jquery.min.js?r=9G2Ju
instead of
http://kcrist.wpengine.com/wp-content/plugins/civicrm/civicrm/bower_components/jquery/dist/jquery.min.js?r=9G2Ju
This function is adding the path to the files to the domain.
I have reproduced this locally and on multiple hosts.
Work around is to add
$civicrm_setting['URL Preferences']['userFrameworkResourceURL'] = 'https://domain.org/wp-content/plugins/civicrm/civicrm/';
to civicrm.settings.php or manually override via Resorce URLs in the admin.
also noted in http://civicrm.stackexchange.com/questions/9776/word-press-install-missing-civicrm-settings-php-dashboard-unavailable-no-menus/9792 and CRM-18009
Attachments
Issue Links
- is supplemented by
-
CRM-16421 Work to get CiviCRM for WordPress in WordPress' official Repository
- Open
- links to