Hello,

I have a problem with the latest version. To view the profile only works for the admin. Every other user have a "access denied" (still when they have access to some fields) when they go to other profiles...

Best regards
Frank

Edit: I see the the site is displayed on the bottom again with the error message in the screen-shot.

Comments

fraweg’s picture

StatusFileSize
new29.62 KB

Here is the screen-shot...

Best regards
Frank

jyee’s picture

Priority: Normal » Critical

bumping this up to critical. I have this partly resolved on the master git branch, but the double page load still needs work.

jyee’s picture

Status: Active » Fixed

This should be fixed in the latest 7.x-1.3 release that will be available soon.

fraweg’s picture

Thanks! This seems to work for me...

Best regards,
Frank

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

jim005’s picture

Waaa ! After a full days of search of this f*** bug, I found that this module is causing the issue.
The User page $title was replaced by "Access Denied" here the dblog :
Notice : Undefined index: #title dans template_preprocess_user_profile_category() (line 226 dans .../modules/user/user.pages.inc).

thanks for your investigation.
Profile2 Privacy 7.x-1.2 / Drupal 7.14

Just disabled it then, everything works again, as I hadn't used this module yet.

areynolds’s picture

This issue has not been resolved, for the most recent queue, see http://drupal.org/node/1540176

jyee’s picture

@websenso_com This module intentionally sets the title to access denied. It sounds like you enabled the module, but had not configured it properly (or at all), which would easily lead to the access denied.

@areynolds The issue you link to is completely unrelated. If you do not have profile2 privacy enabled, then your access denied issues are being generated elsewhere.

Reiterating that this issue is fixed and closed.

oystercrackher’s picture

Status: Closed (fixed) » Active
StatusFileSize
new51.49 KB

This issue has not been resolved! I have privacy configured and am still getting "Access Denied" when a user tries to view another user's profile. Note:***In addition to the Access Denied message, the user trying to view another user's profile CANNOT view the user fields associated with that user's profile; the user who owns the profile and administrator can view/edit the profile fields and does not get Access Denied error. Screenshots are attached.

Thanks

jyee’s picture

@oystercrackher: Can you post information about your profile2 privacy settings? The administrator user always has access to profiles, because that's a hard coded exception to Drupal's user_access() function. The user always has access to their own profile, because that's a logical hard coded setting in this module. Everyone else must have access provided by their user role, the access configurations you have set and the privacy level selected by the viewed user.

oystercrackher’s picture

StatusFileSize
new205.52 KB

@jyee: Privacy settings are attached. Please advise on your thoughts.

Thanks so much!

jyee’s picture

Category: bug » support
Priority: Critical » Normal

@oystercrackher: That screenshot is of your general Drupal permissions, not the Profile2 Privacy settings. If you go to the main project page, please reference the Installation section. In particular, steps 2 through 6.

oystercrackher’s picture

Status: Active » Closed (fixed)

@jyee: Thank you!!! I did not have all roles privacy configured; also, the profiles in question needed to be saved with new privacy settings as they were created before privacy was enabled. Once finished, all worked fine.

Thanks so much again :)

Uzo’s picture

#12 fixed it for me too.
@jyee, Thanks.

Uzo’s picture

Issue summary: View changes

more info