Search Results for 'wordpress'
-
AuthorSearch Results
-
December 17, 2008 at 3:39 am #34490
In reply to: Beta problems
Burt Adsit
ParticipantHey. Well I’m getting closer to finding out a solution for my group forums problem. I know by digging deep into the bowels of the code that group forums is using, that in my case, it is eventually winding up at doing a curl_exec() call looking for the header from the bbpress install. It uses that to figure out the ‘pingback’ url for bbpress. It’s part of the xmlrpc stuff that we have to enable to get it to work.
This curl_exec call is part of a very common php lib that is used to go do http GETs and other nice things. That curl_exec() call always returns 404 on my linux dedicated virtual server box.
I’ve been beating my head against why this is happening for days now and sent off a tech support email to my host. This is the conversation between us.
Howdy,
I’ve got WordPress MU 2.7 trunk installed on my DV and it uses the curl_exec() function to grab some stuff from the returned header info. It’s not working at all on my DV. It always returns 404 even for a valid url.
This works fine on another box I’ve got running. Same code just different environment. It seems like curl isn’t working right here.
I tried a little test script as follows:
<?php
// create a new cURL resource
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, “http://ourcommoninterest.org”);
curl_setopt($ch, CURLOPT_HEADER, 0);
// grab URL and pass it to the browser
curl_exec($ch);
// close cURL resource, and free up system resources
curl_close($ch);
?>
Can’t get more basic than that. The url it is trying to get is to a valid domain on my DV. This script returns an ‘apache test page’, not the normal results I’d expect if I visited with a browser. WPMU is up and running at that above url.
Trying a different url such as http://ourcommoninterest.org/bbpress/ gets back 404. This is also a valid working url on my DV. I’ve been trying to figure this one out for days without luck.
Any help would be appreciated muchly!
Burt
My host Media Temple’s response:
You are getting this 404 error when running curl on the server because ourcommoninterest.org is set to the default domain for the ip address. When the server does a curl on this domain it looks in the host file and brings up 127.0.0.1. This localhost address isn’t setup on the (dv) because it is in a virtual environment so it brings up the 404 error.
You can either use the ip address when referencing this domain through curl or create a new domain and set that domain to be the default domain. If you have any further questions regarding your (mt) Media Temple services, please feel free to contact us at any time.
My confused reply:
Sorry Frank. I’m new to this so I’m not getting the explanation or the solution. Let me echo back what I’m not hearing very well.

