Long story short, I had it working for a couple of days and now it isn't. Can't seem to figure our what is going on, and there aren't any forum topics with errors for line 17. The error I am getting in my email from the cron process is as follows:
-Powered-By: PHP/4.3.10
Set-Cookie: PHPSESSID=3dc076cbd9bd75532628e92d6dcba920; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Type: text/html; charset=utf-8
Fatal error: Call to undefined function: imap_open() in
/home/www/nelsonianexperience.com/modules/mailhandler.module on line
17
So what's going on? Does my server not work with imap? Is there some other config I need to mess with? When I try to manually retrieve the test emails I've sent, I get this same error on a separate page. I did upgrade the module to javanuts last one which fixed the updating problem, thank you by the way.
Thanks for any help anyone can offer.
Comments
need imap extension
your php does not have the IMAP extension enabled. see your web host.
Good News
I just found out it isn't. They are taking care of the problem. Unfortunately it is going to take them a week to do it. Whatever!
Jason
JC SWAK - web hosting & design
www.jcswak.com
IMAP extensions
My host (PAIR) doesn't support that IMAP function, and has no plans to do so.
I discovered that, with an advanced PAIR account (or higher), one can compile a local cgi version of php to include this function.
http://www.vttrains.com/phphelp/
I followed this procedure and my Drupal install was working fine. When I opened up the mailhander settings, however, I had the fatal imap_open error. It seems one must pre-compile a library of IMAP add-ons before compiling the PHP library!
http://us4.php.net/manual/en/ref.imap.php
http://www.psoft.net/HSdocumentation/sysadmin/php_imap_compilation.html
Now, as a newbie, this is starting to get beyond me, so here's a question. For Mac OS X, there is a combined installer that includes many common add-ons along with the base PHP functions.
http://www.entropy.ch/software/macosx/php/
Is there anything like this available for FreeBSD?
[UPDATE: I've received no assistance from PAIR, so I'm looking for a new host.
Note: when I typed "hosting" in the Drupal.org search box, I didn't get much information in the top links. When I entered "drupal hosting" in Google, however, I received two very helpful pages ...
http://drupal.org/services
http://drupal.org/node/13383
These may be of use to others ...
Anyone hosted at Dreamhost figure out the IMAP extension issue?
I'm hosted at dreamhost and the IMAP extensions aren't compiled in PHP. Anyone figure out a workaround or know if they're planning to add the extensions anytime soon?
they're not... the long and
they're not... the long and short of it is that the more modules they configure/add, the less stable/secure their hosting is... this is a problem for me too. I have compiled a new version of php through the directions on this site: http://wiki.dreamhost.com/index.php/Installing_PHP5
however, once I compiled it and set it into motion, the logins broke... I'm still working on the issue, but I think it has something to do with the sessionids not working right... I hope I'm on the right track.