I upload my website but I can't do Login

Username (e.g. epiz_XXX) or Website URL

Homepage (great-site.net)

Error Message

It isn’t an error. I can’t do the login but in my website in local I can. Who can help me?

Your login page shows for me.
If you want us to test actually loging in, we will need a username and password.

email: [email protected]
pass: prova

It looks like your auth system is not working

Can you please explain how your system works?
Thanks.

yes, but in local it works

Ok, but this is using an Apache (Linux) server, witch is different from localhost. Please explain how this is supposed to work (Does it use MySQL, PHP, ect.)

2 Likes

Local and other servers have different configurations, meaning when you migrate you’ve to update configurations such as database user/password as well.

4 Likes

I’m using phpMyAdmin in local and here. I really don’t know how can I solve it. I exported the database from local phpMyAdmin and I imported it here (and I change settings in the file .env). What can I do for solve?
Thank you in advance

Yes, I update the configurations about user and password on file .env.

.env files cannot be used here. You will need to create a PHP file to connect to your database.

3 Likes

I’m using symfony framework and I read that the file .env contains info for configure db.

Do I have to change “development” with “production”? O.O

Or, maybe, do I have to configure my session (as explicate in this discussion on stackoverflow: Symfony 4 login form : authenticating successfully, but authentication immediately lost after redirect - Stack Overflow)?

Or, maybe, the cause is that the site is http and not https. Is it possible?

@anon35929400, I am just going to show this to you again,

The .env file is the reason this is not working, you will need to make your login work without this, or find a host that allows it (My understanding is that most free hosts don’t, you will most likely need to pay if you want to do it this way)

Where can I put the information about my db (eg: email, password, host, …)?

Will this help you out to create a login page? It was created by @TigerMANEK426

Or this from the internet?

2 Likes

Can I do it if I implement my system with symfony?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.