I have a remote install, and a local install that is an exact mirror (other than all URLs Remote/Local are correct for each install). I dump my remote db, import into my local db, find and replace the remote URLs with the local URLs (using a tool that does it properly – not a simple find and replace), and develop locally on an exact replica of my production site.
Out of the blue the custom avatars on the remote install are no longer displaying. The file structure and permissions are exactly mirrored, and the avatars on the local install are displaying fine. My immediate thought was that something *must* be different, but no. So then I thought maybe some cookie / cache thing. No. So then I googled, and came up with this: http://theandystratton.com/2010/buddypress-avatars-not-displaying-with-wordpress-3-0 (a post from last September referring to the same issue).
I tried the code there, and with a little tweak it did the job, and avatars are displaying again. However, this seems extremely hackish, and I’d like to get to the bottom of the issue. Why would the avatar path suddenly break like this? Does anyone have experience of this issue?
@DJPaul:
I did a “select * from wp_users;”. The “user_status” field has the value “0” for all the users including the admin user.
Am I looking at the right values?
Ok I just sent them an e-mail, thanks.
What could be the “relevant things” in the log file that may arise? Do you think that they are “lowering” the number of allowed queries per second and this may be the issue for which the functions are not returning the proper result?
Ask them if they see anything relevant in the log file or from any usage stats they might record.
If you can, in the Wp_users database table, what user_status does one of these user accounts have?
(I think it’s user_status; values should be 0, 1 or 2, unless you’re using multisite.)
@DJPaul: Yes, those user accounts were activated before attempting to log in.
Thanks a lot for the reply!
It’s not indeed my own server, I’m working on someone else’s. What should exactly ask them? To allow a greater number of active connections?
Thanks!
If the new user accounts that you’re trying to log in with were created after BuddyPress has been installed, have you activated those user accounts?
BuddyPress’ SQL is fine. Your SQL server might be dropping connections. Is this on your own server, or is it being hosted by someone? I’d suggest that you ask them to check your SQL database and look at the number of active connections allowed. Something must be a little bit off-kilter somewhere, or they are throttling database queries.
Hi, i´ve installed WordPress 3.0.4 and the newest version of buddypress. Everything seems to be ok and works fine. But if i want to compose a message and look for friends or users, i get an error message (“Cannot modify header information….”).
The site url is http://360autismus.de/community/
You can try it, if you login with svenja/lottelotte.
Many thanks in advanve.
This site is very important for me. It´s about autistic people.
I’ve just realized I have a couple of warnings from WordPress, don’t know if this can be helpful to help me out:
Warning: mysql_real_escape_string(): 11 is not a valid MySQL-Link resource in /path/to/wp-includes/wp-db.php on line 785
Warning: mysql_error(): 11 is not a valid MySQL-Link resource in /path/to/wp-includes/wp-db.php on line 1119
These happens only when calling the above stated functions of BuddyPress.
Thanks!
Bump. Sorry don’t want to be annoying, but it’s pretty important and I’m in a hurry.
I have the same problem. Has anybody found a solution? Pleas help me !
Just installed and activated the Buddymatic theme and got this error
Fatal error: Cannot redeclare bp_dtheme_ajax_addremove_friend() (previously declared in /home/ordinar5/public_html/coupons/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:334) in /home/ordinar5/public_html/coupons/wp-content/themes/buddymatic/_inc/ajax.php on line 63
Can you help please?
Yes I have everything enabled. Unfortunately, I just installed a new theme to try it (Buddymatic) and when I activated it I got the following error.
Fatal error: Cannot redeclare bp_dtheme_ajax_addremove_friend() (previously declared in /home/ordinar5/public_html/coupons/wp-content/plugins/buddypress/bp-themes/bp-default/_inc/ajax.php:334) in /home/ordinar5/public_html/coupons/wp-content/themes/buddymatic/_inc/ajax.php on line 63
Can you tell me what happened and how I might fix this?
Don
Greetings,
I’ve installed and updated the latest WP; installed the beautiful theme Jukt Micronics (BuddyPress BuddyPack) 1.2 by Michael Kuhlmann
Need a fixed background image – tried using CSS: background-attachment fixed: url(body3lite.jpg) top center;
and put the image in the same directory as the CSS file – no result at all
I have checked around and have found posts that refer me to Appearances > Themes > Options but there is no options in that section.
May I please request some help with this? Will be very much appreciated.
All the best,
Ron
@pcwriter
Muchas muchas gracias.
Hi all, so I added BP profile search to my adminbar using the instructions here: http://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/search-function-in-admin-bar/
Initially all was well, but since the plugin was updated, the search bar is suddenly using the Blog URL rather than the Site URL. Very strange. I’ve been tearing hair out trying to fix this and can’t find where the problem is occurring anywhere.
I’d greatly appreciate some help if anyone knows what might be causing this.
Here’s the site: http://www.unistudybuddy.com/
You can see most links seem to be fine and the $bp->root_domain is correctly using the Site URL. But if you try searching (top-right), it’ll throw in the “/wordpress/” subdirectory and cause an error.
Thanks in advance.
Jack
like @mercime said “Deactivate BP Template Pack if you’re going to use a BuddyPress-compatible theme already.”
For forums – you have to set it up first = dashboard menu > BuddyPress > Forums Setup
For groups – enable it first = dashboard menu > BuddyPress > Component Setup
BP Codex is your friend https://codex.buddypress.org/getting-started/configure-buddypress-components/
I’m looking in wp-includes/default-widgets.php to try and change the way it is displaying the names but can’t find the display name to replace so it works with this http://buddypress.org/community/groups/buddypress-usernames-only/
Any hints? Wrong file?