• Resolved brightsidew3

    (@brightsidew3)


    Hello.

    I am using the 2 factor authentication part of the plugin.
    I have noticed that it is sending the same password out everytime.
    I have just logged in and out 3 times consecutively.
    It emailed me the same password 3 times.
    Is that correct?

    Please let me know.
    Thanks

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Paul

    (@paultgoodchild)

    Hmm… it shouldn’t be. It might do this if it’s having problems with setting and deleting cookies, but I have never seen this behaviour.

    Can you clear you cookies for this site completely and see if it changes?

    Thread Starter brightsidew3

    (@brightsidew3)

    Whats the easiest way to do that? ??

    Plugin Author Paul

    (@paultgoodchild)

    Thread Starter brightsidew3

    (@brightsidew3)

    Hi Paul.
    Yes sorry that was a silly question.
    ———————–
    Yes it appears you are correct that clearing the cookies fixes it.
    I just cleared my cookies and it gave me a new password. I then logged in and out twice more and it gave me the same password.
    I then cleared the cookies once more – and it gave me the new password.
    ———————-
    I have tested this on Chrome and Firefox and both had the same problem.
    ———————-
    Is this possible for you to fix?

    Plugin Author Paul

    (@paultgoodchild)

    if it’s not clearing cookies, then it seems there’s a bigger issue there. Are you getting any error logs output to your log file? Usually in error_log in the root of your html folder, or under your wp-admin folder.

    If you’re getting a certain type of error about “headers already sent”, then this is likely the cause of the problem and you have a plugin that’s causing a problem.

    Can you test to see if this cookie problem persists if you try disabling certain plugins?

    Thread Starter brightsidew3

    (@brightsidew3)

    Hi Paul.

    As you suggested, I have isolated this problem to another plugin which is not yours.
    This must be causing the problem with the cookies not clearing.
    I intend to email the plugin developer about this.
    ——————
    Please can you put into simple words what am I asking them to fix?
    Because in terms of cookies, I don’t understand what their plugin should or shouldn’t be doing.

    Thanks once again. Great support.

    Plugin Author Paul

    (@paultgoodchild)

    this depends on what the plugin is doing, and what’s going wrong. Are there errors being generated?
    If there are errors, you’ll need to supply them to the dev.

    My guess is this, so you have a better understanding:
    – cookies are sent/deleted using HTTP headers
    – HTTP headers are special directives sent from a webserver before ANY content is sent for the page to be displayed
    – Once any content is sent, no headers can be sent after that. So all headers must be sent first i.e. including cookies too.
    – if a plugin, or anything outputs text or content too soon, no more headers can be sent.
    – this can happen if a plugin causes a PHP warning/error and PHP outputs this error – this is considered content.
    – if something tries to output an HTTP header after content has been output, you’ll likely see this error either on your page or in your logs:

    Warning: Cannot modify header information - headers already sent (output started ....)

    Hope this helps you track down the exact problem.

    Thread Starter brightsidew3

    (@brightsidew3)

    Hi Paul.

    The plugin causing the issue is WP-client. Its not very good to be honest but I am trying to get it working.
    Other than the problem I have with the OTP’s with your plugin, I am not experiencing any other issues.
    Is there any basic tests I can carry out to try and identify the root cause of the problem?
    Thanks so much for your help.

    Plugin Author Paul

    (@paultgoodchild)

    Error logs… we can’t do/see anything with out. If you don’t know where to find them, contact your host.

    Thread Starter brightsidew3

    (@brightsidew3)

    Hi Paul.

    I can send you the latest 100 lines from my access log files easily enough. I would really appreciate if you could cast your expert eye over them.
    ——————————-
    How is best to send them to you? I don’t want to post them on the forum.

    Can I email them to you?
    Thanks so much.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Same OTP being Sent?’ is closed to new replies.