Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members, Groups, etc. not working after changing themes [Solved]

  • @tryggvib

    Participant

    I was playing around with themes on my WordPress 3.0 / Buddypress 1.2.5.2 installation and after installing one theme (I want to use Buddypress Twenty Ten) Members, Groups and all those BuddyPress pages stopped working. I have Googled around and tried the solutions I found but none seem to work (there is a possibility that I did something wrong).

    I’ve also tried to change back to bp-default but that doesn’t work. All other pages (blog posts, etc.) seem to work, just not the BuddyPress pages.

    Can anybody help me get them up and running again?

    Thanks in advance,
    Tryggvi

Viewing 11 replies - 1 through 11 (of 11 total)
  • @modemlooper

    Moderator

    Try and re-save a custom permalink stucture.

    @tryggvib

    Participant

    I’ve tried that a few times before and I tried it again just now. Unfortunately it does not work.

    @tryggvib

    Participant

    An explanation of how the slug lookup works would help a lot. I am kind of lost in the code and how it’s structured.

    @tryggvib

    Participant

    The site I get when I try to access the BuddyPress sites is my theme’s (twenty-ten’s) 404.php. So somewhere along the way the url points at the wrong place.

    My .htaccess looks like this:

    RewriteEngine On
    RewriteBase /
    #uploaded files
    RewriteRule ^(.*/)?files/$ index.php [L]
    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*
    RewriteRule ^(.*/)?files/(.*) wp-includes/ms-files.php?file=$2 [L]
    # add a trailing slash to /wp-admin
    RewriteCond %{REQUEST_URI} ^.*/wp-admin$
    RewriteRule ^(.+)$ $1/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule . - [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(wp-.*) $2 [L]
    RewriteRule ^([_0-9a-zA-Z-]+/)?(.*.php)$ $2 [L]
    RewriteRule . index.php [L]
    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>

    @djpaul

    Keymaster

    Changing the themes does not, in itself, break BuddyPress. What else did you do?

    @tryggvib

    Participant

    That’s precisely the thing, I don’t think I modified any other files. I only uploaded themes into the theme folder and activated them. Once I tried the BP theme pack which created a conflict between two files so I removed one of them but that’s all I can remember doing.

    Still, there is quite a large possibility that I made some changes I can’t remember (since I’ve been playing around a lot), which is the reason I wanted to know how the flow for URI handling in BP is. Then I could trace myself through the files and methods and see where things are going wrong (and see if I changed something).

    I have tried to delete and reinstall BuddyPress but still no positive results.

    @tryggvib

    Participant

    Hmm… I now tried removing .htaccess just to see what would happen. My first page (where I need Activity, Members, Groups, etc. to work) was unaffected. I could visit blog posts and whatnot. Then I went to some blogs on the network and all of their appearance was missing. So .htaccess only affected them and not the first page (I pressed Ctrl+R to clear the cache but nothing happened).

    I am stumped.

    @djpaul

    Keymaster

    If I get time after work I’ll write up the URI handling process, it’s not something I can knock out in 5 minutes. So, I’m assuming you’re using stock BP 1.2.5.2, and the BP-Default theme (which you do not need to move into /themes/)? And only the BuddyPress plugin active?

    @tryggvib

    Participant

    @djpaul You are a genius! :D I figured out what was wrong. I wanted to be sure I had your assumed setup and after deactivating my plugins everything worked. I had at some time activated a plugin called qTranslate (https://wordpress.org/extend/plugins/qtranslate/) which broke BuddyPress.

    So if anybody else runs into my problem, try deactivating all plugins to see if anyone of them is causing the weird behavior.

    Should a plugin like that be able to break another plugin? Do we need some sort of a plugin interoperability page to inform users what works together and what does not work together?

    @tryggvib

    Participant

    More info. This has already been pointed out at the qTranslate plugin’s page:
    https://wordpress.org/support/topic/plugin-qtranslate-qtranslate-bp-not-working

    @djpaul

    Keymaster

    Ah hah, nicework @tryggvib! Depending on how (well-) written the WordPress plugin is, sometimes you can get conflicts when things load in areas of BuddyPress where they don’t need to, and conflicts happen. I run into this quite often with plugins that load Javascript.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Members, Groups, etc. not working after changing themes [Solved]’ is closed to new replies.
Skip to toolbar