P
P
PPilot2019-11-20 13:04:28
Yii
PPilot, 2019-11-20 13:04:28

Yii2. Redirect (or something else) does not work when transferring to hosting?

Good afternoon! When transferring to a hosting, a problem arose that when a user logs in to the site (after entering a login and password), the page does not load, although everything worked on the local server.
1) Working version (works on a local PC) I enter my login, password, everything goes through, everything is authorized, everything is as it should.
5dd50e0d217f2402519750.png
2) Not a working option. Initially, the page loads, I enter my login and password, and then instead of loading the page, the message "Password is correct ..../Password is NOT correct" is displayed, and the rest of the modules are not loaded, and at the first visit to the page, everything is loaded as it should, and if I do a "refresh", then the form is also loaded
5dd50ec5c34ad092556284.png
. The form is simple:
5dd50ee6bfa7a483246706.png
Please tell me what you can see, in which direction, I googled it, I did some experiments myself, but I still don’t understand in which direction to move. Thanks in advance!

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question