Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-15340

Blank screen with clean install in Wordpress when on IIS-based system

    Details

    • 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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              jeff.yates Jeff Yates
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: