Closed (fixed)
Project:
FriendList
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Sep 2008 at 06:46 UTC
Updated:
14 Jan 2009 at 23:25 UTC
On my home server i have a bug in my cleanly installed friendlist (Drupal - friendlist - views).
When i want to add a user as a friend i get redirected to a wrong adres, as can be seen in this url:
http://192.168.0.191/testserver/mysite/friendlist/add/3/1?destination=/t...
I am not 100% sure if this is friendlists fault, i am now checking the setup of the site. Any thoughts though are much appreciated.
Comments
Comment #1
dagomar commentedSorry,
the url shown is obviously on my home server. It got made into a link automatically.
Comment #2
mercmobily commentedHi,
Please provide a step-by-step guide on how to reproduce this, especially indicating:
* The root directory, URL-wise, of your Drupal site
* The url of EACH single step as it appears in the address bar
Please be as detailed as possible. Really. There is never, ever too much details in a description.
Thanks!
Merc.
Comment #3
dagomar commentedHi Merc,
Root directory of my drupal install:
http://192.168.0.191/testserver/mysite/
user page:
http://192.168.0.191/testserver/mysite/user/4
Add to friends link:
http://192.168.0.191/testserver/mysite/friendlist/add/4/1?destination=/t...
I end up here:
http://192.168.0.191/testserver/mysite//testserver/mysite/testserver/mys...
After this i get a page not found, with the message "Request has been sent successfully.".
Seems to go wrong with the destination.
Comment #4
mercmobily commentedHi,
What a bugger to squash.
OK, done.
Merc.
Comment #5
dagomar commented###
Never mind i found the link to CVS :P
###
Hi,
i was looking around in the friendlist module a lot, just out of interest, where did u find the solution?
Thanks.
Comment #6
mercmobily commentedHi,
Look at the function:
function friendlist_ui_destination() {
In friendlist_ui.module . I changed it... I need to take the base() out of the equation. It's the only way to keep the urls aliased nicely, and yet not have a file_not_found...
Merc.
Comment #7
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.
Comment #8
thelocaltourist commentedI'm still having this issue. I'm created a block using this code:
It gives me a 404 error.
Also, the friendlist actions to the content's author doesn't work (blank).
Thanks!
Comment #9
mercmobily commentedHi,
Please open a new issue explaining precisely how to reproduce the problem, what links you are getting, etc.
Merc.