Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Installing BP from git/svn


  • jreeve
    Participant

    @jreeve

    I’d like to try out the latest BuddyPress from GitHub, but I can’t quite get it to work, I think because the version from git/svn is in a subfolder, so that bp-core is in /buddypress/src/bp-core instead of /buddypress/bp-core. This seems to be mitigated by bp-loader.php which points to the src/, but it isn’t quite working for me. I’ve been getting the error:

    PHP Fatal error: require_once(): Failed opening required '/vagrant/app/public/wp-content/plugins/buddypress//bp-themes/bp-default/_inc/ajax.php' (include_path='.:/usr/share/php:/usr/share/pear') in /vagrant/app/public/wp-content/themes/cbox-theme/engine/ICE/ext/features/bp/support/class.php on line 116

    Even though I’ve already cloned a copy of the bp-default theme to /bp-themes/bp-default. The offending line 116 shows that it uses the BP_PLUGIN_DIR constant, and it looks like that constant is /vagrant/app/public/wp-content/plugins/buddypress/bp-themes, without /src/, but adding /src manually to the constant gives me a different error: PHP Fatal error: Call to undefined function bp_get_option() in /vagrant/app/public/wp-content/plugins/commons-in-a-box/includes/frontend.php on line 62.

    I also tried cloning BP elsewhere, and symlinking it to /wp-content/plugins, but that didn’t seem to work, either. Is there a reliable way to check out the latest BP code in my dev environment?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Resolved] Installing BP from git/svn’ is closed to new replies.
Skip to toolbar