Closed (duplicate)
Project:
Drupal core
Version:
4.7.3
Component:
profile.module
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Jul 2006 at 04:22 UTC
Updated:
11 Oct 2006 at 03:43 UTC
Jump to comment: Most recent file
Comments
Comment #1
bobzemuda commentedadditional info:
i notice in the mysql database that where others users have a number under the access and login entries, these users both just have 0.
Comment #2
RobRoy commentedI went to http://www.runstlouis.com/node/10 and could see the page. What is the issue here?
Comment #3
bobzemuda commentedi said node when I meant user. Sorry about that
http://runstlouis.com/user/10
http://runstlouis.com/user/11
http://runstlouis.com/user/15
can not be seen by anyone except for me when logged in as admin. Other users can be viewed, however.
Comment #4
RobRoy commentedGo to administer > access control as the admin user. Do you have 'access user profiles' checked under the 'anonymous user' role?
Comment #5
bobzemuda commentedCurrently I do have annoymous users checked.
either way though, these three profiles are not viewable. They come up as "Requested Page Not Found" for anyone trying to access them but me logged in as admin.
Comment #6
mlncn commentedI have the same issue. Drupal 4.7.2, I also have CiviCRM in use but I don't think that's related. As an admin I can see all users, but as a regular user some other users -- though listed in the www.example.com/profile (user list) page -- cause a "page not found" error.
Comment #7
chx commentederm let me guess are those users blocked?
Comment #8
mhutch commentedI can repro this. It happens for only one of my users, who happens to be the only one with 'last access'='never'.
Admins can see the page fine.
Comment #9
subsander commentedI noticed a difference too, that users who subscribed themselves through the form on the user/register were visible immediately, but users created through the administrator-interface were not.
An immediate fix is to set a default value greater than 0 for the 'access' field of the 'users' table in the database, or go through the user entries and put the value for 'created' in the 'access' field.
But perhaps the functionality the way it works officially, was meant to function like that: hide users who have never been logging in to the site.
Unfortunately the message 'page not found' isn't very neat in that case, but there might be an easy way to replace that.
Comment #10
mhutch commentedThis is being patched in another issue: http://drupal.org/node/84490
Comment #11
mhutch commentedActually the way they're looking at fixing it in that issue will require patching profile.module, to exclude users who've never logged in from the profile listings.
Comment #12
mhutch commentedHere's a quick fix that hides users from profile listings if they've never logged in, or if they're blocked. I think the reason that user.module will not display such users is to help prevent profile spamming.
Comment #13
mhutch commentedOops, forgot to change status.
Also I forgot, the profiles should be listed if the user viewing the page has the "administer users" permission, because in that case they can view the profiles. It's not such a big deal in the profile listings though.
Comment #14
beginner commentedI just noticed this issue. It is a duplicate of this one: http://drupal.org/node/87540
I close this issue because the patch here does not follow the patching guidelines. The patch attached to the other issue is basically the same, but properly formatted.
Can you review it, and set it as Ready to be Committed? The sooner it gets into HEAD, the sooner it will be backported to 4.7.