-
- 45 Posts
Hy, i tried to make a members only page, that runs fine. But if a user who is no member will enter it shows the 404 error. I read that i need to add the same resource group i created for the member only pages to the anonym user group with context web, user group member. But it still shows me the 404 error page.
The usergroup is (anonym) is that right? Do i need to do something more as only add the resource group and the web and member things from above?
Hope someone can help me.
Clear cache and sessions after you make the change?
-
- 24,544 Posts
The user group is (anonymous), not (anonym). As OpenGeek says, don’t forget to clear the Cache, Flush Permissions, and Flush All Sessions before testing.
-
- 45 Posts
The usergroup was default by (anonym) and i can not changed it. Should i create a new usergroup with (anonymous)?
-
- 24,544 Posts
Are you sure you’re seeing the whole name in the browser. It should be (anonymous). If not, you may have a bad install. I’d run Setup in upgrade mode and, if that doesn’t fix it, redownload and reinstall MODX.
You might first try putting this snippet on a page and visiting the page in a browser where you’re not logged into the Manager:
<?php
/*CheckUserGroups Snippet */
$groups = $modx->user->getUserGroupNames();
return 'GROUPS: ' . implode(',', $groups);