Results 1 to 3 of 3

Thread: Registered User unable to login

  1. #1
    Senior Member
    Join Date
    Sep 2009
    Location
    WorldWid3
    Posts
    270
    Thanks
    34
    Thanked 37 Times in 25 Posts

    Default Registered User unable to login

    I have a registered user who was imported from a SWCMS database just like the others, only difference is, this particular user cant login, nor can i access his profile page it gives me the following with the debug mode on.

    When trying to access the user profile page I get at following error - http://mysite.com/user/Red/

    Code:
    Trying to get property of non-object in /content/plugins/users/users.php  on line 147
    Trying to get property of non-object in /content/plugins/users/users.php  on line 150
    Trying to get property of non-object in /content/plugins/users/users.php  on line 191
    Trying to get property of non-object in /content/plugins/users/users.php  on line 192
    When i try to a access the user account thru the user manager i get the following msg:
    http://mysite.com/index.php?page=account&user=Red

    Code:
    Fatal error: Call to a member function updateAccount() on a non-object in /content/plugins/users/users.php on line 130
    When i try to access the user permissions i get following error
    http://mysite.com/index.php?page=permissions&user=Red

    Code:
    Trying to get property of non-object in /content/plugins/users/users.php  on line 191
    Trying to get property of non-object in /content/plugins/users/users.php  on line 192
    Here are his permissions in database

    Code:
    a:13:{s:16:"can_access_admin";s:2:"no";s:10:"can_submit";s:3:"yes";s:14:"can_edit_posts";s:3:"own";s:16:"can_delete_posts";s:2:"no";s:21:"can_post_without_link";s:2:"no";s:9:"can_login";s:3:"yes";s:11:"can_comment";s:3:"yes";s:17:"can_edit_comments";s:3:"own";s:24:"can_set_comments_pending";s:2:"no";s:19:"can_delete_comments";s:2:"no";s:28:"can_comment_manager_settings";s:2:"no";s:10:"can_search";s:3:"yes";s:16:"can_do_messaging";s:3:"yes";}

  2. #2
    Former lead dev Nick's Avatar
    Join Date
    Jun 2009
    Location
    Kakamigahara, Japan
    Posts
    2,869
    Blog Entries
    88
    Thanks
    482
    Thanked 806 Times in 526 Posts

    Default

    The problem is his username is 3 characters. Hotaru requires a minimum of 4 characters. Since you can't access his account because of that problem, you can fix it by changing his user name to "Red1" (for example) in the database. After that, he should be able to log in and then change his user name to something different. Likewise, you should be able to view his account, too.

  3. #3
    Senior Member
    Join Date
    Sep 2009
    Location
    WorldWid3
    Posts
    270
    Thanks
    34
    Thanked 37 Times in 25 Posts

    Default

    Thank you nick.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Extra Profile Fields Visible only to registered/logged in users
    By angolanmade in forum How-To and Troubleshooting
    Replies: 4
    Last Post: 02-09-2011, 04:53 PM
  2. [Done] Automatic Registered and Anonymous user click counts a vote
    By baadier in forum Plugin Suggestion Box
    Replies: 12
    Last Post: 08-17-2010, 01:52 PM
  3. Hotaru site accessible only to registered/logged in members
    By angolanmade in forum How-To and Troubleshooting
    Replies: 8
    Last Post: 04-01-2010, 08:45 AM
  4. Users are Unable to Edit 'Source URL' when posting video links
    By nothingman in forum How-To and Troubleshooting
    Replies: 2
    Last Post: 03-14-2010, 11:44 AM
  5. Replies: 2
    Last Post: 02-21-2010, 09:23 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •