I am creating a drupal site. Everything is going well. As the first user (user 1) I can access all features and when I go to "My Account" (hxxp://www.domainname.com/user/1 ) I see my account page.
However, a new user registers, and upon loging in for the first time, specifying a password, they then get "404 Error - File not found!" and it's a server error page, not a drupal error page. They are actual logged in, can view and create pages but can't access their "My Account" page. If the user name is 'Test', then the my account link is hxxp://www.domainname.com/users/test but even if I try .../user/2 (or whatever their user number is) , the url is rewritten and I get "404 Error - File not found!".
Update:
I've just found that the "URL alias" was set for user/2 as users/test, when I changed the alias to user/2 the user can now see their account page. Next trick is to find out what is setting that alias in the first place (I wonder if it is the pathauto module), and why the alias doesn't work no matter what it's set as.... perhaps you just can't have aliases for the users account page.
Comments
Pathauto
It was definitely the Pathauto module. I disabled it, created a new user and could access the account page fine.
The default setting in Pathauto for Pattern for user account page paths is 'users/[user-raw]' . Why this shouldn't work anyway is a mystery to me but that's a conversation in the pathauto support thread.
I would assume setting the default to 'user/[uid]' will work, but less URL friendly :P
Sack