我一直在使用Tank Auth庫,並且對此有疑問。我在註冊表中添加了兩個字段:first_name和last_name,我試圖找出爲什麼它沒有插入user_profiles頁面。Tank Auth添加字段
有了更新的代碼我得到這個錯誤:
A PHP Error was encountered
Severity: Warning
Message: Missing argument 5 for Tank_auth::create_user(), called in /home/xtremer/public_html/kowmanager/application/controllers/auth.php on line 136 and defined
Filename: libraries/Tank_auth.php
Line Number: 162 A PHP Error was encountered
Severity: Notice
Message: Undefined property: Tank_auth::$users
Filename: libraries/Tank_auth.php
Line Number: 188
Fatal error: Call to a member function UpdateProfileInfo() on a non-object in /home/xtremer/public_html/kowmanager/application/libraries/Tank_auth.php on line 188
更新的代碼:
任何想法對我是什麼做wr現在呢?
我會在這個50點的賞金,但我不能讓鏈接上來,所以有一個賞金。
您可以重新格式化該代碼,以便它清晰可辨嗎? –
是更好嗎? –
感謝您的補充修復。 –