Forum Replies Created
-
Thank u hnla! Now I’m just struggling with the group blogs on my site.
https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/problem-w-creating-groups-avatar-step-does-not-work-cant-complete/Thanks for that link. I’m going to have to do a lot of studying and hard work since I don’t code PHP. I really appreciate all your help!
Alright back again… this is what I have done.
Deactivated every plugin
Cleared cache and cookies
Closed browser
Came back and logged in
Created group
Everything worked fine
Started to re-activate plugins one by one
Started first with BP Groupblog
It actually WORKED
Until I went to the last phase which was invites (I have no members) so I just clikced next.
Got this error:Warning: Invalid argument supplied for foreach() in /home/xxxxx/public_html/wp-content/plugins/bp-groupblog/bp-groupblog-admin.php on line 23
Warning: Cannot modify header information – headers already sent by (output started at /home/xxxxx/public_html/wp-content/plugins/bp-groupblog/bp-groupblog-admin.php:23) in /home/xxxxx/public_html/wp-includes/pluggable.php on line 890
http://i28.tinypic.com/vpkivs.jpg
Any ideas what is causing this Invalid argument?
I’m going to disable it again. But I would really like to get Group Blogs working if possible.
Oppps… spoke too soon. Now it’s broken again.
So basically php safe mode is off and open base restriction is disabled.
I activated the plugin BP GroupBlogs Version: 1.4.4: https://buddypress.org/community/groups/bp-groupblog/
When I did this, I noticed that when I went through the process to create a group, that part came up blank and then I would be sent to the WP failure notice that says:
Are you sure you want to do this?Please try again.
After that I could not move past to the Avatar upload step.
So I disabled the plugin, but then it would do the WP error at the Avatar step and now it’s not working again.
Here is a video of exactly what I did:
http://img101.imageshack.us/img101/3226/grpblogavatarissue.mp4My host said that if there is any info anyone here at BP can give them, they can look into it, but I’m just not sure what the issue is.
Thanks!
I have actually done a fresh install of WP to enable the network and so far it seems to work. I have to test it out to see if every user gets their own blog. Not really sure how it all works with BP.
When I did the fresh install the forums worked. It must have been some sort of error on my part or a conflict as I had done a lot of messing about to get a nicer theme. This time I used a fresh install of WP, activated Network and then used BP default theme. I will have to spend some time learning BP themeing to get a nicer looking theme for my site. That will take some time I am sure.
Thanks for all your help!
OK they fixed it. They had to disable php safe mode to get it working.
Thanks for the tips and help
I just emailed them. I did a complete re-install of WP so I could get a fresh start to enable the newtowrk. I got the same open_basedir restriction when trying to upload avatars, but this time I at least got more useable error info to email the host with. This is what it said this time:
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/wp-includes/functions.php on line 2037Warning: file_exists() [function.file-exists]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/wp-includes/functions.php on line 2028
Warning: is_dir() [function.is-dir]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/wp-includes/functions.php on line 2037
Upload Failed! Error was: Unable to create directory /group-avatars/1. Is its parent directory writable by the server?
I wonder if it’s just a CHMOD issue or a CHOWN one?
EDIT
Ok Tech mailed me back with this:
I have disabled open base restriction for, natfriends.com. Please check it now and let us know if you need any further assistance.But I still can’t upload. When I do I get this error message:
Upload Failed! Error was: Unable to create directory /group-avatars/1. Is its parent directory writable by the server?Where is this directory “/group-avatars/1” what folder does it live in? Maybe permissions need to be 755?
Thanks!
Also, just tried to disable all plugins to see if there was a conflict, but even with all plugins (except BP) deactivated, I can not make a forum post.
hnla; Thanks so much! So should I ask my host how to turn open_basedir on? I can do stuff via .htaccess.. for example I have Register Globals off via .htaccess on another site I have on that host.
Basically, what command am I looking to enable?
Thanks!
hnla:
From what I can see on the backend, it’s set up.
See screenshot: http://i28.tinypic.com/2nsnij4.jpg
It says: “bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can re-install
NOTE: The forums directory will only work if your bbPress tables are in the same database as your WordPress tables. If you are not using an existing bbPress install you can ignore this message.”
Any ideas? It’s really a weird thing!
Oh wow… your site looks amazing. Did you get a custom template done for BuddyPress? If so, what company designed that for you? I just love everything you have done. Are you using WPMU?
BTW, here are my site specifications.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
DELETED logs….
I moved files in site to root…..
Hosting company:
Total Choice HostingI am having this exact same problem on a brand new WP/BP site.
Specs
1. Which version of WPMU are you running?
I am using regular WP 3.0
2. Did you install WPMU as a directory or subdomain install?
Root directory
3. If a directory install, is it in root or in a subdirectory?
Root
4. Did you upgraded from a previous version of WPMU? If so, from which version?
Was a previous version install via Fantastico on cPanel, upgraded to 3.0 before BuddyPress was installed
5. Was WPMU functioning properly before installing/upgrading BuddyPress?
Not sure
6. Which version of BuddyPress (BP) are you running?
Version 1.2.5.2
7. Did you upgraded from a previous version of BP? If so, from which version?
No
8. Do you have any plugins other than BuddyPress installed and activated?
Yes:
Welcome Pack Version 2.1
Twitter Goodies Version 3.9.0
Tweetstream Version 1.4
oEmbed for BuddyPress Version 0.52
Invite Anyone Version 0.6.4
Import from Ning Version 1.1
Facestream Version 1.1
Contact Form 7 Version 2.2.1
BuddyPress Usernames Only Version 0.58
BuddyPress Profile Privacy Version 0.2
BuddyPress Private Messages for Followers Only Version 1.0
BuddyPress Like Version 0.0.7
BuddyPress Group Tags Version 1.2.2
BuddyPress Group Email Subscription Version 2.5
BuddyPress Forum Topic Mover Version 1.0.0
BuddyPress Follow Version 1.0
BuddyPress Album+ Version 0.1.7
BP Profile Search Version 1.0
BP Group Management Version 0.4
BP-NotificationWidget Version 1.4
9. Are you using the standard BuddyPress themes or customized themes?
Standard BP Theme BuddyPress Default 1.2.5.2
10. Have you modified the core files in any way?
No
11. Do you have any custom functions in bp-custom.php?
I do not think so.
12. If running bbPress, which version? Or did your BuddyPress install come with a copy of bbPress built-in?
I ran the bbPress installer that came with BuddyPress
13. Please provide a list of any errors in your server’s log files.
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/wwwnatf/public_html/site/wp-admin/includes/misc.php:133) in /home/wwwnatf/public_html/site/wp-includes/pluggable.php on line 890, referer: http://natfriends.com/site/wp-admin/options-general.php
[Thu Jul 08 01:43:12 2010] [error] [client 99.232.211.136] PHP Warning: is_writable() [function.is-writable]: open_basedir restriction in effect. File(/) is not within the allowed path(s): (/home/wwwnatf:/usr/lib/php:/usr/local/lib/php:/tmp) in /home/wwwnatf/public_html/site/wp-admin/includes/misc.php on line 133, referer: http://natfriends.com/site/wp-admin/options-general.php
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:55 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: Invalid argument supplied for foreach() in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 38, referer: http://natfriends.com/site/
[Wed Jul 07 23:53:52 2010] [error] [client 99.232.211.136] PHP Warning: file_put_contents(history/20100707) [function.file-put-contents]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/wordpress-shout-box-chat/chat.php on line 23, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/emoticon_unhappy.png) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: chmod() [function.chmod]: Operation not permitted in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 180, referer: http://natfriends.com/site/
[Wed Jul 07 23:47:55 2010] [error] [client 99.232.211.136] PHP Warning: copy(/home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/../data/public/themes/zilveer/smileys/eusa_whistle.gif) [function.copy]: failed to open stream: Permission denied in /home/wwwnatf/public_html/site/wp-content/plugins/phpfreechat/src/pfctools.php on line 179, referer: http://natfriends.com/site/
I moved files in site to root…..
Hosting company:
Total Choice HostingHi hnla,
I am using WP3.0 (a fresh install). I will follow the guide to get multisites via the link you left… really I just want everyone to have a blog if that’s possible and get all the recent entries to show on the home page.
As for the forums… yes I have enabled them in the backend, see screenshot here >> http://i29.tinypic.com/vzebsx.png
I’m wondering if you might have time to register and test this? It’s odd.. the post just disappears into the ether. The site is at http://www.natfriends.comThe profile on the default theme is fine! It’s the other theme I had that made things completely nonsensical (it’s not a BP theme, just a regular theme with a plugin to give BP function… but it’s not good!). It just was terrible. Couldn’t make any sense of anything in user profiles.
I’ve switched to the default theme. It’s not as ‘pretty’ as my other theme that I had, but it sure makes a lot more sense. I am not yet at the stage of themeing.. this is my first run at using BuddyPress… so I’m learning all of it on the fly (like most people who come here I guess).
If I could just get the forum posts to work, I’d be set….
Thanks so much for the help!
Hi Ray!
Thanks for your answer. I am thinking many of my troubles are caused by the theme i was using. I have switched to BP default for now.
I am honestly not comfortable working with any sort of script as I am not a developer at all. I was wondering, once I have installed bbPress (which I did), can I uninstall it. I’m not sure it’s even working.
I can’t even post a forum topic whatsoever. I will go to post a topic and enter the info and the entire posting screen disappears and nothing posts. Is this a bug in BP do you think? It’s baffling me.
Thank you for clarifying the auto group join. That’s really handy.
So I guess my main questions is why aren’t posts working? I switched the theme to see if that was the culprit, but it does not seem so. Are there any settings I should check? So far I’m the only member and I am Admin.
Thanks so much!
Hi Work,
I am using WordPress Version 3.0 and BuddyPress 1.2.5.2 at the moment.
This method works like a charm.
Lovely and thank you for the assistance
Hi Paul,
Ok, how do I do this? I’ve never done it before. Could you show me an example of the code and where to locate where the main navigation might be? I can send you the header.php if that helps.
Thanks!