Before D6 I could do it, but now with Drupal 6.2 it's impossible to create an alias for user/register while connected as an administrator, the error message is "The path 'user/register' is either invalid or you do not have access to it." and of course I can't go to user/register because I'm already connected.
So the solution is what? A very stupid one, so this is the proof that this is a BIG BUG from Drupal 6...
The solution is to temporarily give path module administration rights to the anonymous user, so that you can set up an alias while not being connected (and so having access to user/register) and then once it's done, remove the administration rights from the anonymous user.
See how stupid?
Why a double bug? Because there are 2 permissions for the path module, administer path and create path. Create path is totally useless, give it to the anonymous user and it still can't create a path. It needs the administer permission to create path, but it doesn't need the create path permission at all, administer is enough to create, modify and delete, but the create permission on its own just doesn't work as intended.
See, double bug here...
I know the third bug is that I'm not posting where I should... But I guess if clever developers can introduce bugs so stupid, I can be very stupid too it won't show too much.
Comments
Same bug of course with
Same bug of course with :
user/password
the message is still the same : The path 'user/password' is either invalid or you do not have access to it.
because when you are an administrator trying to setup URL aliases, of course you're already logged in and you can't access user/password to request a new password...
Will this be corrected in Drupal 6.3 ? Where should I complain about it?
Workaround
you could add it manually to your database through phpmyadmin. Just so you know, if you didn't already.
Thank you for the database
Thank you for the database insert tip.
I only had to do it for one site, so I did it the way I explained in the post, to test if the bug was coming from where I think it was.
I haven't checked to see if the bug is still present after so many updates since D6.2
Cheers,
Still present in D6.10
Still present in D6.10
Still present in D6.12
Still present in D6.12
--
Petiar
http://petiar.sk
Why it's so difficult to let
Why it's so difficult to let admin set those paths ?
I am just coming back from phpmyadmin..
Drupal 6.13
I think if the issue is that
I think if the issue is that problematic for folks then someone might want to post an issue against the drupal core. I believe that is correct since the path module is included with core.
See also
See also http://drupal.org/node/190867
Another workaround is to use
Another workaround is to use an absolute path (http://www.example.com/user/register).
The issue is allready fixed in Drupal 7 (see #190867: Remove access check for anonymous users when creating aliases) and is now waiting to be backported to Drupal 6. Please go there to help with code or testing a patch. Remember the issue queue is a place to help, not to just complain.
KOBA - Drupal Webdesign & Webdevelopment
Thanks so much
I was stuck for days on this problem. Thanks so much :)