Hi DW,
PLEASE READ ALL OF THIS MESSAGE - 2 updates - something caused resume.php to stall...
Ok, I've upgraded to 1.86, ran into the same problem as others with the 'addopts' - but then restarted the machine to clear the cookie and all is ok - you should tell everyone to make sure they log OUT before uploading the install...
Now, a question on the resume.php script, I'm trying to install it in CRON, so I'm testing it from the command line in SSH, I keep getting strange results and do NOT no if it's running, maybe you can help?
I set debug=true at the top, and tried running with the sample command line you gave:
*/15 * * * * /usr/bin/wget -O /dev/null -T 0 http://example.com/mail/resume.php?pw=YourDailyMailPass
When I do that I keep getting an error:
wget: timeout: Invalid time period `O'
So I took out the -T 0 from the command line giving me this:
*/15 * * * * /usr/bin/wget -O /dev/null http://example.com/mail/resume.php?pw=YourDailyMailPass
When I do that I get:
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[ <=> ] 42 --.--K/s
00:49:56 (410.16 KB/s) - `/dev/null' saved [42]
Here's another one:
TTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
[<=> ] 0 --.--K/s a [ <=> ] 42 --.--K/s
Any idea what is going on here? Is resume.php running properly or is there an error on line 42? Is this in one of the includes - config.php or admin.php or is it in resume.php?
Let me know what you think?
UPDATE
======
It seems that it may be working correctly, this morning I had many followups go out and they did not stall this morning - so - is it working?
SECOND UPDATE
===========
No, it's not running, I just noticed I stalled at 1802 message left, it's been stalled like that for the last 1-2 hours, unless the system was re-set, the CRON is not running properly - no CRON is still running, I just checked.
Here is what I found in lm_sendp, 2 entries, 1 is for DailyMail Report, the other is my batch which reads:
batid=cab744, qtype=1, formid=2006041401253, started=2006-04-14 01:25:43, lastact=2006-04-14 01:26:09, report=(empty), completed=1
I'm going to reset the completed to '0' to see if it will re-start (resume). Nope, that didn't help - I wonder if it has choked on an Email address of someone that was deleted - I know in the past that could be a problem? Nope that's not it, I tracked down the userid (uid) for the first user in the lm_sendq table and all is fine, then I clicked the 'Resume' button and it started to resume the mailing - very strange - any ideas DW?
When I look in lm_sendq I see 1802 records, with this:
bat=e18c3a, battype=2, mtype=2, mid=85
the user ids are there for the records. This one is stalled...
THIRD UPDATE
==========
Now - here is where it gets really wierd! I just came back and looked at my 'resumed' mailing that I got by Clicking on 'Resume' button, that one had stalled out too with an error - 'Server said goto config', anyway, usually that would mean a stalled queue again - but this time when I clicked on a link to go back to the main LMP menu I see that the mailing has completed - so something must have happened - I'm guessing that the 'resume.php' script must have completed the mailing?
What exactly is going on here DW? It looks like the queue was loaded at 1:25:43, and then finished at 1:26:09, is that right? What about the mailing then - if it stalls doesn't resume.php get it started again? If so, why is completed set to '1'? And what about lastact, does that mean it did NOT have to re-start it at all throughout the early morning? If I sent out as many emails as I think I did, then that would not be true - it must have restarted it many times, then the big question becomes - why did it stall at 1802 left? How did this record get flagged as 'completed' (1)?
Any ideas - DW?