Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
Registered users don't get to their initial group
Moderated by: Support Team
-
- rank:
-
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? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 14.08.08
- Posts:
- 13407
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 -
- rank:
-
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 :? -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 14.08.08
- Posts:
- 13407
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 -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 14.08.08
- Posts:
- 13407
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 -
- rank:
-
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 -
- rank:
-
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? -
- rank:
-
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 -
- rank:
-
Softmore
- registered:
- September 2004
- Status:
- offline
- last visit:
- 07.07.06
- Posts:
- 50
Yeah... sorry
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 -
- rank:
-
Steering Committee
- registered:
- December 2002
- Status:
- offline
- last visit:
- 14.08.08
- Posts:
- 13407
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 -
- rank:
-
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.
Start ::
PostNuke 0.7 Support ::
Core Modules & Blocks ::
Registered users don't get to their initial group