When curl_exec() is run from the same box the domain is hosted on, it goes out and gets results from 127.0.0.1 (localhost) when querying ‘ourcommoninterest.org’?
When I run the same curl_exec() with the same param ‘ourcommoninterest.org’ on a different server, it goes out, gets dns resolution, finds it on the DV at media temple, doesn’t get 127.0.0.1 but gets the ip address for ‘ourcommoninterest.org’ and is happy to return the results it finds there. (not 404)
I’m actually trying to get a result back from the url ‘http://ourcommoninterest.org/bbpress/’. So to bypass the hosts file problem I can just use ‘http://whatevermyipaddressis/bbpress/’ to get the results I’m looking for?
Ya lost me completely on creating a new domain and setting that to the default domain. This would be a dummy domain that I just create thru plesk and still leave ‘ourcommoninterest.org’ hooked up to it’s current ip address?
(welcome to noob tech support)
This just happened a couple of minutes ago and frankly I’m no closer to understanding a solution. The only thing I can gather from all this tech noise is that it’s a result of being hosted as a dedicated virtual server.
December 16, 2008 at 11:39 pm #34480In reply to: BuddyPress Showoff: Post your links
danielfelice
Participant@burtadsit good idea thanks! know of any wordpress mu mobile apps?
December 16, 2008 at 3:11 pm #34458In reply to: Can’t edit posts as user
bustherh
MemberI keep getting the same answer everywhere. Maybe I should explain better.
It does not matter who I log in as. I can only edit the last post that I made on every account. The admin can edit all ADMIN posts but only the last post on all other accounts.
I am sure that it is a wordpress problem and not buddypress but I was wondering if anyone has ever seen this.
I already tried re-installing wordpress and I get the same error.
December 16, 2008 at 3:30 am #34445In reply to: Members and Blogs list not working
6d6
MemberThe files are all in the correct locations. I’m on a shared hosting plan at godaddy so I’m pretty sure I don’t have access to the apache logs. I just installed everything again and i’m still running into the same problem. WordPress Mu is set up for sub-categories and not directories. Could that be the problem? I noticed, if you go to the demo site here, and load it under www it does the same thing? You can see my site at desmoineslocalmusic.com
December 15, 2008 at 11:15 pm #34435In reply to: Creating an invitation system
citizenjake
ParticipantI was thinking kind of how gmail, in its early days, gave each new users 100 invites to send to people and you could only join the network through the invites.
I found this plugin for regular WP installs, Release Plus, https://wordpress.org/extend/plugins/register-plus/, that has a lot of the functionality I’m thinking about but doesn’t mesh with Andy’s invite system. Would be great to have something that plays nice with BuddyPress.
December 15, 2008 at 10:06 pm #34432In reply to: Can’t edit posts as user
nicolagreco
ParticipantI think this is a wordpress problem :S
December 15, 2008 at 8:50 pm #34426In reply to: Group forums working yet not working
bebopcool
Participanti have checked something which is not so clear in bbpress (wordpress integration menu)
1 – it ask to fill in information about :
WordPress “auth” cookie salt
WordPress “secure auth” cookie salt
WordPress “logged in” cookie salt
and then to check if those information are similar
WordPress (wp-config.php) bbPress (bb-config.php)
AUTH_KEY BB_AUTH_KEY
SECURE_AUTH_KEY BB_SECURE_AUTH_KEY
LOGGED_IN_KEY BB_LOGGED_IN_KEY
in wp-config we always have
blabla-key and blabla-salt available so what do we have to enter ?
the blabla-salt or the blabla-key.
2 – in the wordpress plugin for bbpress integration :
The complete URL of your plugins directory. Leave blank if it is in the default location “my-plugins” in the bbPress directory.
the default location is “bb-plugins” : so what we shall do ?
i will have a see on bbpress forumsfor this
December 15, 2008 at 5:35 am #34401In reply to: Members and Blogs list not working
6d6
MemberI installed 700 about about 30 minutes ago. I just forced the update and it’s still the same. I’m still using wordpress Mu 2.6.2. Could that be the problem?
December 15, 2008 at 4:31 am #34399In reply to: Group forums working yet not working
Trent Adams
Participant@wardeh I avoided entering all the wordpress integration information for nonce, salts, keys, etc right off the bat and just did the “login integration” which really involves just making sure it has the right prefix for your install which usually is “wp_” so bbPress can find the WPMU users.
I see Sambauers put up a new plugin today to help with bbPress and WordPress cookie integration and will give more information after I have a chance to play with it.
Trent
December 14, 2008 at 10:34 pm #34382In reply to: Group forums working yet not working
Wardee
Participantbebopcool: Thank you! You’re right… I DID have to add those two lines to wp-config.php when upgrading, but had forgotten!
If anyone else is looking for auth_salt:
bb-admin > Settings > WordPress Integration tells you to get auth_salt from options.php. It is not there!
It is in wp-config.php and was defined when upgrading to 2.7.
December 14, 2008 at 9:41 pm #34378In reply to: Group forums working yet not working
gogoplata
ParticipantYep, got the connection problems solved but probably won’t have time to test much today. I see what you’re saying but we’re integrating WordPress and bbPress and need the cookies to sync. If we can get everything talking properly between WPMU and bbPress it will make any problems we encounter BuddyPress specific. I’m not sure if the plugin works with WPMU, I’m assuming it does but it doesn’t specify either way.
December 14, 2008 at 6:35 pm #34371In reply to: Group forums working yet not working
gogoplata
Participantwardeh – I think that is saying that what the plugin used to do is now handled by bbPress but this plugin now does something else, namely recognize the cookies from WordPress. On the main plugin page it says “This plugin is only useful if you are running bbPress version 1.0-alpha-4 or later.”
I haven’t personally tested the new bbPress version or this plugin as I’m having connection problems but will report whatever I find out.
December 14, 2008 at 5:00 pm #34360In reply to: Group forums working yet not working
gogoplata
ParticipantThis plugin may also be required with the new bbPress version:
December 14, 2008 at 4:13 pm #34359In reply to: Group forums working yet not working
gogoplata
ParticipantA new version of bbPress, 1.0-Alpha-4, was just released on bbPress.org which “Should fix issues that people had with integrated cookies with WordPress in 1.0-alpha-3 without reverting any new features in it.”
Not sure if this is related to any of our problems but it’d be advisable to upgrade and see if it helps.
Along with the cookie fixes mentioned above, this new release will also assign users a role in bbPress as soon as they visit the forums with WordPress cookies. Previously they needed to log in to be assigned a role.
December 14, 2008 at 2:00 am #34346In reply to: Group forums working yet not working
Burt Adsit
ParticipantAndy, this is the results from WP_Http obj in http.php. It’s using cURL to go get the info from bbpress. Below are var dumps from line 261 in http.php
‘http obj url param:’ = $url
‘http obj request param:’ = $r
… you get the idea …
http obj url param: string(37) “http://ourcommoninterest.org/bbpress/”
http obj request param: array(
{ [“method”]=> string(3) “GET” [“timeout”]=> int(2) [“redirection”]=> int(5) [“httpversion”]=> string(3) “1.1” [“user-agent”]=> string(13) “WordPress/2.7” [“blocking”]=> bool(true) [“headers”]=> array(0) { } [“body”]=> NULL }http obj transport: object(WP_Http_Curl)#324 (0) { }
http obj response: array(3) { [“headers”]=> array(5) { [“date”]=> string(29) “Sun, 14 Dec 2008 01:52:04 GMT” [“server”]=> string(21) “Apache/2.2.3 (CentOS)” [“content-length”]=> string(3) “292” [“connection”]=> string(5) “close” [“content-type”]=> string(29) “text/html; charset=iso-8859-1” } [“body”]=> string(292) “
Not Found
The requested URL /bbpress/ was not found on this server.
Apache/2.2.3 (CentOS) Server at ourcommoninterest.org Port 80
” [“response”]=> array(2) { [“code”]=> int(404) [“message”]=> string(9) “Not Found” } }
I know that curl is fired up on my windows server. Can’t imagine it isn’t on my linux server. Besides, the http obj tests all ‘transports’ for their existence before sticking ’em in the list of those to try at that spot where the dump is. Gonna go look anyway.
Since this code is new in mu 2.7 I don’t trust it.
December 13, 2008 at 3:03 pm #34309In reply to: Who wants a media plugin for BP
gpo1
ParticipantI know,but we need something like Kaltura to port over to BP.
https://wordpress.org/extend/plugins/all-in-one-video-pack/
That needs a skilled php guru.
Unless you/someone can take up the task or we need a good doc/guideline on building plugins for BP.
We need wordpress plugins ported 2 BP!
December 13, 2008 at 2:34 am #34301In reply to: Group forums working yet not working
Wardee
ParticipantThanks, Burt.
Now I am able to edit users.

Still can’t get forum posts to work. Any suggestions?
Question: Do I have to do the user mapping in Settings > WordPress Integration in the bb-admin?
December 12, 2008 at 8:56 pm #34291In reply to: Group forums working yet not working
Wardee
Participantbebopcool: “i cannot make the user created for buddypress in bbpress an admin as i cannot access to bbpres user profile (it gives a 404 error on every user imported from wordpress)”
That’s what happens to me, too.
The forums are with the groups now, but no posts can be added.
December 12, 2008 at 5:59 pm #34288In reply to: Group forums working yet not working
bebopcool
Participantwpmu trak version 1574
bbpress 1.0 alpha 2
buddypress 658
pb with cookie integration between bbpress and wordpress
i cannot make the user created for buddypress in bbpress an admin as i cannot access to bbpres user profile
(it gives a 404 error on every user imported from wordpress)
it tried to use the bbpress integration function that allows to give a role to wordpress users :
the new forumbdpress is put as an administrator in wpmu
but he does not appear as an administrator is bbpress
surely those pb are not directly linked with your plugin
but it makes it working not properly :
the groups forums seems to be created but
i cannot create topics in groupes forums
December 12, 2008 at 9:44 am #34268In reply to: /members/ going to blank pages
Burt Adsit
ParticipantIs wpmu 2.7 out now? Your site says its running “WordPress 2.7” not “WordPress 2.7-RC1-xxxx” like everyone else. The site in your profile must not be the site you are talking about.
Anyway, the dreaded “white screen of death” probably means you have some errors and it’s just not showing you them. Check your php and apache error logs and report back.
Sounds like the bp member theme is crashing for some reason. Do you have *all* the bp components installed?
December 12, 2008 at 12:12 am #34266In reply to: Which version of bbpress to use?
Burt Adsit
Participant@zenseeker, ok here’s the mu trunk link:
http://svn.automattic.com/wordpress-mu/trunk
Balance? Balance?! What balance? Alphas, betas and trunks (all together now) Oh, My!
I’m getting goofy. Gotta lay off the caffeine.
December 11, 2008 at 10:55 pm #34259In reply to: Anything like BP w/out needing WPMU?
gogoplata
ParticipantThe transition from WordPress to WPMU is really simple. I did it in a few hours and there’s tons of resources out there on how to do it. Let me know if you want me to link some up and I can definitely do that.
As for your question, there’s no plugins I know for regular WordPress to add BuddyPress-like functionality, but Ning.com and KickApps.com may be worth looking into.
December 11, 2008 at 3:05 am #34233In reply to: member theme “trunk-r640”
Burt Adsit
Participanttestbp.org is running ‘WordPress 2.7-RC1-10119’
my dev machine is running ‘WordPress 2.7-RC1-10145’
December 11, 2008 at 12:15 am #34227In reply to: One click installation for buddypress
Simon
ParticipantWordPress MU doesn’t quite have the famous “5 Minute Install” unfortunatly… it’s a wee bit more complicated than the basic WordPress.
December 10, 2008 at 9:47 pm #34224In reply to: Test site question
Simon
ParticipantYou could update the file size limit in your php.ini file although that will increase the upload limit globally, not just for phpMyAdmin.
upload_max_filesize = 5M;
memory_limit = 16M;
A preferable approach might be to add an .htaccess file in your phpMyAdmin directory with the following directives:
php_flag upload_max_filesize “5M”
php_flag max_execution_time 300
php_flag memory_limit “64M”
This should increase your file upload size limit just for phpMyAdmin to 5Mb and allow for the extra execution time required.
It’s worth noting that most sources suggest increasing php’s memory limit from the default 16Mb’s when using WordPress MU anyway so you might want to make that change in the php.ini rather than the .htaccess file.
-
AuthorSearch Results