I've been running Drupal on my site, http://www.omegaseye.com/drupal, since August. I've used version 4.6.2 and I haven't upgreaded yet.

Some of my users are randomly being denied access to various parts of the site. Sometimes this problem fixes itself when they change their usernames/passwords, but often they've had to recreate their accounts.

Also, some of my users log out every time they posts a comment or a new submission. How can I fix these two things? While not ruining my site, they are a huge pain for both me and my members.

Comments

onionweb’s picture

it's probably because your site can be accessed both as

http://omegaseye.com/drupal/

and

http://www.omegaseye.com/drupal/

the user cookie set by drupal is for one or the other but not both.

put

RewriteCond %{HTTP_HOST} !^www\.omegaseye\.com
RewriteRule ^(.*) http://www.omegaseye.com/$1 [R=301,L]

in the rewrite section of .htaccess to force alwwways having "www" and the problem will go away.

rory--’s picture

Okay, that semed to work. Thanks so much for your help.

morbus iff’s picture

Status: Active » Fixed
Anonymous’s picture

Status: Fixed » Closed (fixed)