Nothing happens, nothing written to database

BlueNC - September 23, 2006 - 12:22
Project:Inactive User
Version:5.x-1.1
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:postponed (maintainer needs more info)
Description

I have "automatically block users who haven't logged in for more than 3 months" active and also "Notify administrator when a user hasn't logged in for more than 3 weeks." (These are just test settings; I'm excited about this module's potential for reminding users to come back to my site.)

After a cron run, no users are blocked and no emails have been sent. Looking at the table in my database, I get an empty result for:
SELECT COUNT( * ) AS `Rows` , `uid`
FROM `inactive_users`
GROUP BY `uid`
ORDER BY `uid`
LIMIT 0 , 30

#1

Crell - May 7, 2007 - 00:06
Status:active» postponed (maintainer needs more info)

If you're just on a testing site, are you sure that you have users who would actually need to be blocked in the first place? Or did you create a user and then leave the site alone for 3 weeks? :-) Are you sure cron is running correctly?

#2

krisvannest - March 12, 2008 - 16:27
Priority:normal» critical

OK I think I'm having a similar problem... no admin email received from this module, and can't find any reference to this module actually firing under core 4.7.11:

  • Installed latest 4.x version of this module today
  • I've verified I *do* have users/members who have not logged in for 6 months or longer
  • Under "Inactive user notification", I've set this module to notify me (admin) via email not active for 3 months
  • Under "Inactive user notification", I've set this module to notify those members not active for 6 months
  • I have both "Automatically block inactive users" and "Automatically delete inactive users" set to disabled (don't need that feature just yet).
  • I've checked that cron is running... for instance, here's the readout I get from my admin pages:
    • "cron Mar 12 2008 - 12:14pm Cron run completed (via poormanscron). Anonymous"
    • "Cron is running. The last cron job ran 3 min 32 sec ago."

Any ideas what to try next? I just installed it on a site that I've had running for over a year, so maybe this module only works with members who have signed up after it is installed (doesn't sound right, just a guess)?

Thx KV

#3

krisvannest - March 13, 2008 - 16:08

Followup-- so I adjusted this module's settings this AM to the following:

  • Under "Inactive user notification", I've set this module to notify me (admin) via email not active for 3 months
  • Under "Inactive user notification", I set it to "disabled"

And for some reason I got an email this AM notifying me of all the members that haven't been active. Nice! But now I'm not sure of the exact order I did the above in, so have to go back and re-test. Since I had to resort to using another module (http://drupal.org/project/account_reminder) to notify never-activated-members during all this I'm not about to enable member notification on this module until some time has past (so I don't spam them), but will report back when I do to tell you if I get this mod working.

#4

krisvannest - March 13, 2008 - 16:09

(oops, double posted... see my earlier comment directly above)

#5

marcbe - May 4, 2008 - 20:28
Version:4.7.x-1.x-dev» 5.x-1.1

Same problem here. Nothing seems to get updated in the database. The Email notifications seems to be sent thought.

I also added the patch to delete users that never logged in and while the new options are visible, it doesn't delete the users either in the database.

 
 

Drupal is a registered trademark of Dries Buytaert.