Jump to content

Authentication fails 2nd time


Recommended Posts

Hi,

Got a problem:

When a customer logs in for the first time everything works fine including ordering. Then you Log out. Upon a second log in attempt(reboot), after entering correct password the system crashes on a white screen searching for "authentication.php".

If customer (on 2nd log in attempt) uses a wrong password, the system works correctly and the "invalid password" error appears.

Same error occurs on a default installation. Have checked permissions, have checked server error logs (nothing).

Website: www.musicallsorts.com/shop

Using:
PHP 5.2.5
Prestashop v 1.2.1
Apache 1.3 or later
MySQL: 5.0
tested: Firefox 3.5 --- IE8
Server OS: Linux

Link to comment
Share on other sites

  • 3 weeks later...
  • 2 weeks later...
  • 2 weeks later...

The sleep function is blocked by your hosting provider

You should ask your hosting company to consider removing the block on the sleep function. A Member does not use sleep in an insecure manner. Disabling that function does not increase security.

If your hosting company insists on continuing to block functions, you should consider switching to a new host that provides a complete PHP environment.

Best regards.

Link to comment
Share on other sites

simply ask them before buying if you can run Prestashop on their servers without problems.

ask about sleep function, about suPHP if they are willing to activate them for you.


No Hosting company will publish the full configuration of the server on their website , but if you ask about compatibilities with prestashop they must tell you. Otherwise go on to the next hosting company.


I don't know hosting companies outside Romania.

My hosting company were I have an account is in my signature. It is a Romanian company.

1.1 euro (5 RON) + VAT 19% per month for 2GB Space and 20GB Traffic.
DataBase, e-mails accounts, Domains, Subdomains, etc...etc... all UNLIMITED.

I have 1.1 , 1.2.3 and 1.2.4 Prestashop installed.

Total PrestaShops instaled 10~15 with 300-350 products each.

and other stuff.

Link to comment
Share on other sites

  • 4 months later...
  • 1 year later...

I'm not sure if this is exactly the same problem. But I too had the problem that users could register, but not log in afterward. The mail the new users received with their username and password contained an encrypted password which could be used as a password, but it wasn't the one they initially chose.

The problem eventually was in my theme. I changed authentication.tpl from version 1.3 to the one from the default theme for version 1.4 and all my problems were gone.

Link to comment
Share on other sites

×
×
  • Create New...