Skip to:
Content
Pages
Categories
Search
Top
Bottom

Issue with links within BuddyPress

  • Avatar of Codyb
    codyb
    Participant

    @codyb

    I’m having difficulty getting BuddyPress to work properly. I’m using WordPress MU 2.7.1 and I installed BuddyPress. I have followed the installation instructions listed under the download section on the buddypress website. The issues I am having is once I login as my user, admin in this case, when I try and access any link listed under the My Account tab, I can’t access it. It shows the path as being /wpmu/members/admin/ but on my webserver there is no directory called members anywhere. I host my own website and I’m trying to add this to it. Its almost like it is suppose to create this by default, but its not creating this path automatically. Does anyone have any idea why this might be happening? Thanks for your help

Viewing 19 replies - 1 through 19 (of 19 total)
  • Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    The reason you cannot find a directory called “members” is because /members/ is a slug and not a directory. Here’s an article that might shed some light: http://buddypress.org/blog/how-to/customizable-slugs-in-buddypress/

    Avatar of Codyb
    codyb
    Participant

    @codyb

    I tried to add those and it still isn’t working, its still giving me the 404 error. But now the path has changed to /wpmu/users/admin/ instead of it being /wpmu/members/admin/ Any other suggestions as to how to fix this? I’m still getting the 404 Not found error

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Okay, before we can assist further, we need more information. Please answer these questions:

    1. You’re positive that you’re running WordPress Mu and not single-version WP?
    2. Assuming the answer to number 1 is yes, then did you upgraded from a previous version of WPMU, and if so, from which version and how?
    3. Did you have WPMU functioning properly before installing and upgrading BuddyPress?
    4. Which version of BuddyPress are you running?
    5. Did you log in as site admin in WPMU’s backend and activate BuddyPress?
    6. Do you have any plugins other than BuddyPress installed and activated?
    7. Are you using the standard BuddyPress themes or custom themes?
    8. Are there are errors in your server’s log files, and if so, what are they?

    Avatar of Codyb
    codyb
    Participant

    @codyb

    Response to your questions are as follows:

    1. I am positive I am running wordpressMU, under my admin dashboard it states You are using WordPress MU 2.7.1.

    2. This is a fresh install of WordPressMU and Buddypress. I had never heard of either of these until a week ago so I installed WordPressMU 2.7.1 first and then downloaded BuddyPress1.0 and installed via installation instructions listed here http://codex.buddypress.org/getting-started/installing-buddypress/

    3. I believe WordPressMU was functioning, but I had never used it before so I can’t state that confidently. Just from playing around with it previously and me still being able to use the dashboard without issue, I would say it was functioning.

    4. I am using BuddyPress1.0

    5. Yes I logged in as site admin on WPMU’s backend, activated buddypress under the plugins section, and am currently utilizing the BuddyPress Default Home Theme 1.0

    6. The only plugin I have listed is BuddyPress and I’ve never installed any other plugins

    7. I believe I am using the standard buddypress theme that was automatically installed with BuddyPress, I myself did not install any custom themes

    8. I do not see any error messages that are catching my eye in my /var/log/messages

    Just a little additional info. I’m running WordPress/BuddyPress on my own webserver. I am running a linux box using CentOS 5.3 and apache to host my current website utilizing drupal and all works fine. I wanted to utilize the BuddyPress social networking feel for my site so I’d like to move to BuddyPress. I started from scratch with installing WordPressMU and BuddyPress. I made the correct databases and users using MySQL. If you have any other questions please let me know. Thanks

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Codyb-

    Thanks for the detailed response!

    A few more questions:

    1. Did you copy over to WPMU’s root the .htaccess file that comes with the download?

    2. Did you select the BuddyPress member theme in WPMU’s backend via “BuddyPress > General Settings > Select theme to use for BuddyPress generated pages”?

    Avatar of Codyb
    codyb
    Participant

    @codyb

    Jeff-

    Yes I have a .htaccess file in my wmpu root folder.

    Also under BuddyPress > General Settings > Select Theme to use for BuddyPress generate pages I have BuddyPress Default Member Theme 1.0 selected there.

    I’ve also went under Appearance > themes and selected BuddyPress Default Home Theme 1.0 by Andy Peatling

    I’m still not sure whats going on here. I was playing with it last night, still no luck.

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Codyb-

    Just for good measure, I would log into WPMU’s backend and reselect your bpmember theme. This has worked for some people.

    If that does not work, then I’m afraid it’s back to square one. Delete everything, including your MySQL DB, download a new copy of WPMU and follow the install instructions for MU. Then, once WPMU is up and running, manually download BuddyPress, and follow the install instructions in the readme.txt file.

    It sounds like a pain, but since this is a fresh install without any data worth keeping, it should go pretty quickly. Something must have gone wrong with your install.

    Let me know how what happens.

    Avatar of Codyb
    codyb
    Participant

    @codyb

    Ok, I’ll clean everything up and start over and see where I’m at after that. Thanks for your help Jeff

    Avatar of Codyb
    codyb
    Participant

    @codyb

    OK so I redid both my wordpressMU and buddypress installations and the same thing is happening. I don’t know what the hell I’m doing wrong. Anytime I click on ANYTHING under the my account tab I get the

    Not Found

    The requested URL /wp/members/admin/friends was not found on this server.

    Apache/2.2.3 (CentOS) Server at codyconnect.com Port 80

    I’ve followed the installation instructions to a T and am still having the issue? My page is http://codyconnect.com/wp

    I can log in and get to the dashboard just fine, but I can’t click on anything under My Account without getting the 404 error. Please someone help, this is getting very frustrating.

    I followed the instruction listed here exactly http://codex.buddypress.org/getting-started/installing-buddypress/

    except for step 7, but even if I do step 7 I still get the same thing, HELP!!!

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Here’s a wild, wild guess. I’m not usually one for shooting in the dark, but lets give it a shot.

    Open up your .htaccess, and the second line, do you have:

    RewriteBase /wp/

    Avatar of Codyb
    codyb
    Participant

    @codyb

    Yes I do. Basically I wanted my site to be accessible using the address http://www.codyconnect.com/wp so in my /var/www/html I renamed the wordpress-mu to wp

    I downloaded buddypress and placed it in /var/www/html/wp/wp-content/plugins/buddypress

    Then I moved /var/www/html/wp/wp-content/plugins/buddypress/bp-themes/ to /var/www/html/wp/wp-content/bp-themes/

    Its almost like these directories should be created by default when you create a user, but their not. I’m not sure if I’m missing something obvious here or what. Here is my .htaccess file in /var/www/html/wp/

    RewriteEngine On

    RewriteBase /wp/

    #uploaded files

    RewriteRule ^(.*/)?files/$ index.php [L]

    RewriteCond %{REQUEST_URI} !.*wp-content/plugins.*

    RewriteRule ^(.*/)?files/(.*) wp-content/blogs.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>

    Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Codyb: Don’t install WPMU in a sub-directory, can you try installing in the root if possible?

    Avatar of Codyb
    codyb
    Participant

    @codyb

    Only problem is I have a main site already utilizing the codyconnect.com root structure utilizing drupal 6.8 so I can’t dump all the contents into that directory because drupal is using it already. SI this a themes issue or a permissions issue? I just don’t understand why its not creating the directory structure. I keep seeing people talk about slugs and stuff like that, but I’m new to all of this and just don’t know if I’m missing something obvious. I can get to the dashboard just fine, but anything under the BuddyPress tabs at top under My Account kicks out the 404 error

    Avatar of John James Jacoby
    John James Jacoby
    Keymaster

    @johnjamesjacoby

    Ahhh… The truth, shall set you free…

    Any possibility that the Drupal install is mucking this up? I’ve got no experience with that one. :/

    (To explain what’s going on, this isn’t a matter of directory structure, because those directories are virtual; they don’t really exist anywhere. There is no physical folder anywhere in your install called “members” or “users” or anything. The URL is caught by .htaccess and WordPress, and is virtually re-written to match the content it is displaying.)

    Does that make more sense? I know it’s hard to understand and have faith in at first, but I promise it’s totally fine. :)

    Avatar of Codyb
    codyb
    Participant

    @codyb

    No that makes a lot of sense, but does this mean I have to enable VHOST? Right now I believe I have it disabled. I don’t think that Drupal is mucking this up because I also run eyeOS (cloud operating system) as a subdirectory on my webserver, no issues. It seems a lot of people have or are having this issue, but I haven’t seen a solution for it yet. Really weird

    Avatar of Codyb
    codyb
    Participant

    @codyb

    I made a few changes to my httpd.conf file and now I’m getting the following error message when trying to access anything under the My Account tab

    Internal Server Error

    The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, codyw725@codyconnect.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Avatar of Codyb
    codyb
    Participant

    @codyb

    also seeing this error in my error_logs

    /var/www/html/.htaccess: order not allowed here

    Avatar of Codyb
    codyb
    Participant

    @codyb

    GREAT NEWS!!!

    The .htaccess error log I seen above gave me the hint. I just removed the .htaccess from the /var/www/html folder and had it recreate it on its own and BuddyPress is now working!!!!! Thanks so much for everyones help. Hope this helps to solve other peoples issues!!

    Avatar of Jeff Sayre
    Jeff Sayre
    Participant

    @jeffsayre

    Codyb-

    Excellent!

    So there was a rouge .htaccess file gumming up the works. Those dang invisible files are tricky!

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

You must be logged in to reply to this topic.