Skip to:
Content
Pages
Categories
Search
Top
Bottom

Profile pages being redirected to signup page

  • Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Hello,

    I’ve just installed BuddyPress in a sub-directory i.e. example.org/buddypress/ (not sub-domain). Everything seems OK with the blogs, but I’m finding that the members and groups pages are being redirected to the blog sign-up page /wp-signup.php?new=blahblah

    Does BuddyPress run in a sub-directory? I’ve had it working on a sub-domain before without a hitch.

Viewing 25 replies - 1 through 25 (of 25 total)
  • Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    I should add that I’m running everything off the latest trunks.

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Actually, it’s redirecting like this:

    /testbp/wp-signup.php?new=testbpmembersadminsettingsgeneral

    for example, when I click on

    /testbp/members/admin/settings/general

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    I must be doing something wrong here. Clicking on the links to News, Members, Groups or Blogs, all result in a redirect to wp-signup.php as shown above.

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    It’s as if BuddyPress is not installed and WPMU is finding no blog at the URL so redirecting the user to signup. However, BuddyPress is installed and partially working (the options show up in the Site Admin menu).

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    It should work in a subdirectory just fine, I tested this again today.

    What version are you running of WPMU? Are you using the trunk of BP?

    Any plugins? Using default themes?

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Everything is fresh from SVN trunk about two hours ago. No plugins, no themes, new DB. I tested WPMU with a new blog and edited a post, then installed the BP plugins and themes. It’s as if WPMU doesn’t recognise it’s there.

    For example:

    http://example.com/wpmu shows the BuddyPress Home page

    http://example.com/wpmu/testblog shows the initial test blog

    http://example.com/wpmu/members

    http://example.com/wpmu/news

    http://example.com/wpmu/groups – WPMU is treating these like normal and when not finding anything at the URL, is re-directing to wp-signup.php

    i.e. http://example.com/wpmu/wp-signup.php?new=wpmunews

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    exact same probs here.. everything is from the trunks.. something has gotten screwed up in the trunk eds.. cos i was using the release till yday for all and tho the forums problem cropped up, everything else worked sweet… wait ill just deactivate all plugins and see..

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    o and i think i have found the cause of the problem.. the member-theme selection in the buddy press options(sitewide admin) shows themes from my themese directory(the buddypresshome and other standard wpmu themes) instead of showing the buddypress-members theme. iv been checking the code and well i cant really place my finger on it..

    function bp_core_get_member_themes() {

    add_filter( 'theme_root', 'bp_core_set_member_theme_root' );

    $themes = get_themes();

    if ( $themes ) {

    foreach ( $themes as $name => $values ) {

    $member_themes[] = array(

    'name' => $name,

    'template' => $values

    );

    }

    }

    return $member_themes;

    }

    function bp_core_set_member_theme_root() {

    return WP_CONTENT_DIR . '/member-themes';

    }

    function bp_core_set_member_theme_root_uri() {

    return WP_CONTENT_URL . '/member-themes';

    }

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    the funny thing is tht the code seems right. i dont see a call to any other functions so this entirely baffles me..

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Well, I’m glad someone else has seen this. I don’t see this though:

    the member-theme selection in the buddy press options(sitewide admin) shows themes from my themese directory(the buddypresshome and other standard wpmu themes) instead of showing the buddypress-members theme.

    It’s got to be something in the theme though because I’m running another install using trunk for everything except the themes and it’s running fine.

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    No, that’s not it. I’ve just replaced the themes in trunk from today with the themes from trunk a couple of weeks ago which are working on my other install and I get the same problems.

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    ok lol.. ill try tracing this backwards.. see where else this might connect to.. dont think i cld do much.. am not a php coder.. :D.. tho the logic is the same as coding in a low level language so i can find code but not hack it.. lol.. i need to learn php..

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    no it has nothing to do with the theme but with the bp-core plugin itself… its calling up wrong paths as far as im concerned.. wait ill update with today’s svn and check..

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Lets try and see what’s common here. You both have:

    - Subdirectory installs of mu.

    - You both are running the bp home theme on blog id 1.

    - Attempts to run ‘members’, ‘news’, ‘groups’ or ‘blogs’ in the member or home theme results in a redirect to wp-signup.php.

    - You have the latest trunk versions of wpmu 2.7 and bp.

    Is this correct?

    How about some links to your sites that we can look at and reproduce the problem.

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Yes, to all of the above. Blog creation works. All user-side BuddyPress features redirect to the signup page. i.e. click on ‘news’ and you get sent to:

    http://example.com/wpmu/wp-signup.php?new=wpmunews

    Everything under ‘My Account’ and ‘Notifications’ is similarly affected.

    From the Admin Dashboard, things work as expected.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    Links. Need links to the live problem.

    Avatar of Burt Adsit
    Burt Adsit
    Participant

    @burtadsit

    This sounds like a wpmu config problem. Check to see that you have done all of the README.txt instructions to the letter. Leaving out nothing. Just because blog creation works doesn’t mean your config works. Apache has to be setup correctly.

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    Avatar of Joss Winn
    Joss Winn
    Participant

    @josswinn

    I am running two other wpmu installs on the same box. One in sub-dirs, the other on vhost in subdomain. Apache should be fine.

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    well there is one difference.. im not running it in subdirectory. mines main install.. and yeah ill take a look into the config file but dont see what cld have gone wrong.. im going to attempt using bp beta 2 and see what happens and then see what happens..

    shit i better set up my xampp for this.. hmmm…

    site: http://nspalumni.co.cc/

    Avatar of Theusurper
    theusurper
    Participant

    @theusurper

    well yea it has something to do with the configuration of the server.. cos well it all works just fine on my system… something wrong with the host.. lol..

    Avatar of Dhargraves
    dhargraves
    Participant

    @dhargraves

    theuseruper – thanks for pointing me over here, although I still don’t have any answers, I’m having a similar problem.

    http://buddypress.org/forums/topic.php?id=957

    I don’t think it’s my server, as my site was working great for months before I upgraded.

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    This WPMU changeset has broken things.

    There may be no solution to this until after the next beta/final of WPMU 2.7.

    For now it is possible to fix this problem by removing lines 129-141 inclusive in wpmu-settings.php.

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Avatar of Dhargraves
    dhargraves
    Participant

    @dhargraves

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

You must be logged in to reply to this topic.