Download & Extend

Mailhandler getting cron stuck on Drupal 6.10

Project:Mailhandler
Version:6.x-1.8
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (cannot reproduce)

Issue Summary

Fresh install of Drupal, not sharing a database. I installed Drupal 6.10 (latest version), got everything working, got cron working, then turned on Mailhandler and immediately cron stops working even before trying to configure Mailhandler - cron thinks two instances are trying to be run at once according to the log (which should not be the case, it had just run before I clicked the checkbox for Mailhandler and is set to run every 30 min). Whenever I try to set up an account and run the test, I get a 500 error.

Guessing maybe something from the Drupal changes since the last non-dev Mailhandler update might not be compatable with one another? Haven't been able to find anything anywhere about this through searching, so maybe it's only something that comes up with a fresh install and updaters are OK?

Comments

#1

Status:active» postponed (maintainer needs more info)

Did you check your server logs for any hints?

#2

Me to having the same issue

and I am getting page not found page on manual mailbox retrieval from admin page

on dblog it has not usefull logs except 500.shtml and "Cron has been running for more than an hour and is ..."

Thanks & Regards
Vinoth

#3

Version:6.x-1.5» 6.x-1.7

I am using 6.x.-1,7, in my previous versions also having the same..

#4

"Me too" - just want to confirm I am also having the problem on a very default install. The mail settings are OK, I can get

>> Mailhandler was able to connect to the mailbox.

from the test button, but if I try to pull mail via RETREIVE or if I try to run Cron I get an HTTP 500 error.

#5

Status:postponed (maintainer needs more info)» active

Also, "RETREIVE" button 500's when trying to pull from local folders.

And, I've tried all sorts of other email accounts at different providers.

I'm using 6.x-1.7 - It appears Mailhandler is just... broken?

#6

Status:active» postponed (maintainer needs more info)

It was clear from your comment you are doing a fresh install of mailhandler, but is this also the first time you're using mailhandler on the server/computer you're using it on? I've seen cases where cron does not complete because there's actually a fatal error occurring if you do not have IMAP extensions for PHP. Do you have the IMAP extensions for PHP on your server? You can check the admin/reports/status page in Drupal, which should report whether or not IMAP is installed. Just wanted to make sure IMAP is not the problem before going further.

Ian

#7

Yes, I do. The test connection would throw an error prior to installing the extensions.

#8

Version:6.x-1.7» 6.x-1.8

I'm having a similar (possibly related) problem with 6.x-1.8 over Drupal 6.13. Not a fresh install, and IMAP extensions enabled; in fact, I used to have Mailhandler running on this site. It does report than it can connect to the mailbox (either with POP or IMAP).

The 'retrieve' link from admin gives a blank white page (with a 200 OK header, mind—not yountod's 500). If I (or Poormanscron, so far as I can tell) calls cron from a browser, likewise a blank page.

It's not my server, so I can't access the logs directly, but if I ask nice and know exactly what to look for I may be able to have relevant excerpts sent to me. Any advice on what to dredge up?

#9

Does anyone on this thread have access to their server error logs to see if there's a specific PHP error getting thrown? Also, what operating systems are you using?

#10

This might be related to and a dupe of http://drupal.org/node/358737#comment-2339304 (but not positive so not marking as dupe) ... I've committed a fix (http://drupal.org/node/358737#comment-2339304) to 6.1 dev which should get packaged soon. If anyone can test this and if you still have problems post your related web server error log messages, I'd appreciate it.

#11

Status:postponed (maintainer needs more info)» closed (cannot reproduce)

In case someone still comes across this issue, install a cron alternative module like supercron. This is highly advised and solved other peoples issues with cron in combination with mailhandler.

nobody click here