View Full Version : imap support
danthonyjr 10-11-2005, 02:27 AM Hello,
A friend of mine is hosting his site on my server and he needed me to recompile apache with imap support so mambo mail pro would run on his site. I did the rebuild, but we're still getting an error that the imap commands are not supported. (With error level reporting on '2').
What is the next step we should follow in troubleshooting this?
Thanks!
What is the exact error you are receiving?
danthonyjr 10-11-2005, 03:47 PM Strange thing, all I'm getting now is a blank screen. Even with error reporting on 1 or 2, I get the blank screen. I don't see an error in the apache logs. Yesterday when I posted, I was getting an error that said something to the effect of imap_open function not defined.
I can set IM you the site and a userid if it would help.
Thanks!
Not sure why you would be getting an error message saying it is undefined if you are sure you built PHP with imap support, make sure it is mentioned in your php.ini file (search for imap).
Are you sure your not getting this error?:
imap_open(): Couldn't open stream
danthonyjr 10-11-2005, 03:57 PM Thanks for the quick response -
Here is the output from phpinfo:
System Linux (clipped) 2.4.20-021stab028.17.777-enterprise #1 SMP Tue Jul 19 19:31:27 MSD 2005 i686
Build Date Oct 10 2005 14:35:18
Configure Command './configure' '--with-apxs=/usr/local/apache/bin/apxs' '--with-xml' '--enable-bcmath' '--enable-calendar' '--with-curl' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/local' '--with-png-dir=/usr' '--with-xpm-dir=/usr/X11R6' '--with-imap' '--with-imap-ssl' '--with-kerberos' '--with-java=/usr/local/jdk' '--with-mcrypt' '--enable-magic-quotes' '--with-mysql=/usr' '--enable-discard-path' '--with-pear' '--enable-sockets' '--enable-track-vars' '--enable-versioning' '--with-xmlrpc' '--with-zlib'
Server API Apache
Virtual Directory Support disabled
Configuration File (php.ini) Path /usr/local/Zend/etc/php.ini
PHP API 20020918
PHP Extension 20020429
Zend Extension 20021010
Debug Build no
Thread Safety disabled
Registered PHP Streams php, http, ftp, compress.zlib
Now, I'm not getting anything but a blank screen even with error reporting on so I'm not sure, if it is couldn't open stream error, how do I correct it? I'll verify the component settings in the menu item?
The instructions are in the readme file that comes with the script, but in short:
If you get this error:
imap_open(): Couldn't open stream
Then first, check and make sure your POP settings are correct. Once you are POSITIVE these are correct, try changing a line in the file located in components/com_mambo_mail/parse_mail.php:
#If you get Warning: imap_open(): Couldn't open stream errors, uncomment this next line
#AND comment the line right after it.
#$mail = imap_open('{'.$popserver.':'. $port . '/pop3/tls/novalidate-cert}', $popuser, $poppass);
$mail = imap_open('{'.$popserver.':'. $port . '/pop3}', $popuser, $poppass);
So as to comment out the last line and uncomment the second to last line.
danthonyjr 10-11-2005, 05:59 PM Hi Jafo,
Still no luck. When I changed made that change to parse_mail.php, I did get a could not open stream error. Changed it back, I still just get a blank screen. I had setup an email address to use and configured it as the catchall (for security reasons), but I even tried reverting everything back to the main user for the account, thinking maybe the username was causing problems (if it's not the main account, it has to be user@domain.com, rather than just user on cpanel). No dice, same blank white screen.
Any other ideas to troubleshoot this? I'd really like to get it working!
Could you uninstall the component, delete the menu button for it, re-install the component, and recreate the menu button and see if you get the blank page or error?
|
|