I am unable to view the tag/user or tag/user/(tid) page when Clean URLs is enabled. I get the "You are not authorized to view this page" error. Is this a known issue?
This is what I did:
1. Installed the User Tags module for 4.7.
2. Using CCK, created a 'user profile' content type.
3. Created a 'User profile' taxonomy category and selected the 'user profile' content type as the node type to associate with this vocabulary, Hierarchy as Single, and selected Free tagging.
4. Under Administer > Settings > User_tags, chose User profile for the vocabulary and selected to show tags on user's profile page.
5. Went to the 'tags' tab on the user's edit page. Added some terms and they showed up on the profile page.
When I click on a term, I get a white screen with the text "You are not authorized to view this page. You might not have permission to view this directory or page using the credentials you supplied." This seems different than a Drupal access permissions issue because when I get those, I usually still see the rest of the website (theme, primary links, menu, etc). In this case, I do not. When I disable Clean URLs or manually add the "?q=" prefix, I can access the page. I have not had problems with Clean URLs on any of the other pages. I looked at user_tags.module and didn't see anything that might be the problem.
This is my system setup: Drupal 4.7.6, Apache 2.2, PHP 5.2, and MySQL 5.0 on a Windows XP machine. I'm running locally so my paths would be like http://localhost/drupal47/tag/user (doesn't work)
or
http://localhost/drupal47/?q=tag/user (works)
Any suggestions? Anything would be appreciated. Thanks.
Comments
Comment #1
fiishi commentedCan someone verify whether they can reproduce this issue with 5.x or 4.7.x so I know I'm not going crazy?
I found another thread (http://drupal.org/node/143815) where the person described the same problem that I have, but with the Image module instead of User Tags. However, that thread did not end with a solution.
Comment #2
ekrispin commentedI have the same problem with 5.x
Comment #3
tlogan commentedI was having the same problem and was able to solve it by editing the .htaccess file.
Replcace this section...
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
With this...
# Protect files and directories from prying eyes.
<FilesMatch "\.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(code-style\.pl|Entries.*|Repository|Root|Template)$">
Order allow,deny
</FilesMatch>
The difference is that I removed "|Tag" from the list of banned words in the URL. This solved the problem for me.
Comment #4
breaklaw commentedI'm having this same issue but with all of my taxonomy terms this module include. I'm a bit reluctant to screw around with my .htaccess file because I'm kind of a noob. Please help
Comment #5
pomliane commentedThis version of User Tags is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.
This issue has been automagically closed by a script.