Uwp_social stop working

This topic contains 10 replies, has 3 voices, and was last updated by  Patrik 5 years, 6 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: 

  • Author
    Posts
  • #4048
    #4049

    Fernando Brenes
    Buyer
    Post count: 16

    Additional info:

    Clear all sessions
    [17:47][root@crsjowebs01 public]# wp user list –field=ID | xargs -n 1 wp user session destroy –all –allow-root
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    Success: Destroyed all sessions.
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    Success: Destroyed all sessions.
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    Success: Destroyed all sessions.

    [17:48][root@crsjowebs01 public]# wp user session list fernandobrenescliente
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    +——-+————+—————–+—-+—-+
    | token | login_time | expiration_time | ip | ua |
    +——-+————+—————–+—-+—-+
    +——-+————+—————–+—-+—-+

    Login using Facebook social login

    [17:49][root@crsjowebs01 public]# wp user session list fernandobrenescliente
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    +——-+————+—————–+—-+—-+
    | token | login_time | expiration_time | ip | ua |
    +——-+————+—————–+—-+—-+
    +——-+————+—————–+—-+—-+

    Nothing

    Try to login again this time filling up manually email and password

    [17:50][root@crsjowebs01 public]# wp user session list fernandobrenescliente
    PHP Notice: Constant WP_CACHE_KEY_SALT already defined in phar:///usr/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php(1169) : eval()’d code on line 84
    +———————————————–+———————+———————+————-+—————————————————+
    | token | login_time | expiration_time | ip | ua |
    +———————————————–+———————+———————+————-+—————————————————+
    | d19f207a55164da3d05b9513a3aef05d661e0bccd8967 | 2019-05-12 18:02:23 | 2019-05-14 18:02:23 | 186.4.12.90 | Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWe |
    | eaf326436dd9f4e60c7 | | | | bKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729. |
    | | | | | 131 Safari/537.36 |
    +———————————————–+———————+———————+————-+—————————————————+

    My ngixn vhost has the following include:

    include /usr/local/nginx/conf/wpincludes/zonamotriz.com/wpsecure_zonamotriz.com.conf;

    And the file has many entries and I have whitelisted uwp_social

    # Whitelist WPUsers Social Login
    location ~* /wp-content/plugins/uwp_social {
    include /usr/local/nginx/conf/php.conf;
    }

    All of this hasn’t change and it was working so I’m not sure what the problem can be and how to debug it.

    Please let me know.
    Thank you,
    Best Regards

    #4051

    Alex Rollin
    Moderator
    Post count: 27815
    This reply has been marked as private.
    #4072

    Fernando Brenes
    Buyer
    Post count: 16
    This reply has been marked as private.
    #4079

    Patrik
    Moderator
    Post count: 1971

    Hi,

    I have tried social login with facebook and I was able to login successfully. So I am not sure which issue you are talking about? I can log in with facebook and also able to access my profile page from the https://zonamotriz.com/profile/. Can you please let us know the steps to regenerate the issue and if possible provide us the video showing the issue so that we can regenerate the issue and fix it.

    Regards,
    Patrik

    #4087

    Fernando Brenes
    Buyer
    Post count: 16
    This reply has been marked as private.
    #4088

    Fernando Brenes
    Buyer
    Post count: 16

    Hi,

    Just wanted to let you know that I found a way to fix the issue. For some reason the problem was in the Active Apps and Websites in Facebook for this specific user.

    I logged in into Facebook –> Settings –> Apps and Websites –> Remove the Website

    Then I logged again and authorized the Web and now everything is working fine.

    Once again thank you for your help and this great app.
    Best Regards

    #4089

    Fernando Brenes
    Buyer
    Post count: 16

    Hi Patrick,

    I have again the same issue. I believe the issue happens if I perform the following actions:

    1. Register into the Web site
    2. Then remove the user from WordPress
    3. Try again to login with the same user using any Social Account
    4. Try to register again with the same user using any Social Account

    Even if I remove from the Social Account the access to the Web Page is no longer possible to use the Social Account to register or login into the Web Site.

    Thank you,
    Best Regards

    #4096

    Patrik
    Moderator
    Post count: 1971

    Hi,

    If you are login for the first time using Facebook login then it should ask you for permission from Facebook to allow access to data. Which is not showing in the video. So I think there is still something saved in cookies and it directly redirects to home page after login. Can you try clearing all cookies data? You can do that by inspect element->Application->Cookies and delete all and then try again.

    Regards,
    Patrik

    #4109

    Fernando Brenes
    Buyer
    Post count: 16

    Hi Patrik,

    Correct, permissions were not asked because the user was deleted from WordPress so Web Application was already authorized in Facebook that’s the reason it didn’t ask for permission.

    But you are right somehow, there was a problem with cookies even though I was clearing cookies and using incognito mode. I was able to access again today so the issue is fixed.

    Thank you once again for your help!
    Best Regards

    #4115

    Patrik
    Moderator
    Post count: 1971

    You are welcome! Marking an issue as resolved! Please open a new ticket if you have any issues.

Viewing 11 posts - 1 through 11 (of 11 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket