Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Cannot Reproduce
-
Affects Version/s: 4.4.7, 4.5
-
Fix Version/s: Unscheduled
-
Component/s: Core CiviCRM, WordPress Integration
-
Documentation Required?:None
-
Funding Source:Needs Funding
Description
Installed Wordpress 4.0 on an IIS-based system running PHP 5.4.
Installed CiviCRM plugin and ran installation (tried this with 4.5.0 and 4.4.7 from scratch installations)
Viewed CiviCRM admin screen and saw blank screen
After debugging WP, discovered that this was down to Smarty using open_basedir, which is empty/null on the IIS install of PHP. Fixed by adding following line to the end of wp_config.php before the require_once for wp_settings.php.
ini_set('open_basedir', ABSPATH);
This is technically an issue with how Smarty detects directories, but seems really important to at least workaround in CiviCRM until Smarty is updated.