ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Newly created user is erroring out when assigned to a custom Membership group

March 27, 2012 8:14pm

Subscribe [2]
  • #1 / Mar 27, 2012 8:14pm

    AniM

    7 posts

    EE v2.4.0 - Build: date 20120123

    Created a custom Member Group based on Super Admin group
    Changed some privileges of the above said custom group
    Added a user to the custome group.

    Now when the user tries to access the Channels she gets a following error.

    401 Authorization Required</title></head><body><h1>Authorization Required</h1>This server could not verify that youare authorized to access the documentrequested.  Either you supplied the wrongcredentials (e.g., bad password), or yourbrowser doesn’t understand how to supplythe credentials required.

    I’m the admin for expression engine control panel and I’m able to replicate the error although that does not happen at the same point.

    Please help! What could be the problem?

  • #2 / Mar 27, 2012 8:16pm

    AniM

    7 posts

    Created a custom Member Group based on Super Admin group
    Changed some privileges of the above said custom group
    Added a user to the custome group.

    Now when the user tries to access the Channels she gets a following error.

    401 Authorization Required</title></head><body><h1>Authorization Required</h1>This server could not verify that youare authorized to access the documentrequested.  Either you supplied the wrongcredentials (e.g., bad password), or yourbrowser doesn’t understand how to supplythe credentials required.

    I’m the admin for expression engine control panel and I’m able to replicate the error although that does not happen at the same point.

    Please help! What could be the problem?

  • #3 / Mar 28, 2012 5:28pm

    Shane Eckert

    7174 posts

    Hey AniM,

    I am sorry to hear you are running into this problem.

    Are you using an Add-On’s that deal with authentication?

    Are you using .htaccess for anything and if so, can you paste the contents here?

    I know this is obvious, but did you remember to allows the group “Channel Assignment” for the desired channel? I have missed that one before.

    Please let me know what you find.

    Cheers,

  • #4 / Mar 28, 2012 8:14pm

    AniM

    7 posts

    My site is located under a subdirectory

    \\root folder\ee\..
    I see a .htaccess file in the root folder but the file is empty. Should I just delete it or rename it?

  • #5 / Mar 28, 2012 8:18pm

    AniM

    7 posts

    To answer you other questions..

    No add-on modules are used for authentication
    The custom group was given channel assignments. Although the odd thing is the user was able to veiw,edit and delete channels. But as soon as she clicks the “Add new channel” button she gets the error.

    I have also another issue posted with “500 Internal Server error” as a title and I don’t know if that is related to the same issue.

  • #6 / Mar 28, 2012 8:27pm

    AniM

    7 posts

    The subdirectoy “ee” under the roor directory has an unix access level of 755, is that the correct level ?

  • #7 / Mar 28, 2012 9:10pm

    AniM

    7 posts

    The following is also an error we see when the user tries to create new Channel.

    “500 Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, .(JavaScript must be enabled to view this email address) and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.”

    If the same user is added to the Super Admin froup then everything works fine.

     

  • #8 / Mar 29, 2012 11:06pm

    AniM

    7 posts

    Thanks for the response. We did some more research.

    Okay so what we have found is, if the newly created user is assigned to a custom group that does not have access to any “channels”, then the user gets the 401 error ( as reported in my first message) when she clicks the “Create new channel” button. Now, if we grant access to at least one Channel to the group the error disappears and everything seems to be working fine.

    We think this is a BUG. Can you please confirm if you can recreate it?

    Now although we have work around and the error doesn’t happen when creating channels, we do see the same error every time this newly created user tries to logout. The logout is successful but we will see the two error messages; one on the web page and a different error in the URL (address bar) which looks like HTML:
    ——————Web page error——————————
    The URI you submitted has disallowed characters.

    Internal Server Error
    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, .(JavaScript must be enabled to view this email address) and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.
    ——————————————————————————————————-

    The URL (in the address bar) says…

    http://www.mysamplesite.org/ee/admin.php?S=b51b37429e28669da46136792875dc3708b6a3c9&D=cp&C=login<!DOCTYPE HTML PUBLIC “-//IETF//DTD HTML 2.0//EN”><html><head><title>401 Authorization Required</title></head><body><h1>Authorization Required</h1>This server could not verify that youare authorized to access the documentrequested.  Either you supplied the wrongcredentials (e.g., bad password), or yourbrowser doesn’t understand how to supplythe credentials required.</body></html>

    Can someone please take a look? Looks like I’m chasing my tail. Any help would be appreciated.

  • #9 / Apr 02, 2012 5:13pm

    Shane Eckert

    7174 posts

    Hello AniM,

    I would like to back up a bit.

    I would like to know what that 500 error is. Can you get that error to be thrown again and then check your server logs? Apache access and error would be awesome to get. That will tell us what is going on.

    I do not get that same error. I am unable to reproduce the same issue.

    Please let me know if you can get a peek at those logs and find the error, that will help pinpoint the issue.

    Thanks AniM.

    Cheers,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases