Viewing 15 replies - 1 through 15 (of 18 total)
  • @phpanos,

    Am I understanding this correctly that when you try to confirm using the link in an email it works, but for some users it does not work when they do the same?

    Thread Starter PHPanos

    (@phpanos)

    Yes but now I noticed sometimes it doesn’t work for me either.

    @phpanos,

    I think this sound like a caching or theme issue. Are you using a caching plugin? Have you tried a different theme?

    Thread Starter PHPanos

    (@phpanos)

    It seems to always work locally, but not on production (only sometimes). After the user clicks the link, it gives the “Subscribed successfully” message. I also noticed that it added duplicates of my email. So the same email was added twice in the admin. I’m gonna try debug it a bit myself too.

    @phpanos,

    On your production site double check that the database user (in wp-config.php) has all permissions for your MySQL database. It should be able to add and alter data to the database.

    Also, duplicates should not be possible if the emails are identical – included the case of the username part of the email (the bit before the ‘@’, Subscribe2 makes the domain part all lowercase anyway).

    Thread Starter PHPanos

    (@phpanos)

    Well, it works sometimes. So permissions should not be an issue. Duplicates can be made when you subscribe and refresh that same page.

    Using development version 9.5 now.

    Thread Starter PHPanos

    (@phpanos)

    The site is a subdirectory site, which means the url is like this: https://url.com/thesite/
    That shouldn’t interfere with the query vars somehow right?

    Thread Starter PHPanos

    (@phpanos)

    If it’s any help, when you click the link it says that you have subscribed succesfully, but the user doesn’t get confirmed.

    @phpanos,

    That’s strange, you need to target the debugging on the confirm() function in the classes/class-s2-frontend.php file. Have you tested with a different theme? It could be a conflict there.

    Thread Starter PHPanos

    (@phpanos)

    I’m doing it right now. I’ll get back here when I’ve got more info.

    Thread Starter PHPanos

    (@phpanos)

    I’m starting to think it’s an environment issue. Works good on my locale machine and on my staging machine, it fails on production where the site is in a subdirectory.

    @phpanos,

    The sub-directory should not make any difference, is the link in the email like this:

    https://url.com/thesite/?s2=1…..

    Or this:

    https://url.com/?s2=1…..

    Thread Starter PHPanos

    (@phpanos)

    @phpanos,

    So it is already sending the link to the subdomain blog as expected then, the message that is displayed isn’t one entered by an author on a page is it? It is the dynamic output of the plugin.

    Thread Starter PHPanos

    (@phpanos)

    Yea I guess so. Now I am not sure, but it seems like it breaks when you’re not logged in (sometimes). So everytime I’m logged in it seems to work.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Users are not getting confirmed after click on link’ is closed to new replies.