我一直在使用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点的赏金,但我不能让链接上来,所以有一个赏金。
您可以重新格式化该代码,以便它清晰可辨吗? –
是更好吗? –
感谢您的补充修复。 –