BuddyPress throwing 404
-
I installed buddypress but I am continuously seeing 404 errors and in apache logs it says this. However I can “Activity” directory somewhere inside wp_plugin. What can I do to make these pages available?
[Wed Mar 09 17:07:30 2011] [error] [client 192.168.2.5] File does not exist: /var/www/html/site/activity, referer: http://192.168.2.8/site/
[Wed Mar 09 17:07:41 2011] [error] [client 192.168.2.5] File does not exist: /var/www/html/site/forums, referer: http://192.168.2.8/site/
-
What’s in your .htaccess file?
I don’t have .htaccess file
You need one or else you can’t use BuddyPress.
https://codex.buddypress.org/getting-started/before-installing/
https://codex.wordpress.org/Installing_WordPressIt doesn;t really say what should be there in .htaccess file. Can you point me to some other doc that gives that info.
BTW: I am able to get the main home page but then none of the links work. They give that 404 error.
Deactivate BuddyPress and BP plugins. Run Settings > Permalinks and choose permalink other than default. https://codex.wordpress.org/Using_Permalinks#Where.27s_my_.htaccess_file.3F and next topic below that is content of htaccess for single WP installation
Resolve WP installation before activating BuddyPress. Also if you plan to allow blogs for your users, create a network i.e. go multisite and resolve any issues before activating BuddyPress.
I had to reinstall wordpress. I got tons of errors when I try to add buddypress plugin in the latest 3.1 wordpress:
Notice: Undefined offset: 0 in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 85
Notice: is_page was called incorrectly. Conditional query tags do not work before the query is run. Before then, they always return false. (This message was added in version 3.1.) in /var/www/html/site/wp-includes/functions.php on line 3422
Notice: Undefined offset: 2 in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-catchuri.php on line 158
Notice: Undefined property: stdClass::$loggedin_user in /var/www/html/site/wp-content/plugins/buddypress/bp-forums.php on line 530
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-forums.php on line 530
Notice: Undefined property: stdClass::$displayed_user in /var/www/html/site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-core.php on line 1070
Notice: Undefined property: stdClass::$profile in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile/bp-xprofile-classes.php on line 816
Notice: Constant BP_XPROFILE_BASE_GROUP_NAME already defined in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile.php on line 101
Notice: Constant BP_XPROFILE_FULLNAME_FIELD_NAME already defined in /var/www/html/site/wp-content/plugins/buddypress/bp-xprofile.php on line 102
Notice: Undefined index: fileupload_maxk in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-avatars.php on line 35
Notice: Undefined property: stdClass::$current_group in /var/www/html/site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Trying to get property of non-object in /var/www/html/site/wp-content/plugins/buddypress/bp-groups.php on line 223
Notice: Undefined variable: count_indicator in /var/www/html/site/wp-content/plugins/buddypress/bp-messages.php on line 115
Notice: Undefined index: action in /var/www/html/site/wp-content/plugins/buddypress/bp-core/bp-core-signup.php on line 571
Notice: has_cap was called with an argument that is deprecated since version 2.0! Usage of user levels by plugins and themes is deprecated. Use roles and capabilities instead. in /var/www/html/site/wp-includes/functions.php on line 3387
These are not errors, but debug notices.
Most of these debug notices have been fixed in the forthcoming version of BuddyPress.
Do you have WP_DEBUG defined?
Yes I have. But what I see is that I start getting 404 as soon as I install buddypress. And it doesn’t let me login once I logout. I then keep getting “You have already installed wordpress please login”. I had to re-instlal wordpress and struggling with getting buddypress up and running. I even tried updating .htaccess file as suggested earlier but that didn’t help.
What is wordpress doing with mod_rewrite? How can I debug if it’s being used or not?
Did you enable pretty permalinks like mercime suggested? Are you using the latest version of BP?
Did you install WordPress in a subdirectory with these instructions?
https://codex.wordpress.org/Giving_WordPress_Its_Own_DirectoryIf so, there are bugs with BP 1.2.8 relating to subdirectory installs.
Please read this thread to resolve the login/logout issue for now:
https://buddypress.org/community/groups/creating-extending/forum/topic/loginlogout-from-admin-bar-does-not-workYesterday I re-installed wordpress 3.1. I go to plugin and search for buddypress and then install it from there, I am assuming this gets me the latest version. At that time I did enable permalink.
What I do is I mv wordpress /var/www/html/.
How can I tell if re-write is working or debug this problem.
Yes, using the admin panel to install BuddyPress will always download the latest, stable release.
Don’t move the wordpress directory! If you need to reinstall WordPress in the root directory, do it from scratch!
- The topic ‘BuddyPress throwing 404’ is closed to new replies.