Skip to:
Content

BuddyPress.org

Opened 15 years ago

Closed 15 years ago

#160 closed defect (bug) (fixed)

Group creation/access error when running custom theme as wpmu root blog

Reported by: burtadsit's profile burtadsit Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords: groups
Cc:

Description

When running a theme other than the bp home theme group creation crashes at the end of step three. Also can't access any group from the member theme if I'm not running the bp home theme in the wpmu root blog. Error is:

[Tue Nov 11 04:25:26 2008] [error] [client 98.209.34.200] PHP Fatal error: require_once() [<a href='function.require'>function.require</a>]: Failed opening required '/var/www/vhosts/ourcommoninterest.org/httpdocs/wp-content/themes/buddypress-member/library/core.php' (include_path='.:') in /var/www/vhosts/ourcommoninterest.org/httpdocs/wp-content/themes/tarski/functions.php on line 11, referer: http://ourcommoninterest.org/members/admin/groups/create/step/3

The '../library/core.php' in the path is tarski doing this:

require_once(TEMPLATEPATH . ’/library/core.php’);

After running the bp member stuff to create a new group we are going back to tarski. When it comes back, TEMPLATEPATH is set to bp member theme path.

So in the beginning there was the tarski TEMPLATEPATH. Then bp member theme runs and for some reason it’s handing off resolution of any URI path mysite.org/groups back to wpmu and the theme. If and only if something other than the bp home theme is activated.

Change History (1)

#1 @apeatling
15 years ago

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

This should be fixed in the latest builds.

Note: See TracTickets for help on using tickets.