Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress links for new users: \"The page you were looking for was not found.\"


  • cratercraver
    Participant

    @cratercraver

    Hi,

    I was cleaning up my WPMU/BuddyPress install today and somehow caused none of the main tabbed links (“Blog”, “Members”, “Groups”, “Forums”, and “Blogs”, specifically) to work for any blog other than the main blog directory (for which the links work fine).

    I think this may have happened because I was deleting theme folders I thought were unused. At this moment, I only have the following two theme folders within /wp-content/themes/ :

    bp-default, and

    bp-sn-parent

    Obviously, bp-default is the one that is activated (my only choice).

    I have tried deactivating and reactivating this theme, as well as deactivating and reactivating the entire BuddyPress plugin, but I still get the message “The page you were looking for was not found.”

    Does anyone know why the aforementioned links give this error message for all blogs except the main blog?

    Thanks in advance for help!

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

  • cratercraver
    Participant

    @cratercraver

    Update. By comparing my site’s BuddyPress-generated tabbed links “Blog”, “Members”, “Groups”, “Forums”, and “Blogs” to those for other sites, I was able to pin-down specifically what was wrong—but don’t know the fix.

    My main blog structure was such that the main blog was at:

    http://mysite.com

    …and a member blog would be at:

    http://mystite.com/memberblog

    All the aforementioned BuddyPress-generated tabbed links “Blog”, “Members”, “Groups”, “Forums”, and “Blogs” were failing because the links specifically for the memberblog because “/memberblog” was being added to each of those links (if I removed the “/memberblog” part of the links then the links would go to the right place).

    I tried everything I could think of to solve the problem (code reinstalls, database deleting and reinstallation, removing all plug-ins, etc), and *nothing* fixed the problem.

    Interestingly, when I finally tried reinstalling using the http://memberblog.mysite.com site structure, those various memberblog Buddypress tabbed linked worked just fine.

    Is it possible that BuddyPress has a bug specifically for that mysite.com/memberblog structure?

    I’m going to stick with the memberblog.mysite.com structure because I don’t have currently have the coding experience to get into addressing the issue, and I’m happy enough with the subdomain approach in any case. I just wanted to let folks know that there might be a problem… or perhaps somehow it is something particular to my setup—although everything else worked just fine.


    cratercraver
    Participant

    @cratercraver

    BTW, although my first post mentioned that I must have made a change that caused the links to “break,” it was a new site so I was *assuming* that the links must have worked originally and so I thought I must have made a change to themes (or something else) that caused the problem.

    However, since I subsequently saw the same behavior with a completely fresh install (starting with no database and an empty public_http directory, I’m now thinking that those particular BuddyPress links were probably never working.


    John James Jacoby
    Keymaster

    @johnjamesjacoby

    I think you’re over-thinking this a little bit.

    bp-default assumes that it is the “home” template, and nothing more. It assumes that user blogs will use other templates that you either create yourself, supply to them, or that they can install via the Appearance item in the site admin.

    The only way to trick this into working is by putting…

    define( 'BP_ENABLE_MULTIBLOG', true )

    …either in wp-config.php or /wp-content/plugins/bp-custom.php. This still probably isn’t really what you’re trying to do, but it will get you where you want to be without modifying the core templates. If you’re using a custom template, then it’s as easy as modifying the header.php to always link back to the root blog components and pages that you want it to.


    Pancho Perez
    Participant

    @lonchbox

    Hi,

    John, I can´t find the bp-custom.php on the buddypress plugin folder. Whe I try putting the code of define on the wp-config.php I recive an error os sintax (my be is because i´m not a programmer so don´t know where to write it)

    Can you help me?

    Cheers!


    @mercime
    Participant

    @mercime

    You can add the code in wp-config.php right after “The Database Collate type…” section of the file


    Pancho Perez
    Participant

    @lonchbox

    Much thanx!

    It work perfectly! :)

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘BuddyPress links for new users: \"The page you were looking for was not found.\"’ is closed to new replies.
Skip to toolbar