sannnx Posted December 4, 2020 Share Posted December 4, 2020 Hi everyone, I tried anything I found on the Prestashop website, but unfortenaly nothing works. So here's the problem: - Customers can't log in on the website. They get an error: Authentication failed prestashop It's not because of a wrong password! Any idea how to fix this? I'm desperate! Link to comment Share on other sites More sharing options...
sannnx Posted December 5, 2020 Author Share Posted December 5, 2020 Anyone? Link to comment Share on other sites More sharing options...
Rhobur Posted December 5, 2020 Share Posted December 5, 2020 Enable the Debug mode from Advanced Preferences->Performance and check for the error message when authenticating as a customer. Link to comment Share on other sites More sharing options...
sannnx Posted December 5, 2020 Author Share Posted December 5, 2020 2 minutes ago, Rhobur said: Enable the Debug mode from Advanced Preferences->Performance and check for the error message when authenticating as a customer. I tried it. But unfortunately nothing shows up. No error message at all! Link to comment Share on other sites More sharing options...
Rhobur Posted December 5, 2020 Share Posted December 5, 2020 then check the apache/nginx log if you have server access or Cpanel error.log if you don't. Link to comment Share on other sites More sharing options...
sannnx Posted December 5, 2020 Author Share Posted December 5, 2020 2 hours ago, Rhobur said: then check the apache/nginx log if you have server access or Cpanel error.log if you don't. Didn't find anything related to the issue. However is the ssl log i found this: [Sat Dec 5 12:37:39 2020] [error] [client 45.118.159.157] ap_pass_brigade failed with error 103: Software caused connection abort, referer: https://......../en/login?back=my-account [Sat Dec 5 12:39:04 2020] [error] [client 94.157.133.156] ap_pass_brigade failed with error 103: Software caused connection abort, referer: https://.....Backoffice/index.php/configure/shop/maintenance/?_token=reszms2r7OlVoTohSg_9iCvYh-4CZsSDesmEYLAt-iA [Sat Dec 5 12:40:20 2020] [error] [client 94.157.133.156] ap_pass_brigade failed with error 103: Software caused connection abort, referer: https://..../Backoffice/index.php/improve/design/themes/?_token=reszms2r7OlVoTohSg_9iCvYh-4CZsSDesmEYLAt-iA Link to comment Share on other sites More sharing options...
Rhobur Posted December 5, 2020 Share Posted December 5, 2020 It seems like a webserver error not a PS one; try restart Apache and if it doesn't go away, try with this https://stackoverflow.com/questions/12477627/mod-fcgid-ap-pass-brigade-failed-in-handle-request-function Link to comment Share on other sites More sharing options...
joseantgv Posted December 7, 2020 Share Posted December 7, 2020 Check the network response. Link to comment Share on other sites More sharing options...
El Patron Posted December 8, 2020 Share Posted December 8, 2020 use chrome dev tools (console shows errors) in conjunction with ps debug mode. Link to comment Share on other sites More sharing options...
VisualX Posted June 11, 2022 Share Posted June 11, 2022 (edited) Hello, I'm having the same problem, in the cpanel in the errors page i get: AH01630: client denied by server configuration: /home3/semir46t/public_html/img/pr I tried to modify the .htaccess from the img/p folder and change the REQUEST ALL DENIED to REQUEST ALL GRANTED but it didnt work. Can anyone please help me? Thanks in advance Here is the code from .htaccess from img/p folder <IfModule mod_php5.c> php_flag engine off </IfModule> # Apache 2.2 <IfModule !mod_authz_core.c> Order deny,allow Deny from all <Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico)$"> Allow from all </Files> </IfModule> # Apache 2.4 <IfModule mod_authz_core.c> Require all denied <Files ~ "(?i)^.*\.(jpg|jpeg|gif|png|bmp|tiff|svg|pdf|mov|mpeg|mp4|avi|mpg|wma|flv|webm|ico)$"> Require all granted </Files> </IfModule> Edited June 11, 2022 by VisualX added code (see edit history) Link to comment Share on other sites More sharing options...
Prestachamps Posted June 13, 2022 Share Posted June 13, 2022 Hi, The error you posted means that the access to the directory on the file system was denied by an Apache configuration. I would ask you server to take a closer look. https://cwiki.apache.org/confluence/display/httpd/ClientDeniedByServerConfiguration Using deny, allow directives is deprecated since Apache 2.4.So now the right directive that allow all access would be "Require all granted" - this seems fine in the above. Are the htaccess file rights set properly? In case they can't be read the same error will occur. I hope it helps, LEo 1 Link to comment Share on other sites More sharing options...
VisualX Posted June 23, 2022 Share Posted June 23, 2022 Hello, Sorry for my late reply. I solved the problem. I had to change in the database the length of the encrypted passwords to 64 characters. Link to comment Share on other sites More sharing options...
nmbhulani Posted March 25, 2023 Share Posted March 25, 2023 Superb! Thanks VisualX for the solution! I had migrated my shop from prestashop 1.6 to 1.7 and simply copied the data from the 1.6 tables to 1.7. I had inadvertently deleted my customer table. So, my only option was to copy the old table from 1.6 along with the table structure. I had trouble with users unable to log into their accounts. But, now after changing the password and secure key column lengths to 64 from 32 in the customer table, the problem has been solved! Thanks again! Link to comment Share on other sites More sharing options...
AcidLava Posted July 22, 2024 Share Posted July 22, 2024 Hello, Could you please provide me the table name do to this ? Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now