• Logout does not clear cookies in Chrome or Firefox. If I try to login again I am told request failed for any valid credentials – I have to clear cookies to login at all (in Firefox or chrome, Edge seems fine).

Viewing 15 replies - 1 through 15 (of 23 total)
  • Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @patbell101,

    Can you send me URL to site in question so we can check this out?

    Also, is this issue specific to Windows or it happens on Mac as well?

    Cheers,
    Predrag

    Thread Starter patbell101

    (@patbell101)

    Windows is all I can test atm. But it does also happen on Edge now. Other users are reporting the same issue

    On https://cle-france.bell-computing.com/ login with aardvark kravdraa

    All you need to reproduce the problem is login then logout again and then the same login (or any other valid or not) will return Request Failed

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @patbell101,

    Thanks for the additional info, I can see the issue issue on your installation but I’m afraid that I can’t replicate it on my test site.
    Your site is throwing 403 error on AJAX request and that’s not shown on my site.

    Can you test this with default WP theme and your other plugins disabled?

    Also, can you check with your host if there’s anything in server logs that blocks AJAX requests?

    Cheers,
    Predrag

    Thread Starter patbell101

    (@patbell101)

    It happens with twentyseventeen too and yes all but Membership 2 plugins disabled. I use plenty of Ajax stuff afaik – I’m on my own vps fwiw and looking at the logs there’s nothing in PHP7.0 error log, nor in my apache error log.

    • This reply was modified 7 years, 3 months ago by patbell101.
    Thread Starter patbell101

    (@patbell101)

    Where do you see the ajax error? I cant see it in the web console. Wouldn’t a 403 be a screen with info? Below is the server error log if it helps

    [16-Aug-2017 09:34:26 UTC] WP_Community_Events::maybe_log_events_response: Valid response received. Details: {“api_url”:”https:\/\/api.www.ads-software.com\/events\/1.0\/”,”request_args”:{“body”:{“number”:5,”ip”:”80.14.167.0″,”locale”:”en_GB”,”timezone”:”Europe\/Paris”}},”response_code”:200,”response_body”:{“location”:{“ip”:”80.14.167.0″},”events”:”1 events trimmed.”}}
    [16-Aug-2017 09:40:03 UTC] PHP Warning: Creating default object from empty value in /srv/users/serverpilot/apps/wordpress/public/wp-content/plugins/siteorigin-premium/inc/edd_updater.php on line 159
    [16-Aug-2017 11:16:54 UTC] WP_Community_Events::maybe_log_events_response: Valid response received. Details: {“api_url”:”https:\/\/api.www.ads-software.com\/events\/1.0\/”,”request_args”:{“body”:{“number”:5,”ip”:”5.152.210.0″,”locale”:”en_GB”,”timezone”:”Europe\/Paris”}},”response_code”:200,”response_body”:{“location”:{“ip”:”5.152.210.0″},”events”:”5 events trimmed.”}}
    [16-Aug-2017 14:37:28 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_9_m_membership_relationships’ doesn’t exist for query SELECT count(*) FROM wp_8c666bb265_9_m_membership_relationships WHERE sub_id != 0 AND expirydate <= ‘2017-08-16 14:37:28’ ORDER BY expirydate ASC made by activate_plugin, include_once(‘/plugins/membership/membership.php’), membership2_init_old_app, require_once(‘/plugins/membership/app_old/membership.php’), require_once(‘/plugins/membership/app_old/membershipincludes/classes/membershipcron.php’), membershipcron->__construct, membershipcron->get_expiring_relationships_count
    [16-Aug-2017 14:37:29 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_9_m_membership_relationships’ doesn’t exist for query SELECT count(*) FROM wp_8c666bb265_9_m_membership_relationships WHERE sub_id != 0 AND expirydate <= ‘2017-08-16 14:37:29’ ORDER BY expirydate ASC made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/membership/membership.php’), membership2_init_old_app, require_once(‘/plugins/membership/app_old/membership.php’), require_once(‘/plugins/membership/app_old/membershipincludes/classes/membershipcron.php’), membershipcron->__construct, membershipcron->get_expiring_relationships_count
    [16-Aug-2017 15:14:17 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_7_m_membership_relationships’ doesn’t exist for query SELECT count(*) FROM wp_8c666bb265_7_m_membership_relationships WHERE sub_id != 0 AND expirydate <= ‘2017-08-16 15:14:17’ ORDER BY expirydate ASC made by activate_plugin, include_once(‘/plugins/membership/membership.php’), membership2_init_old_app, require_once(‘/plugins/membership/app_old/membership.php’), require_once(‘/plugins/membership/app_old/membershipincludes/classes/membershipcron.php’), membershipcron->__construct, membershipcron->get_expiring_relationships_count
    [16-Aug-2017 15:14:17 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_7_m_membership_relationships’ doesn’t exist for query SELECT count(*) FROM wp_8c666bb265_7_m_membership_relationships WHERE sub_id != 0 AND expirydate <= ‘2017-08-16 15:14:17’ ORDER BY expirydate ASC made by require_once(‘wp-admin/admin.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include_once(‘/plugins/membership/membership.php’), membership2_init_old_app, require_once(‘/plugins/membership/app_old/membership.php’), require_once(‘/plugins/membership/app_old/membershipincludes/classes/membershipcron.php’), membershipcron->__construct, membershipcron->get_expiring_relationships_count
    [16-Aug-2017 15:39:45 UTC] PHP Warning: Creating default object from empty value in /srv/users/serverpilot/apps/wordpress/public/wp-content/plugins/siteorigin-premium/inc/edd_updater.php on line 159
    [16-Aug-2017 18:23:32 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_10_wfNotifications’ doesn’t exist for query UPDATE wp_8c666bb265_10_wfNotifications SET new = 0 WHERE id = ‘site-ZEBQAAA’ made by do_action(‘wp_ajax_update-theme’), WP_Hook->do_action, WP_Hook->apply_filters, wp_ajax_update_theme, Theme_Upgrader->bulk_upgrade, do_action(‘upgrader_process_complete’), WP_Hook->do_action, WP_Hook->apply_filters, wordfence::_scheduleRefreshUpdateNotification, wordfence::_refreshUpdateNotification, wfNotification->markAsRead
    [16-Aug-2017 18:23:32 UTC] WordPress database error Table ‘wordpress-wp-j2p60xdF.wp_8c666bb265_10_wfNotifications’ doesn’t exist for query UPDATE wp_8c666bb265_10_wfNotifications SET priority = 502, ctime = 1502907812, html = ‘2 issues found in most recent scan‘, links = ‘[]’ WHERE id = ‘site-XQBAAAA’ made by do_action(‘wp_ajax_update-theme’), WP_Hook->do_action, WP_Hook->apply_filters, wp_ajax_update_theme, Theme_Upgrader->bulk_upgrade, do_action(‘upgrader_process_complete’), WP_Hook->do_action, WP_Hook->apply_filters, wordfence::_scheduleRefreshUpdateNotification, wordfence::_refreshUpdateNotification, wfIssues->reconcileUpgradeIssues, wfScanEngine::refreshScanNotification, wfNotification->__construct

    Thread Starter patbell101

    (@patbell101)

    Logging out using M2 logout or the admin bar logout then logging back in M2 generates this error “POST https://cle-france.bell-computing.com/wp-admin/admin-ajax.php?ms_ajax=1 403 (Forbidden)”.

    Normal WPAdmin login does not but then its not logging into M2.

    I have tested with only M2 active in twentysixteen and I can say that this error ONLY occurs on attempting an M2 login. Chrome, Firefox and Opera all fail. Edge and IE11 do not manifest the problem. I am due to launch this site at the end of the month so this is urgent.

    The question is… is this likely to ever be fixed since you cannot reproduce it? My choices are to wait and see, or to have wasted 3 weeks and try another membership approach?

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @patbell101,

    I’m sorry for the delay on our side – did you change something on your site since your last post? I’m testing it in Chrome and I’m not able to replicate issue. I can login each time after logout and there is no errors 403 in browser console.

    kind regards,
    Kasia

    Thread Starter patbell101

    (@patbell101)

    I don’t know how. I still get the same problem as do my users.
    Capture

    Thread Starter patbell101

    (@patbell101)

    I have created a new site on twentyseventeen with just M2 plugin active and just one user (aardvark kravdraa) https://charente-limousine-exchange.bell-computing.com.

    The problem still manifests, same as before Request Failed
    /wp-admin/admin-ajax.php?ms_ajax=1 Failed to load resource: the server responded with a status of 403 (Forbidden)

    Please use this new “clean” site to test any possible fixes you may try.THIS site has the problem on ALL Windows browsers including Edge (yet cle-france.com still works ok on edge).

    I know you are working on this but I have to launch and I cannot ask my users to keep clearing cookies or only use edge so cle-france will only be on M2 when you fix this problem. imt please use https://charente-limousine-exchange.bell-computing.com to test

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @patbell101,

    I have created a new site on twentyseventeen with just M2 plugin active and just one user (aardvark kravdraa) https://charente-limousine-exchange.bell-computing.com.

    That site is not working. Right now its throwing 404 error when I trying to reach it

    Please check it and let us know when it will work again

    kind regards,
    Kasia

    Thread Starter patbell101

    (@patbell101)

    I hadn’t included that in my new ssl certificate. Try https://en.bell-computing.com/ its untidy but logging in twice still produces the ajax error second and subsequent login attempts. Unless cookies are cleared.

    I hope someone is still working on this, because I’m having the same problem now on a site that’s been using Membership 2 without this problem for a couple years. By the way, rolling all the way back to version 4.0.0.7 doesn’t fix it.

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hello,

    We’re still looking into this but we’re unable to replicate the issue no matter what I try, and if going back so many versions doesn’t fix the issue it’s most likely not caused by any of the updates in the plugin.

    Could you check the server logs and see if there’s any info in there that could tell us more about what’s happening here?

    Cheers,
    Predrag

    Thread Starter patbell101

    (@patbell101)

    Using https://en.bell-computing.com, I login as aardvark pass:kravdraa. First time it logs in but still says protected content and asks to log in again (this is a test site just to reproduce this problem remember!) Logging in again demonstrates the problem… it then says “request fails”. Can you not reproduce this? It happens in all windows browsers.

    Webconsole shows
    3/wp-admin/admin-ajax.php?ms_ajax=1 Failed to load resource: the server responded with a status of 403 ()

    php 7 access log entries
    80.14.167.250 – [01/Sep/2017:12:03:51 +0000] “POST /wp-admin/admin-ajax.php” 200 107 – 1590 23481 0.301 29360128 59.83% 19.94% “/wp-admin/admin-ajax.php”
    63.143.42.245 – [01/Sep/2017:12:03:52 +0000] “GET /index.php” 302 0 – 1590 23483 0.019 4194304 0.00% 52.28% “/”
    80.14.167.250 – [01/Sep/2017:12:03:53 +0000] “POST /wp-admin/admin-ajax.php” 200 254 – 1590 23483 0.391 29360128 51.10% 15.33% “/wp-admin/admin-ajax.php”
    178.62.53.135 – [01/Sep/2017:12:04:00 +0000] “POST /wp-cron.php?doing_wp_cron=1504267440.9110519886016845703125” 200 0 – 1590 23483 0.125 4194304 71.89% 7.99% “/wp-cron.php?doing_wp_cron=1504267440.9110519886016845703125”
    80.14.167.250 – [01/Sep/2017:12:04:00 +0000] “POST /wp-admin/admin-ajax.php?ms_ajax=1” 403 230 – 1590 23481 0.391 4194304 35.77% 2.56% “/wp-admin/admin-ajax.php?ms_ajax=1”
    80.14.167.250 – [01/Sep/2017:12:04:03 +0000] “POST /wp-admin/admin-ajax.php?ms_ajax=1” 403 230 – 1590 23483 0.134 6291456 74.39% 14.88% “/wp-admin/admin-ajax.php?ms_ajax=1”

    apache access log
    80.14.167.250 – – [01/Sep/2017:12:03:51 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.0” 200 47
    80.14.167.250 – – [01/Sep/2017:12:03:53 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.0” 200 7326
    178.62.53.135 – – [01/Sep/2017:12:04:00 +0000] “POST /wp-cron.php?doing_wp_cron=1504267440.9110519886016845703125 HTTP/1.0” 200 –
    80.14.167.250 – – [01/Sep/2017:12:04:00 +0000] “POST /wp-admin/admin-ajax.php?ms_ajax=1 HTTP/1.0” 403 2
    80.14.167.250 – – [01/Sep/2017:12:04:03 +0000] “POST /wp-admin/admin-ajax.php?ms_ajax=1 HTTP/1.0” 403 2
    80.14.167.250 – – [01/Sep/2017:12:05:51 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.0” 200 47
    178.62.53.135 – – [01/Sep/2017:12:05:52 +0000] “POST /wp-cron.php?doing_wp_cron=1504267552.1907060146331787109375 HTTP/1.0” 200 –
    80.14.167.250 – – [01/Sep/2017:12:05:53 +0000] “POST /wp-admin/admin-ajax.php HTTP/1.0” 200 7326

    error logs are empty

    Plugin Support Predrag – WPMU DEV Support

    (@wpmudev-support1)

    Hi @patbell101,

    I can see the issue on your installation but I tested couple of my own test installations and neither of them are having this issue so it’s hard to pinpoint the exact cause of the issue.

    Can you tell me which add-ons you have active on your installation?

    Also, can you tell me if you can see the same issue if you try to login with test/test username and password on this site: org.dubajicp.com

    Cheers,
    Predrag

Viewing 15 replies - 1 through 15 (of 23 total)
  • The topic ‘Logout does not clear Chrome or Firefox cookies’ is closed to new replies.