View Full Version : Users denied access
harosan
11-08-2007, 09:11 AM
Hi all... haven't been back in a while... meaning everything running nicely. Then..
User tries to login
Gets home page setup your drupal account
Sometimes login box empty
Logs in gets welcome message, but home pg still setup drupal account
Tries to access content gets you don't have permission
I deleted my cache and I mean everything, but it always "remembers me" so it's hard to reproduce above. I can't get it to log me out
Also tried to check fix tables in vB maint. stays at please wait
Seems like anyone with admin role can access
Hate to be so nebulous but really weird stuff happening.
Goddess
11-08-2007, 09:50 AM
Hate to be so nebulous but really weird stuff happening.
i can't give you too much help, other than it sounds like cookie problems to me. i'd check everything related with cookie settings, and when you flush your cache, make sure you get cookies too and close your browser completely before retrying it.
look at your vb cache settings as well. may not be the issue, but something's off, as you mentioned. :)
i'd also look in htaccess to see if anything is weird, and possibly try replacing .htaccess with a backup/clean copy to see if it makes a difference.
anyway, not terribly speicific help, but those are the places i'd look first if i were trying to troubleshoot it.
harosan
11-08-2007, 09:55 AM
Thanks for jumping in so fast... cookies are weird... the only way even I can log in is to mark "remember me". Without it, it says "thanks for logging..." but vbdrupal doesn't know it.
Goddess
11-08-2007, 10:03 AM
Thanks for jumping in so fast... cookies are weird... the only way even I can log in is to mark "remember me". Without it, it says "thanks for logging..." but vbdrupal doesn't know it.
ok, so it's probably the cookies, then. i don't know off the top of my head what it probably is and don't have the time to help you research it at the moment.
which side can you get into?
i do know that when i've had weird cookie settings in the past, there have been times that i've logged into one side to get access to the other side (i.e. if i could get into vb but not drupal, i'd logged into vb and then accessed the drupal side and vice versa) to poke around in the admin for whatever i needed...for whatever it's worth, that is.
harosan
11-08-2007, 10:08 AM
I remember you from earlier posts. Thanks... I'll track it down... have a happy!
harosan
01-22-2008, 08:24 AM
I had a mini-personal crisis back in Nov. and haven't been able to get back to problem until last couple of days... As you might expect this puts me under the gun... I have about a week left before "go live". I've looked at every setting I can find, deleted history and cookies. Nothing works. Using admin login I am very happy with the look-n-feel and functionality.
:D Given timeframe, I could make everyone an admin.. BAD IDEA HUH? :D
Symptoms:
As admin I can log in to either vBulletin or vbDrupal and have no problems. (see drupalok.gif attached). However, when I use any other permission level I get a "configure drupal" page (see drupalBad.gif attached).
The .htaccess is the one that came w/ vbDrupal w/ 1 line changed:RewriteBase /home/hgbiggio/www/forum/drupal
I'm past my experience level and don't know where to even look. Any help would be appreciated.
Goddess
01-30-2008, 02:17 PM
sounds like you have two issues here...
question- do you really have drupal installed in the directory named "forum/drupal/" -using the forum as your domain home? because that's supposed to work out of the box that way, and the rewrite base in the .htaccess is only to tweak if your rewrite rules (like for clean urls) aren't working in that case. i am not 100% on rewrite, but if you do need to uncomment that line, i'd try doing it the same way as the example in the default .htaccess, not the full path. and you probably realize this, but this .htaccess needs to be within your drupal directory.
if you just randomly tried uncommenting that line to address login issues, i'd put it back to default. then look at cookie settings- cookie settings for different directory structures are shown here (http://vbdrupal.org/installing_vbdrupal/cookie_path_and_domain), as you've probably reviewed. with the default .htaccess, can you log in as non-admin?
the login problem is most likely different from the "welcome to drupal message" - for that, log in as admin, and check to make sure anon and regged users have permissions to view some the content type that is currently published and promoted to the front page. this has to be done for each type of node...go to your admin/user/roles area and choose "edit permissions" to see what users other than admin have permission to see.
if there are no published node types that non-admins have permissions to view, you'll see the "welcome to drupal message." if you're using a view or panels or somethign for the home page, it still applies that there has to be some node marked promoted to front page that the usergroup in question has permission to view.
hope that helps.
harosan
01-30-2008, 02:39 PM
I think I've tried every permutation of .htaccess that God invented, but when I get back from USPS I'll go through the exercise again... can't hurt... If I login as anyone but admin in forum and go to drupal you get screen I documented and there is blank login. If you try to login from there you get .../drupal/index.php error.
I'll also check again on the permissions... although I've been all over that too.