Domanda

Sto utilizzando le impostazioni predefinite in litio, adattatore di default è php, tutto è abbastanza di default. Sul mio localhost posso entrare, aggiungere utenti, ma quando ho copiato tutto per il mio ospite (fisso tutti gli errori db) Non riesco ad accedere. Il codice va bene.

Ora posso rendere gli utenti e tutto funziona, tranne login. Sembra che non riesce a trovare il nome utente / password in dB che gli ingressi partita siccome mi mostra un msg di errore - Accesso non riuscito. Come che sia possibile?

Come ho detto, tutto è predefinito e lavora sul mio localhost, se avete bisogno di vedere altro codice, basta chiedere. Controller: http://pastium.org/view/8a23279872e04753b84c93923ad2e61e

È stato utile?

Soluzione

If everything is identical, chances are that you have environment-depending configurations in place (like db connections) or more likely Auth class setup!

Remember that if you're not on localhost, lithium assumes (by default) that you are in production mode!

Altri suggerimenti

What version are you running? Had the same problem before when I ran 0.10 (the .dmg from SourceForge). However, if you clone the latest version from GitHub, your should be fine.

Also, remember that if you use a "form Auth" – your password will be hashed automatically, remember to store your passwords hashed too.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top