Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I have basic mutual relationship between Authenticated User(uid = 22) and Administrator (uid=1).
In site.com/user/22/relationships
Clicking on 'Remove' operation on relationship redirects to
site.com/user/22/relationships/26/remove?destination=user/22/relationships
which generates Page not found.
Also the same 404 effect is in
site.com/relationships
Remove redirects to
site.com/relationships/26/remove?destination=relationships
I have created another issue, which can be related to this one. #1325918: Strange relationships list
Comment | File | Size | Author |
---|---|---|---|
#1 | 1325908.patch | 515 bytes | jherencia |
Comments
Comment #1
jherencia CreditAttribution: jherencia commentedIt happens too with D6 version, as explained here: #913510: Unable to remove friends.
This patch fixes implements the aproach provided by @travist in that issue.
Comment #2
netourish CreditAttribution: netourish commentedThanks jherencia and Toktik, It worked.
Comment #3
ali1987 CreditAttribution: ali1987 commentedHi,
I'm new to drupal and don't know programming. can u please
explain the hack (How to modify user_relationships.module directly).
I'm using godaddy shared hosting and can't apply the patch.
Thanks
Comment #4
jherencia CreditAttribution: jherencia commented@ali1987 You could edit the file manually and apply the patch, see http://drupal.org/node/534548. Afterwords just upload the changes via FTP.
Comment #5
ali1987 CreditAttribution: ali1987 commentedThanks jherencia
Comment #6
BerdirCommited, thanks for the patch.
Comment #7.0
(not verified) CreditAttribution: commentedfix