Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)

  • shtirlic
    Participant

    @shtirlic

    @andy did what u suggest, but still no luck

    so i have this tree

    mu (svn from branch 2.7 )

    --wp-content

    --bp-themes

    ----buddypress-member (symlink from buddypress)

    --mu-plugins

    --plugins

    ----buddypress (svn from trunk)

    ----zoneideas-bp (svn from google code)


    bp-zoneideas


    bp-zoneideas.php

    --themes

    ----buddypress-home (symlink from buddypress)

    So with this i have

    Warning: require_once(bp-core.php) [function.require-once]: failed to open stream: No such file or directory in /usr/home/shtirlic/public_html/mu/wp-content/plugins/zoneideas-bp/bp-zoneideas.php on line 13

    my line 13 as always

    require_once( \\\\\\\'bp-core.php\\\\\\\' );

    So buddypress is working, my plugin not, what to do?

    UPDATE:

    a edited this line and added this

    <br />
    require_once( BP_PLUGIN_DIR . \'/bp-core.php\' );<br />

    and now plugin is working, but there is now mention about it an docs or in example component


    shtirlic
    Participant

    @shtirlic

    Found nice guide https://codex.buddypress.org/developer-docs/installing-through-svn/

    But now i getting Failed opening required ‘./mu-plugins/bp-core.php’

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar