Ok, one last issue, although it is above and beyond the scope of your actual app, however, it was posted on your blog.
I am trying to get the users Name and possibly even a photo to appear in the banner of my app. Before I get into the photo issue, I simply did what you have in your blog to create customer profiles. However, I get an error when I do:
Code:
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$first_name
Filename: core/MY_Controller.php
Line Number: 36
Backtrace:
File: /var/www/html/application/core/MY_Controller.php
Line: 36
Function: _error_handler
File: /var/www/html/application/third_party/community_auth/core/Auth_Controller.php
Line: 224
Function: _set_user_variables
File: /var/www/html/application/controllers/Welcome.php
Line: 34
Function: require_role
File: /var/www/html/public/index.php
Line: 315
Function: require_once
A PHP Error was encountered
Severity: Notice
Message: Undefined property: stdClass::$last_name
Filename: core/MY_Controller.php
Line Number: 37
Backtrace:
File: /var/www/html/application/core/MY_Controller.php
Line: 37
Function: _error_handler
File: /var/www/html/application/third_party/community_auth/core/Auth_Controller.php
Line: 224
Function: _set_user_variables
File: /var/www/html/application/controllers/Welcome.php
Line: 34
Function: require_role
File: /var/www/html/public/index.php
I got a similar error when I tried to add to the auth_(variable) list (like auth_email or auth_username) I tried to add auth_photo but it gave me a lot of issues.
Any Ideas?
Regards,
Koster