I'm using OC 3.0.3.8, I'm not sure how this happened but customers can't login to the storefront, but if I go into "Admin -> Customers -> Action -> Login to Store", I can log the customer in that way.
I'm not seeing any errors in any error logs.
Anyone have any insight into what this might be?
Thanks in advance,
Chris
Please specify which logs and a web address so someone can check.
Is it all customers ?
Have you any extensions that are relevant to login / checkout ?
Have you tried to register a new customer with a new password ?
See these solutions
viewtopic.php?t=221153
viewtopic.php?t=227155
viewtopic.php?f=201&t=207498#p737358
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Yes, that's my email, so no worries there.....by mona wrote: ↑Thu Apr 13, 2023 10:35 amIf that email address is not yours it would be best to replace the image and hide/obscure the email address (GDPR and all that).
Please specify which logs and a web address so someone can check.
Is it all customers ?
Have you any extensions that are relevant to login / checkout ?
Have you tried to register a new customer with a new password ?
See these solutions
viewtopic.php?t=221153
viewtopic.php?t=227155
viewtopic.php?f=201&t=207498#p737358
Thanks for the suggestions, I've tried registering a new customer and new password. Same results.
Nothing new as far as extensions either. I've been working on this new store for a couple of months now and this came out of nowhere, at least it seems that way.
I'll check on those links to other posts and report back.
if you would like us to debug the issue. Do let us know here:redwingsfan71 wrote: ↑Thu Apr 13, 2023 8:14 amHello all,
I'm using OC 3.0.3.8, I'm not sure how this happened but customers can't login to the storefront, but if I go into "Admin -> Customers -> Action -> Login to Store", I can log the customer in that way.
I'm not seeing any errors in any error logs.
Anyone have any insight into what this might be?
Thanks in advance,
Chris
support@cartbinder.com
Opencart Extensions | Professional opencart support | Support Ticket | support@cartbinder.com
Anyway, without further detail it's hard to help you here. What's your website URL? What theme? What extensions?
Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig
The customer can't login through the store front, but I can manually log them in through the admin side.
The site is in maintenance mode, I'm not sure how to let you guys in to look without taking it out of maintenance mode. Suggestions on that?
Any help with this is greatly appreciated!

So you cannot draw conclusions from whether one works and the other doesn't.
The last link is what you should do anyway, so keep that change. This explains it viewtopic.php?t=212972#p760752
How are you making the changes?
Are you sure you are editing the correct files?
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Here's the code changes I've made from the last topic you shared... Inside of root/system/framework.phpby mona wrote: ↑Thu Apr 13, 2023 10:57 pmCustomer login from the admin side is login via admin generated temporary token, not the regular manner, as such, they are totally unrelated.
So you cannot draw conclusions from whether one works and the other doesn't.
The last link is what you should do anyway, so keep that change. This explains it viewtopic.php?t=212972#p760752
How are you making the changes?
Are you sure you are editing the correct files?
Code: Select all
// Response
$response = new Response();
$response->addHeader('Content-Type: text/html; charset=utf-8');
// ************************ Added by Christopher Harris per https://forum.opencart.com/viewtopic.php?f=201&t=207498#p737358 ****************************
$response->addHeader('Expires: Thu, 19 Nov 1981 08:52:00 GMT');
$response->addHeader('Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0');
$response->addHeader('Pragma: no-cache');
// *****************************************************************************************************************************************************
$response->setCompression($config->get('config_compression'));
$registry->set('response', $response);
We would need a link to your store (out of maintenance mode) to assist any further.
Extensions / themes etc.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Here's the link to the storefront... https://www.icbimproducts.com
I have a theme installed (that was over a month ago) and a few unrelated extensions... Shipping label, free shipping, product search, those types of extensions.
Nothing has changed as far as extensions in more than a week, and this issue suddenly appeared.
Admin => Customer Groups => Approve new customers - No
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
Check Admin=>customers =>customers > general tab is set to status ENABLED qwerty1 please
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
All of your qwerty users are enabled... And it is now set to "yes" for new customer approval...
You will have to disable your theme to test on default, if not that then disable your extensions one by one to see which one is editing the Opencart functionaility.
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84
I had just today set it to "yes", it was set to "no" by default.by mona wrote: ↑Fri Apr 14, 2023 6:27 amNo it is still requiring activation which is not opencart default so there is a modification somewhere.
You will have to disable your theme to test on default, if not that then disable your extensions one by one to see which one is editing the Opencart functionaility.
Sorry if I confused you somehow...
anyway - it needs to be auto activated as in I was right the first time -
Customers must be approved by an administrator before logging in - NO
As in register and get straight into your account ..
DISCLAIMER:
You should not modify core files .. if you would like to donate a cup of coffee I will write it in a modification for you.
https://www.youtube.com/watch?v=zXIxDoCRc84

It was server side database collation issues...
A module developer had changed some tables of the database to an oddball collation and things got out of sync.
Users browsing this forum: No registered users and 23 guests