Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#814 closed defect (bug) (no action required)

when trying to add a friend, bp tries to load wp-load.php from /$base/$base instead of just $base

Reported by: whyameye's profile whyameye Owned by:
Milestone: 1.1 Priority: major
Severity: Version:
Component: Keywords: wp-load friend $base
Cc: whyameye

Description

WPMU 2.7.1
BP 1.0.2
PHP 5.2.9

relevant info from wp-config.php:
$base = '/wpmu-2.7.1/';
define('PATH_CURRENT_SITE', '/wpmu-2.7.1/' );


initially when trying to do friend requests, my browser would hang with a spinning wheel and the request would never be completed. Firebug showed me that bp was requesting /wpmu-2.7.1/wpmu-2.7.1/wp-load.php when it should have been requesting /wpmu-2.7.1/wp-load.php

My workaround was to create a directory inside /wpmu-2.7.1 called /wpmu-2.7.1 and add a symbolic link inside that new directory i.e.
"ln -s ../wp-load.php wp-load.php".
This solved the symptom.

Thx,

-John

Change History (4)

#1 @whyameye
15 years ago

  • Cc whyameye added

#2 @apeatling
15 years ago

  • Milestone set to 1.0.4

#3 @apeatling
15 years ago

  • Milestone changed from 1.0.4 to 1.1

Milestone 1.0.4 deleted

#4 @apeatling
15 years ago

  • Resolution set to invalid
  • Status changed from new to closed

This is a WPMU thing, you will need to modify the 'home' setting in the DB to remove this value, otherwise site_url() will return an incorrect value. Worth bringing up on the MU trac.

Note: See TracTickets for help on using tickets.