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

dagomar’s picture

Sorry,

the url shown is obviously on my home server. It got made into a link automatically.

mercmobily’s picture

Hi,

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.

dagomar’s picture

Hi 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.

mercmobily’s picture

Status: Active » Fixed

Hi,

What a bugger to squash.

OK, done.

Merc.

dagomar’s picture

###
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.

mercmobily’s picture

Hi,

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.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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

thelocaltourist’s picture

I'm still having this issue. I'm created a block using this code:

print friendlist_ui_user_links($account);

It gives me a 404 error.

Also, the friendlist actions to the content's author doesn't work (blank).

Thanks!

mercmobily’s picture

Hi,

Please open a new issue explaining precisely how to reproduce the problem, what links you are getting, etc.

Merc.