My-account Login not working
-
Dear Support,
After update Woocommerce to the last version. no user can login to his account.
After writing username and password plus a click on Login. the site Reload and always stays on the same page: My-account.
I tried Reset password, I receive the email and i changed password. But, I can not open my account, it always stays on My-account.
I changed the theme, use several browsers on PC & Mobile: Firefox, Chrome, Safari. But, still the same problem.Please, I need your help and suggestions.
I await your confirmation.
Thank you & Have a nice day.
-
Hello @zorrofes,
Thank you for reaching out to WooCommerce Support.
I appreciate the troubleshooting steps you’ve taken so far. To troubleshoot this further, I would recommend?running a full conflict test?to rule out any possible plugin or theme conflicts.
To test, you’ll first want to change the theme on your site to Storefront, then check to see if the issue is still present. If that resolves the issue, you’ll want to get in touch with your theme’s developer and see if they have an update or fix for you.
If changing the theme doesn’t help, you’ll want to deactivate all plugins except for WooCommerce and take a look. If that fixes the problem, re-enable the other plugins one by one (gradually), checking after each, to see where the issue is coming from.
Be sure you have a good backup in place of your full site and database. You can ask your host for backup functionality or you can consider using a service like Jetpack. If something goes wrong, you will be able to restore it.
If the issue persists, please share a copy of your site’s System Status to understand your site setup. You can find it via WooCommerce → Status → Get system report → Copy for support. Once you’ve done that, you can paste the text in https://gist.github.com. After that, you can paste the Gist link here in your reply.
I hope that helps! Let us know once you have done a conflict test!
Hello @rajeshml
I tried with :
Storefront + Plugins = same problem.
Storefront + only Woocommerce enabled = same problem.
I checked in My-account page, i found only the shortcut: [woocommerce_my_account]
This is my link for Woocommerce support:
https://gist.github.com/Zorrofes/b3493d95aeb7c79eeb2758a4883ab3de
I’m waiting your answer.
Thanks & Best regards,
Hi @zorrofes,
Thanks for sharing further details on this. It is quite odd that you’re facing this issue from your end.
I was able to see that your host uses LiteSpeed Cache – Object Cache (Drop-in), are you able to ask them to clear any cache from their end and make a new test with the password reset?
Hello @zorrofes,
Can I do it by CPanel or WP-CLI ? Or I need to contact my host ?
Please contact your host as they’re better placed on knowing how to go about it.
Thanks.
Hi @ckadenge
I do it my self by WP-CLI ==> NOT WORKING ??
I asked hoster and after their confirmation ==> always not working.I’m stuck & need your help and suggestions.
Thanks.
Hi @zorrofes
I’m sorry to hear that clearing the cache didn’t resolve the issue. As the next step, I suggest checking if your .htaccess file is correctly set up. You can do this by navigating to your site’s root directory via FTP or your hosting control panel’s file manager.
Rename the .htaccess file to something like .htaccess_old, then navigate to Settings -> Permalinks and click “Save Changes.” This will generate a new .htaccess file and flush the permalink settings.
If the issue persists, it’s possible that a server configuration issue is causing the login problem. In this case, you would need to contact your hosting provider for further assistance.
Additionally, I would also suggest enabling WordPress debugging to see if any errors are logged when you attempt to log in. You can do this by adding the following lines to your wp-config.php file:
define('WP_DEBUG', true); define('WP_DEBUG_LOG', true); define('WP_DEBUG_DISPLAY', false);
After doing this, try to login again and then check the debug.log file in your wp-content directory for any errors.
Please let us know how it goes. We’re here to help until we get this resolved!
Hi @shameemreza,
When i rename .htaccess –> i can’t open my session like admin !!! But, when i logging like admin, and after that i can rename .htaccess. I flashed permalinks and new file .htaccess created.
After, i tried logging on /my-account page –> always same problem.
About debug.log, i found error 5 days ago:
“Failed to connect Redis server! 09/04/24 14:28:34 – Redis connect exception: Connection refused”
Maybe i need to delete this file ?? Or no, because it didnt detect new erorr.
Thanks.
Hey, @zorrofes!
“Failed to connect Redis server! 09/04/24 14:28:34 – Redis connect exception: Connection refused”
This indicates a Redis server issue. When you talked to your host, have you talked to them about this error or did you see it after talking to them?
If you haven’t please share this error with them so they can help you with this.
Please let us know how it goes.
Have a wonderful day!
Hi @carolm29
I asked the Hosting support and told me: “I just configured the redis cache on your site on my side, can you test again now?”
I don’t know how to test really Litespeed/Redis. But, in Litespeed setting–cache:Status Memcached Extension: Disabled
Redis Extension: Enabled
Connection Test: Passed
Also, in CPanel–Terminal: when i test the ping, i have this:
Warning: Using a password with ‘-a’ or ‘-u’ option on the command line interface may not be safe.
127.0.0.1:6380> ping
PONG
127.0.0.1:6380>But, always i have the same problem !!!
Can i delete debug.log to retest and see another time. Because always i have nothing in this file.
Thanks.
Hello All,
Now, i created my debug.log by installing plugin: Error Log Viewer by BestWebSoft.
When i checked, i have always this error:
[10-Sep-2024 15:16:33 UTC] PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /wp-content/plugins/captcha-them-all/visualcaptcha/vendor/slim/slim/Slim/Http/Util.php on line 60
I contact the support for this plugin.
But, before i disable all plugins and always i can’t login.
Thanks.Hi @zorrofes,
Now, i created my debug.log by installing plugin:?Error Log Viewer by BestWebSoft.
When i checked, i have always this error:
[10-Sep-2024 15:16:33 UTC] PHP Deprecated: Function get_magic_quotes_gpc() is deprecated in /wp-content/plugins/captcha-them-all/visualcaptcha/vendor/slim/slim/Slim/Http/Util.php on line 60
I contact the support for this plugin.Thank you for the additional details. A captcha plugin sounds like a possible culprit for a login issue, especially if you have it set up to work on the login forms, so I’d follow that lead with the plugin developers, yes.
Even after disabling this plugin, I understand you’re still unable to log in to your site through the WooCommerce my account page (I take it you’re able to log in at least through the panel?). On that note, are you able to log in using the /wp-admin link?
Finally, please make sure your cart, checkout and my account pages are excluded from any caching solutions. More details here: https://developer.woocommerce.com/docs/how-to-configure-caching-plugins-for-woocommerce/#0-excluding-pages-from-the-cache.
Thanks!
-OPDear Support,
I disabled another time Captcha plugin and i tried to plugin. And this time have new errors in even-log:
[11-Sep-2024 17:45:56 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 20480 bytes) in /public_html/wp-includes/meta.php on line 1190
[11-Sep-2024 17:45:56 UTC] PHP Fatal error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 32768 bytes) in /public_html/wp-content/plugins/woocommerce/includes/class-wc-log-levels.php on line 1
Thank you.Hello @zorrofes,
Allowed memory size of 536870912 bytes exhausted
From the error logs you’ve shared, it appears your site is exhausting its allocated PHP memory limit. This can happen when a process requires more memory than is available.
You can try increasing the memory limit. You can do this by editing your wp-config.php file, which is located in the root WordPress directory. Add the following line of code at the bottom:
define('WP_MEMORY_LIMIT', '256M');
This line will increase the memory limit to 256MB, which should be sufficient for most websites. If you continue to experience issues, you might need to increase it further. Then save your changes and reload your site.
Please remember to back up your store before making any changes.
Hi @ckadenge ,
I verified and i have already: memory_limit = 2048M (php.ini)
I tried login, and i have always the same probleme and no error in event-log !!
Thank you.
- You must be logged in to reply to this topic.