CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
Pages: [1]

Author Topic: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257  (Read 5679 times)

arlind

  • Guest
Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
November 03, 2009, 04:18:03 am

Hi

I try to use CiviMailProcessor.php with IMAP, but I get this error:

Fatal error: Call to undefined function sys_get_temp_dir() in /sites/all/modules/civicrm/packages/ezc/Mail/src/parser/parser.php on line 257

Code: [Select]
connecting to mail.s-kbh.dk, authenticating as svar-ikke@s-kbh.dk and selecting INBOX mailboxes found: INBOX.CiviMail.processed, INBOX.CiviMail.ignored, INBOX fetching 50 messages retrieving message 562 retrieving message 563 retrieving message 564 retrieving message 565 retrieving message 566 retrieving message 567 retrieving message 568 retrieving message 569 retrieving message 570 retrieving message 571 retrieving message 572
Fatal error: Call to undefined function sys_get_temp_dir() in /var/www/vhosts/s-kbh.dk/httpdocs/sites/all/modules/civicrm/packages/ezc/Mail/src/parser/parser.php on line 257

Any ideas :-)
Bo

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
November 03, 2009, 04:23:37 am
Quote
Fatal error: Call to undefined function sys_get_temp_dir() in /sites/all/modules/civicrm/packages/ezc/Mail/src/parser/parser.php on line 257

This function was is available in (PHP 5 >= 5.2.1) (check http://php.net/manual/en/function.sys-get-temp-dir.php)

So you might have to upgrade your php version.

Kurund
Found this reply helpful? Support CiviCRM

arlind

  • Guest
Re: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
November 03, 2009, 04:34:18 am

Thanks - is there any way around this, if I only have PHP Version 5.2.0-8+etch15 ?

Can I change any settings?

thanks
Bo

Kurund Jalmi

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 4169
  • Karma: 128
    • CiviCRM
  • CiviCRM version: 4.x, future
  • CMS version: Drupal 7, Joomla 3.x
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
November 03, 2009, 04:35:53 am
You might want to check: http://status.net/trac/ticket/145

Kurund
Found this reply helpful? Support CiviCRM

arlind

  • Guest
Re: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
January 13, 2010, 03:13:25 am
Hi

Should the requirements be updated to 5.2.1+  ?

requirements for CiviCRM 3.1: PHP 5.2.x
http://wiki.civicrm.org/confluence/display/CRMUPCOMING/Drupal+Installation+Guide

thanks :-)
Bo

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257
January 13, 2010, 07:05:12 am

done, the wiki is community editable, so please feel free to make such changes in the future

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using CiviMail (Moderator: Piotr Szotkowski) »
  • Fatal error: Call to undefined function sys_get_temp_dir() in parser.php line257

This forum was archived on 2017-11-26.