CRM-4470 Fatal error: Call to undefined function sys_get_temp_dir() in /path/to/civicrm/packages/ezc/Mail/src/parser/parser.php on line 257

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Won't Fix
    • Affects Version/s: 2.2.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      I get this error running CiviMailProcessor.php

      I'm using PHP 5.2.0-8+etch13

      I believe this function was adding in PHP 5.2.1.

      I updated the following documentation pages to reflect the new version requirement:

      http://wiki.civicrm.org/confluence/display/CRMDOC/Joomla+Installation+Guide

      http://wiki.civicrm.org/confluence/display/CRMDOC/Drupal+Installation+Guide

      http://wiki.civicrm.org/confluence/display/CRMDOC/Standalone+Installation+Guide

      I can't update the Home page because it is restricted. lobo said he will update later today.

        Attachments

          Activity

          [CRM-4470] Fatal error: Call to undefined function sys_get_temp_dir() in /path/to/civicrm/packages/ezc/Mail/src/parser/parser.php on line 257
          Tobias McNulty added a comment -

          If you want to get around the requirement you can add the attached sys_get_temp_dir.php to the directory

          /path/to/civicrm/packages/ezc/Mail/src/parser/

          and then put this near the top of parser.php:

          require_once('sys_get_temp_dir.php');

          Tobias McNulty added a comment -

          workaround for 5.2.1 php requirement. put this file in /path/to/civicrm/packages/ezc/Mail/src/parser/ and then add "require_once('sys_get_temp_dir.php');" near the top of parser.php

            People

            • Assignee:
              Donald A. Lobo
              Reporter:
              Tobias McNulty

              Dates

              • Created:
                Updated:
                Resolved: