問題タブ [ion-auth]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
php - 存在しないクラス: Mongo_db
ion_auth に問題があります。必要なすべてのファイルを Mongodb に適合するように変換しました。私の設定ファイルmongo_db.php
ion_auth.php
しかし、それでもエラーが発生します
存在しないクラス: Mongo_db
彼らはこれ以上変更を加える必要があります。ion_auth は現在 mongodb で動作していますか??
codeigniter - 次のようにエラーに直面しているcodeigniterで:非オブジェクトのプロパティを取得
mongodb で ion_auth を使用する場合。コレクション ユーザーを評価しています。非オブジェクトとして取得します..修正はありますか??
codeigniter - redirect to previous page after login ion_auth codeigniter
I am using codeigniter and Ion_auth for my application. Got them both installed and they work just fine... This is the first time i really had to go in and do a custom redirect with codeigniter(newbie at codeigniter, also not a php master but pretty self sufficient).
What i am trying to do is say someone tries to go to my custom controler (example.com/index.php/dashboard). If they go there and are logged in then they are fine, if they are not it redirects to example.com/index.php/auth/login. then upon logging in I want them to be sent back to the dashboard and not the base url. I tried to set the HTTP_REFERER in the login function like so:
and the redirect (after the login logic) like so(found on many sites/forums via google, yes i searched the problem out):
this errors out everytime as a 500 error.
php - MY_Controller を使用して codeigniter でion_aut ライブラリを使用する方法
こんにちは、Codeigniter 2.x 用の IonAuth ライブラリの使用方法を探しています。その仕組みを知りたいと思っています。
パッケージをダウンロードすると、コントローラーauth.phpがあります。私はこれを見ましたhttp://blog.nexico.net/article/secure-area-codeigniter-framework-and-ion-auth
そこで、CI のコア フォルダーに MY_Controller を作成します。しかし、どうすればそれを使用できますか?
php - URL パスを /auth/ CodeIgniter および Ionauth から変更します
これはおそらく非常に単純な質問ですが、私は codeigniter をまったく初めて使用します。安全なアカウントシステムにionauthを使用していますが、URLパスを変更したいのですが、クラス名を変更するだけでは機能せず、アクセスしようとすると404が表示されます。/auth/
場所を変更しようとしていますが、名前を変更する/account/
だけで試してみると、期待どおりに機能しません。class Auth extends CI_Controller {
class Account extends CI_Controller {
どんな提案でも大歓迎です。繰り返しますが、私はこれが初めてなので、簡単に行ってください。おそらく簡単な修正であり、コードイグナイターがよくわかりません。
ありがとう、サイモン
codeigniter - IonAuth - ランダムにログアウトしているようです
私はionAuthを使用していますが、ほぼランダムにログアウトしているようです? 私は Codeigniter v2.1.4 を使用しています - 完全に正常にログインしますが、ionAuth はランダムな間隔でログアウトするようです。ionAuth->logout 関数を呼び出すまでセッションを強制的にアクティブのままにする方法はありますか?
私の CI 設定は次のようになります。
私のion_auth構成ファイルは次のようになります。
問題を引き起こしている可能性のあるものについて、誰かが私に何か指針を与えることができますか?