Zikula: A Flexible Open Source Content Management System
home | forum | contact us

Dizkus

Bottom
Registered users don't get to their initial group
  • Posted: 30.09.2005, 02:28
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    Currently I run two websites under PostNuke 0.760

    I have a problem with new users. In the groups configuration I've set "Users" as the initial group for users. However when they become registered users they don't enter any group. This has the consequent problem that they don't see any parts of the website when logged.

    Up to now the only solution that I've found is to modify each user manually, but this is a rather tedious way to solve the problem as you may imagine. Firstly I thought I was the only one with this problem because I've searched these forums for similar problems but haven't found anything yet, but today I've fonud another PostNuke user with the same problem.

    Any idea why this happens?
  • Posted: 30.09.2005, 02:40
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13415
    Your initial group for users is set correctly in administration > groups? You have tried resubmitting this form?

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 30.09.2005, 02:46
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    Yes, I checked it in administration>groups and it was ok, and a few hours ago I thought about resubmitting the form as you say, but I've had 4 new users since that and they aren't in any group :?
  • Posted: 30.09.2005, 02:55
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13415
    ok, can you dive into the database? In the prefix_module_vars table, look for the row: modname - Groups, name - default group.

    Please tell me what is says.

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 30.09.2005, 03:03
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    It says

    pn_modname: Groups
    pn_name: defaultgroup
    pn_value: Users

    Everything correct I'm afraid...
  • Posted: 30.09.2005, 03:21
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13415
    You are using the default users module, and not an alternative like XUser?

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 30.09.2005, 03:28
     
    Chestnut
    rank:
    Steering Committee Steering Committee
    registered:
     August 2002
    Status:
    offline
    last visit:
    03.03.08
    Posts:
    1221
    Try to register a user yourself and see if there is a SQL error... (should be if there is a problem with the SQL when the user is registered to the default group).

    --
    Chestnut !
    Support via Private message won't be answered...
    http://dev.pnconcept.com
    http://www.postnuke-france.org
  • Posted: 30.09.2005, 03:45
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    I'm using the default users module, but I've found something now that Chestnut has told me to register a user myself.

    I have omitted some info that might be interesting, sorry for that. My two websites are mysyte.com and subdomain.mysyte.com and the subdomain one is sharing some DB tables with the original one, in this case all the ones referred to users. And now, registering a user myself I've found that when I register a user in mysyte.com it doesn't enter any group at subdomain.mysyte.com and viceversa, but it works correctly in the site where I register it.

    Does that help you in any way?
  • Posted: 30.09.2005, 03:57
     
    Chestnut
    rank:
    Steering Committee Steering Committee
    registered:
     August 2002
    Status:
    offline
    last visit:
    03.03.08
    Posts:
    1221
    Yea... that's kind of a small detail that you've missed... :wink:

    Groups tables also must be shared

    groups
    groups_perms
    groups_membership

    --
    Chestnut !
    Support via Private message won't be answered...
    http://dev.pnconcept.com
    http://www.postnuke-france.org
  • Posted: 30.09.2005, 04:11
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    Yeah... sorry icon_redface

    I've shared those tables and it doesn't seem to work either. Another thing to say in case it might be useful: I'm not using multisites, I share these tables following the tutorial to create multisites by aferve.com
  • Posted: 30.09.2005, 11:07
     
    Simon
    rank:
    Steering Committee Steering Committee
    registered:
     December 2002
    Status:
    offline
    last visit:
    23.11.08
    Posts:
    13415
    If the tables are shared now, future registrations should work fine, but existing users will still have problems (as some will have been in the table you didn't share)

    --
    Regards,
    Simon

    itbegins.co.uk - Zikula Consulting

    Please read the Support Guide
  • Posted: 30.09.2005, 15:36
     
    paranoik
    rank:
    Softmore Softmore
    registered:
     September 2004
    Status:
    offline
    last visit:
    07.07.06
    Posts:
    50
    I have modified the pntables.php file, as it is explained in the tutorial that I've mentioned, and I'm currently sharing:

    groups
    groups_perms
    groups_membership
    user_data
    user_perms
    user_property
    users

    However I've checked my last registered users (since I made the changes last night) and I continue with the same problem.

Extensions Moderation

Main Menu

Extensions Database

Documentation

Development

Login

Donate to Zikula