• Resolved davereed

    (@davereed)


    Hi there,

    This is a great plugin that has solved a big problem for me. However, I’m having some trouble with it after it has been running for some time on a site.

    I started to suspect it wasn’t automatically deleting users with no posts or comments. When I clicked on the “Remove spam/unused accounts now” button, I got this error message:

    There was a problem removing using accounts. Check the most recent line in the log below for details.

    However, I didn’t currently have the log activated, so there was no recent line to check. I then clicked the Activity Log checkbox to start creating the log, and I got these messages, the first one under the Automatic User Deletion section header:

    User removal will not be performed because logging is requested, but the log directory does not exist. You must create it on the server. See below for details.

    And the second after the Log Directory field:

    The log directory does not exist. You must create it on the server.

    I double and triple checked to make sure the directory was indeed on the server, and it was. I tried uninstalling and re-installing the plugin, but I keep getting the same errors.

    Any help getting this plugin to work again is appreciated. It’s been a life saver for me.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author joelhardi

    (@joelhardi)

    Sure, glad you like the plugin, thanks for the details. Sorry for the late reply I don’t check this that often.

    That first error message is kind of a mystery, I put it in the code in a place where I didn’t think it should arise. Can you see if the users were actually removed or not? (It may be that they were but I’m guessing not based on your first statement)

    Re: the activity log I can’t guess what the filename issue is … make sure you use a valid absolute UNIX path to specify the log directory. The plugin runs the PHP function realpath() and then checks that it’s either a valid directory that exists, if not it returns that message.

    Do you have PHP logging to a file? Or do you see any PHP error messages onscreen? If so then that would be helpful.

    Plugin Author joelhardi

    (@joelhardi)

    I’m closing this one out, feel free to start a new thread if you can identify whether there’s an issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Problem with the log, plugin won’t delete users’ is closed to new replies.