Skip to:
Content

BuddyPress.org

Opened 16 years ago

Closed 15 years ago

Last modified 15 years ago

#697 closed defect (bug) (fixed)

Error loading Messages javascript when BP installed with symlinks

Reported by: djpaul's profile DJPaul Owned by:
Milestone: Priority: major
Severity: Version: 1.0
Component: Keywords:
Cc:

Description

WPMU 2.7.1.
BP RC-2.
URL: http://example.com/members/admin/messages
OS: Mac OS X

WPMU PATH: /Users/Paul/Sites/example.com/
BP PATH: /Users/Paul/Sites/buddypress/

BP is sym-linked (ln -s) into wp-content/plugins/, and the themes are also sym-linked into their correct directories.
Dirname() doesn't account for sym-linked paths.

ERROR FROM APACHE LOG:
[Sat Apr 25 14:57:30 2009] [error] [client 127.0.0.1] PHP Warning: require_once(/Users/Paul/Sites/buddypress/bp-messages/js/wp-load.php) [<a href='function.require-once'>function.require-once</a>]: failed to open stream: No such file or directory in /Users/Paul/Sites/buddypress/bp-messages/js/general.php on line 3, referer: http://example.com/members/admin/messages
[Sat Apr 25 14:57:30 2009] [error] [client 127.0.0.1] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/Users/Paul/Sites/buddypress/bp-messages/js/wp-load.php' (include_path='.:/usr/local/php5/lib/php') in /Users/Paul/Sites/buddypress/bp-messages/js/general.php on line 3, referer: http://example.com/members/admin/messages

Change History (3)

#1 @apeatling
16 years ago

  • Milestone changed from Private Messaging 1.0 to Private Messaging 1.1

Moving this to 1.1, the way this works as a whole needs to change.

#2 @apeatling
15 years ago

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

This should not be an issue in 1.0.1

#3 @(none)
15 years ago

  • Milestone Private Messaging 1.1 deleted

Milestone Private Messaging 1.1 deleted

Note: See TracTickets for help on using tickets.