PrestaShop / php-ps-info

Simple script that allows you to test if your current environment fulfills PrestaShop's system requirements, and offers suggestions for improvements.
MIT License
107 stars 110 forks source link

Unable to log-in #29

Closed radumchristian closed 5 months ago

radumchristian commented 1 year ago

Whatever I type in: const DEFAULT_PASSWORD = 'user'; const DEFAULT_LOGIN = 'pass'; The script won't let me log-in

VanityUrbaniec commented 1 year ago

Have same problem.

majel007 commented 1 year ago

Cannot log in with deafult login prestashop and pass prestashop

KloniraniDecak commented 12 months ago

Same problem. Please advise

VanityUrbaniec commented 12 months ago

We had problem with PHP settings - now it works. And set login and psw on .php

image
KloniraniDecak commented 12 months ago

Thank you! It's working

CharlieHarpers commented 11 months ago

Same issue here, but deleting/ editing login to:

const DEFAULT_PASSWORD = ''; const DEFAULT_LOGIN = '';

cannot be the right way. Any further ideas?

matks commented 5 months ago

Hello guys, I just checked on php-ps-info v1.2 https://github.com/PrestaShop/php-ps-info/releases/tag/v1.2 and it works fine :/

If you check how the login/password check it's done by standard HTTP authentification, so I really dont know what could go wrong.

https://github.com/PrestaShop/php-ps-info/blob/master/phppsinfo.php#L146

You can maybe simply remove the lines in checkAuth() and put a return; 😉 to bypass the login step if you just use this tool for debug. I think the tool was protected for production usage.