View unanswered posts | View active topics It is currently Fri Feb 23, 2018 6:31 pm



Post new topic Reply to topic  [ 5 posts ] 
 undefined function sys_get_temp_dir() 
Author Message

Joined: Tue Feb 22, 2011 5:32 pm
Posts: 5
Reply with quote
Post undefined function sys_get_temp_dir()
Just an issue I am having with viewing emails via the web interface:

everytime I selected an email to view I was prompted with a blank page, so I enabled the verbose debug mode. Found the following error:

Fatal error: Call to undefined function sys_get_temp_dir() in /opt/xplico/xi/app/controllers/emails_controller.php on line 45

Which has to do with the temp firectory for emails:

Quote:
44: function TmpDir() {
45: $base = sys_get_temp_dir();


I checked permissions and set under /opt/xplico everything to 777 still no luck

Thanks


Thu Feb 24, 2011 8:33 am
Profile

Joined: Wed Sep 16, 2009 10:45 pm
Posts: 128
Reply with quote
Post Re: undefined function sys_get_temp_dir()
Hello,

could you try this solution and give us feedback?
http://drupal.org/node/291952

thanks.


Thu Feb 24, 2011 11:22 am
Profile

Joined: Tue Feb 22, 2011 5:32 pm
Posts: 5
Reply with quote
Post Re: undefined function sys_get_temp_dir()
Changed:

But still similar error:

Fatal error: Call to undefined function file_directory_temp() in /opt/xplico/xi/app/controllers/emails_controller.php on line 45

Perhaps a PHP thing?


Thu Feb 24, 2011 11:59 am
Profile

Joined: Wed Sep 16, 2009 10:45 pm
Posts: 128
Reply with quote
Post Re: undefined function sys_get_temp_dir()
Which version of Apache and PHP are you using?
thanks.


Wed Mar 16, 2011 2:58 pm
Profile

Joined: Tue Feb 22, 2011 5:32 pm
Posts: 5
Reply with quote
Post Re: undefined function sys_get_temp_dir()
Apache/2.2.3
PHP 5.1.6

Base OS CentOS 5.0


Fri Mar 18, 2011 8:11 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.