Jump to content

Customers can't log in


sannnx

Recommended Posts

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

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

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

  • 1 year later...

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 by VisualX
added code (see edit history)
Link to comment
Share on other sites

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

 

  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...
  • 9 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...