Skip to:
Content

BuddyPress.org

Opened 11 years ago

Closed 11 years ago

Last modified 6 years ago

#3772 closed defect (bug) (fixed)

Can't activate bp-default

Reported by: boonebgorges's profile boonebgorges Owned by:
Milestone: 1.6 Priority: critical
Severity: normal Version:
Component: Templates Keywords: has-patch dev-feedback
Cc:

Description

I can't activate the current rev of bp-default r5394 on the trunk. I get a 'Current theme is broken' error, and I'm reverted to the default theme. Works OK on the 1.5 branch, so if I switch over, activate, then switch back, everything's OK.

Attachments (1)

3772.01.patch (444 bytes) - added by boonebgorges 11 years ago.

Download all attachments as: .zip

Change History (8)

#1 @boonebgorges
11 years ago

  • Severity changed from critical to normal

On further examination, it looks like the problem arises from the fact that the bp-themes directory is being registered with WP using a path generated by plugin_dir_path(), and my installation is set up in such a way that plugin_dir_path() is broken. See #WP16953.

#2 @boonebgorges
11 years ago

  • Priority changed from normal to critical

As jjj noted in IRC, this will affect IIS installations as well. Bumping priority accordingly.

See also https://bugs.php.net/bug.php?id=46260, groan.

#3 @boonebgorges
11 years ago

In r5405 I fixed BuddyPress::setup_globals() so that, at the very least, BP_PLUGIN_DIR and BP_PLUGIN_URL are respected. With this in place, I can activate bp-default by manually defining BP_PLUGIN_URL in my wp-config.php file. This is not acceptable as a permanent workaround, but at least it lets me carry on with development :)

#4 @boonebgorges
11 years ago

  • Keywords has-patch dev-feedback added

3772.01.patch is my suggested fix. It essentially reverts to the current method for setting BP_PLUGIN_DIR.

#5 @hnla
11 years ago

Is this just a problem with upgrading sites then? as it's reported to me that new install appears to work ok but I don't have detail on that - but will test when have a spare moment.

#6 @boonebgorges
11 years ago

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

Fixed in r5566.

#7 @DJPaul
6 years ago

  • Component changed from Appearance - Template Parts to Templates
Note: See TracTickets for help on using tickets.