0

このCodeIgniterからの質問を見ました:Tank_authを使用してuser_profilesデータベースにフィールドを渡す

そして私の問題はDavezatchと同じですが、authcontrollerで次のようにしています。

...
if ($this->form_validation->run()) {                                // validation ok
            if (!is_null($data = $this->tank_auth->create_user(
                    $use_username ? $this->form_validation->set_value('username') : '',
                    $this->form_validation->set_value('email'),                     
                    $this->form_validation->set_value('password'),                      
                    $this->form_validation->set_value('webiste'),
                    $email_activation))) {  
...

私の電子メールに送信すると、次のように表示されます。

A PHP Error was encountered Severity: 
Notice Message: Undefined variable:
new_email_key Filename: email/activate-html.php 
Line Number: 14

なにか提案を?ありがとうございました

4

1 に答える 1

0

アカウントのアクティブ化に使用されるnew_email_keyが欠落しているようです。それがデータベースに存在するかどうかを確認し、電子メールのアクティブ化の構成も確認します。

于 2012-05-29T10:53:09.607 に答える