Forum Replies Created
-
I am having the same issue, but normal users can not upload either, when I recieve the following error “Catchable fatal error: Object of class WP_Error could not be converted to string in C:Webspacepack119.netwwwwp-contentpluginsbuddypressbp-corebp-core-avatars.php on line 292” when I go to upload an image. I have WordPress 3.0-beta2-14729 and Buddypress 1.2.3 revision 3015
Line 292
$bp->avatar_admin->image->url = str_replace( WP_CONTENT_DIR, BP_AVATAR_URL, $bp->avatar_admin->image->dir );Okay, I am still having this same problem, but now on a new website same server DELL PowerEdge 2950, same envrionment (Windows 2008 Server SP2, IIS 7, PHP v5.3.1, My SQL v5.1.41) I am using BP 1.2.2 svn 2853. I click on the “create group” link, i get a 404 error for 3 to 4 seconds and then it redirects to the proper url without a problem. I’ve created a test user account, it’s testuser with the password test2000 if anyone needs to verify the issue. Here is a copy of my web.config, I just gave the “groups” directory under my theme folder “full control”, so I am not sure what else it could be but something I am missing in my web.config? or any other thoughts?
<?xml version=”1.0″ encoding=”UTF-8″?>
<configuration>
<system.webServer>
<rewrite>
<rules><rule name=”Imported Rule 1″ stopProcessing=”true”><match url=”^(.*/)?files/$” ignoreCase=”false” /><action type=”Rewrite” url=”index.php” /></rule><rule name=”Imported Rule 2″ stopProcessing=”true”><match url=”^(.*/)?files/(.*)” ignoreCase=”false” /><conditions logicalGrouping=”MatchAll”><add input=”{URL}” pattern=”.*wp-content/plugins.*” ignoreCase=”false” negate=”true” /></conditions><action type=”Rewrite” url=”wp-content/blogs.php?file={R:2}” appendQueryString=”false” /></rule><rule name=”Imported Rule 3″ stopProcessing=”true”><match url=”^(.+)$” ignoreCase=”false” /><conditions logicalGrouping=”MatchAll”><add input=”{URL}” pattern=”^.*/wp-admin$” ignoreCase=”false” /></conditions><action type=”Redirect” url=”{R:1}/” redirectType=”Permanent” /></rule><rule name=”Imported Rule 4″ stopProcessing=”true”><match url=”.” ignoreCase=”false” /><conditions logicalGrouping=”MatchAny”><add input=”{REQUEST_FILENAME}” matchType=”IsFile” ignoreCase=”false” /><add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” ignoreCase=”false” /></conditions><action type=”None” /></rule><rule name=”Imported Rule 5″ stopProcessing=”true”><match url=”^([_0-9a-zA-Z-]+/)?(wp-.*)” ignoreCase=”false” /><action type=”Rewrite” url=”{R:2}” /></rule><rule name=”Imported Rule 6″ stopProcessing=”true”><match url=”^([_0-9a-zA-Z-]+/)?(.*\.php)$” ignoreCase=”false” /><action type=”Rewrite” url=”{R:2}” /></rule><rule name=”Imported Rule 7″ stopProcessing=”true”><match url=”.” ignoreCase=”false” /><action type=”Rewrite” url=”index.php” /></rule><rule name=”wordpress – strip index.php” stopProcessing=”false”>
<match url=”^index.php/(.*)$” />
<action type=”Rewrite” url=”{R:1}” />
</rule>
<rule name=”wordpress – 1″ stopProcessing=”true”>
<match url=”^(.*/)?files/$” />
<action type=”Rewrite” url=”index.php” />
</rule>
<rule name=”wordpress – 2″ stopProcessing=”true”>
<match url=”^(.*/)?files/(.*)” />
<conditions>
<add input=”{REQUEST_URI}” negate=”true” pattern=”.*wp-content/plugins.*” />
</conditions>
<action type=”Rewrite” url=”wp-content/blogs.php?file={R:2}” appendQueryString=”false” />
</rule>
<rule name=”wordpress – 3″ stopProcessing=”true”>
<match url=”^(.+)$” />
<conditions>
<add input=”{REQUEST_URI}” pattern=”^.*/wp-admin$” />
</conditions>
<action type=”Redirect” url=”{R:1}/” redirectType=”Permanent” />
</rule>
<rule name=”wordpress – 4″ stopProcessing=”true”>
<match url=”.” />
<conditions logicalGrouping=”MatchAny”>
<add input=”{REQUEST_FILENAME}” matchType=”IsFile” pattern=”” />
<add input=”{REQUEST_FILENAME}” matchType=”IsDirectory” pattern=”” />
</conditions>
<action type=”None” />
</rule>
<rule name=”wordpress – 5″ stopProcessing=”true”>
<match url=”^([_0-9a-zA-Z-]+/)?(wp-.*)” />
<action type=”Rewrite” url=”{R:2}” />
</rule>
<rule name=”wordpress – 6″ stopProcessing=”true”>
<match url=”^([_0-9a-zA-Z-]+/)?(.*\.php)$” />
<action type=”Rewrite” url=”{R:2}” />
</rule>
<rule name=”wordpress – 7″ stopProcessing=”true”>
<match url=”.” />
<action type=”Rewrite” url=”index.php” />
</rule></rules>
</rewrite>
</system.webServer>
<system.web>
<authentication mode=”Forms” />
</system.web>
</configuration>
Andy,
I took a look at some logs on my end, I think it’s a serve side issue, specifically permissions(?), but I’m not 100% sure, is there a way I can send you the xml log error file to confirm it’s not a buddypress issue?
Kelly
Just as an experiment I changed my theme to the buddypress classic, logged in as admin, I didn’t see a “create a group” button, where is that hidding in that theme? (I changed back my theme though already, but let me know)
Kel
Andy,
Downloaded the latest trunk 2242, same problem.
Ahh…I noticed…lol
Thank You Brajesh! That did it!
Well, now, nevermind, my site broke again after upgrading wpmu..ARGH!
I have the “Theme My Login” plugin installed, obviously when a user clicks on the “profile” link it goes to wp-admin/profile.php page instead of /members/[username]/profile. There are options to put a new URL, and I tried to copy John’s but it’s not workin, any ideas?
My site is momchatter.com
Being a nub at anything PHP, is there an example of this somewhere?
Kel
Yeah, it was..sorry bout that, but I am still getting the eror…
My full name is there in the profile, but the error seems to only happen now when I go from groups or blog pages to members…
DJ,
Okay, I downloaded the latest trunk, still getting the error on members page only, …okay went to add my name, and clicked update…got “PHP Warning: Invalid argument supplied for foreach() in Webspacemomchatter.comwwwwp-contentpluginsprofile-picprofile-pic.php on line 422 “
Do I have to add a pic?..
Kel
Thanks DJ! I will try it now!
Hey all, first time poster in the BP forum, be gentle! I usually surf the forums before posting and seem to be able to figure things out, but I can’t with this one…and like always I imagine it’s as simple as the nose on my face!
my site momchatter.com, on the groups, blogs, members pages I’ve figured out that it’s the “narrowcolumn” css that I want to get ride of…and I’ve looked for it in all the .css files that you all mentioned here..any thoughts? (course I have a 3 year old to disctract me so I may not of looked hard enough, even using “find”)
Thanks!