Search Results for 'test'
-
AuthorSearch Results
-
December 20, 2008 at 3:44 pm #69885
In reply to: Trac linking in the support forum
chrishajer
Participant<div>
<h3>Backtick test</h3>
<p>This is in a P block</p>
This is not
<?php echo bloginfo(); ?>
</div>December 20, 2008 at 3:40 pm #69974In reply to: bbpress is slow like godaddy says?
chrishajer
ParticipantI tried creating that test.txt file first and it failed with the same problem. Looks like someone else got the information you needed anyway.
December 20, 2008 at 1:59 pm #4475Ehegwer
ParticipantHowdy!
Just wanted to see if anyone had a fix for a salt value. I’m working on installing the latest bbpress alpha 1.0.4a intp wordpress mu 2.6.5 with working buddypress integration. I can log into wordpress and bbpress independently, but the values aren’t passing.
Here’s how I’ve mapped the keys and salts (notice one is missing):
????? –> WordPress “auth” cookie salt
SECURE_AUTH_SALT –> WordPress “secure auth” cookie salt
LOGGED_IN_SALT –> WordPress “logged in” cookie salt
AUTH_KEY –> BB_AUTH_KEY
SECURE_AUTH_KEY –> BB_SECURE_AUTH_KEY
LOGGED_IN_KEY –> BB_LOGGED_IN_KEY
I’ve tried almost everything, and was hoping someone had a solution.
Cheers,
E
December 20, 2008 at 1:55 pm #70449Sam Bauers
ParticipantNot possible using bbPress Live plugin I’m pretty sure. You would have to do separate calls and then merge them somehow.
It’s probably possible using the BB_Query class inside bbPress though.
December 20, 2008 at 1:50 pm #70463Sam Bauers
ParticipantThe warnings are now gone in the latest trunk version. There may be other issues to do with users not receiving roles automatically when they visit the bbPress site.
December 20, 2008 at 11:44 am #70157In reply to: bbPress 1.0-alpha-4 released
the_Wish
MemberTopic renaming fixed in trunk.
Is this supposed to be fixed in the nightlies as well? I installed the latest one yesterday and the issue is still persistent.
December 20, 2008 at 8:47 am #58952In reply to: User-editable Custom Titles
_ck_
ParticipantNever hack the core.
Especially when that function is right there designed to be filtered.
see this
apply_filters( 'get_profile_info_keys', array(It means you can make a simple plugin to modify the info keys on the fly.
Untested but should work as a plugin:
/*
Plugin Name: Allow Title Edit
*/
add_filter ('get_profile_info_keys', 'allow_title_edit');
function allow_title_edit($array) {
if (bb_current_user_can('participate')) {
global $bbdb;
$array[$bbdb->prefix.'title']= array(0, __('Custom Title'));
}
return $array;
}December 19, 2008 at 11:13 pm #69973In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantI think vannak did that, and it’s 10 seconds:
https://bbpress.org/forums/topic/bbpress-is-slow-like-godaddy-says/page/2#post-21978
What happens if you upload a random file and name it
test.txt?Since it can’t modify the php file, I guess it won’t be able to modify the
text.txtfile either but maybe it’s only because the php file is open by the same process.December 19, 2008 at 10:29 pm #63737In reply to: my forum is Already Installed
Famous
MemberI get this:
bbPress is already installed, but appears to require an upgrade.
With the finished installation saying:
Referrer is OK, beginning installation…
>>> Setting up custom user table constants
Step 1 – Creating database tables
>>> Database is already installed!!!
Step 2 – WordPress integration (optional)
>>> WordPress address (URL): http://test.com/
>>> Blog address (URL): http://test.com/
>>> WordPress cookie keys set.
>>> WordPress “auth” cookie salt set from input.
>>> WordPress “logged in” cookie salt set from input.
>>> Fetching missing WordPress cookie salts.
>>>>>> WordPress “secure auth” cookie salt not set.
>>> User database table prefix: wp_
Step 3 – Site settings
>>> Site name: Forums
>>> Site address (URL): http://test.com/forums/
>>> From email address: info@test.com
>>> Key master role assigned to existing user
>>>>>> Username: admin
>>>>>> Email address: info@test.com
>>>>>> Password: Your existing password
>>> Description: Just another bbPress community
>>> Forum could not be created!
>>> Key master email sent
There were some errors encountered during installation!
December 19, 2008 at 9:47 pm #70466In reply to: Blank Page at Step 2 Of Installation
zeroprobe
MemberHi,
The site is hosted by a Plesk enviroment which runs linux. bbpress version the latest beta and the current stable one. I intend to integrate it with wordpress but I did’t even get that far.
December 19, 2008 at 9:13 pm #69972In reply to: bbpress is slow like godaddy says?
chrishajer
ParticipantMaybe someone who uses GoDaddy hosting has a Linux account there and can test _ck_’s NFS Detector™?
December 19, 2008 at 9:01 pm #69970In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantWell the creation errors aren’t exactly godaddy’s fault, it’s just something weird with windows I don’t completely know about since I hate IIS and won’t even test it.
Makes no sense that a php program can’t create a file. Something is wrong there.
Only intelligent thing I can find about it is here:
http://us2.php.net/manual/en/function.fopen.php#50601
Do you have some kind of security panel where you can give your account write permission to the /test/ directory?
December 19, 2008 at 7:20 pm #69969In reply to: bbpress is slow like godaddy says?
chrishajer
Participant_ck_
Sorry, that didn’t work. More errors this time. It’s making GoDaddy look worse and worse.
Warning: fopen(
Hosting123456htmlgodaddytesttest.txt) [function.fopen]: failed to open stream: Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 9Warning: fclose(): supplied argument is not a valid stream resource in
Hosting123456htmlgodaddytestdefault.php on line 9Warning: chmod() [function.chmod]: No such file or directory in
Hosting123456htmlgodaddytestdefault.php on line 9Warning: touch() [function.touch]: Unable to create file
Hosting123456htmlgodaddytesttest.txt because Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 110.00039196014404297 seconds
December 19, 2008 at 2:54 pm #70387In reply to: Looking for alternatives
vadi
MemberTheir situation is understandable, but there are licenses that require attribution for that case.
Anyway – SMF isn’t really fitting because it mostly seems to be a clone of the traditional forum systems. I’ll give a test install of Vanilla a try, hopefully that’ll have everything I need. There is also Phorum that I found, looks kinda interesting (thanks for that ForumMatrix)
December 19, 2008 at 1:54 pm #70153In reply to: bbPress 1.0-alpha-4 released
Justin Tadlock
ParticipantYes, I’m viewing that as the Key Master. I’ll run another test with a new user to see what’s happening as well.
Yes, this has been a problem since the 2.7/1.0 integration. Registration through bbPress works fine, but that won’t be an option for me once going live.
Update:
I tried adding a user through WordPress, then logging in with that profile in bbPress. No user role was set. Then, I checked it with the Key Master account and got the same error I posted above.
Users are still logged in fine across both installations.
December 19, 2008 at 9:06 am #69967In reply to: bbpress is slow like godaddy says?
_ck_
Participantvannak, 10 seconds is very bad (the time is independent of where you access it from)
chrishajer, something’s not right there, Windows must think you don’t have access rights to write to the directory. Whatever Windows’s equal to chmod has to be done.
According to php.net the chmod in php actually does do something on some windows setups.
So try replacing this line, like so:
$file=dirname(__FILE__)."/test.txt"; $h=fopen($file, "wb"); fclose($h); chmod($file, 0777 );December 19, 2008 at 2:19 am #69965In reply to: bbpress is slow like godaddy says?
vannak
MemberHi _ck_ i did what you told already. and the fastest one is 9.9959759712219 seconds (in Cambodia). what do u think about it?
December 19, 2008 at 2:06 am #69964In reply to: bbpress is slow like godaddy says?
chrishajer
Participant_ck_
I needed to change the /test.txt to \test.txt, but even once that was done, I get this error (prior to this, the filename and path were not right):
Warning: file_put_contents(
Hosting123456htmlgodaddytesttest.txt) [function.file-put-contents]: failed to open stream: Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 9Warning: touch() [function.touch]: Unable to create file
Hosting123456htmlgodaddytesttest.txt because Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 110.00028681755065918 seconds
December 19, 2008 at 12:33 am #69963In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantMake a directory called test, go in there and put this version of the script in there:
<?php
/*
Experimental NFS detector - upload this file to server and chmod 777
Script should take less than one second to run.
If it takes more than one second, then it's likely NFS (or Windows or a bad configuration)
Any error means the time is unreliable as the script has failed.
*/
error_reporting(E_ALL);
$file=dirname(__FILE__)."/test.txt"; file_put_contents($file,'');
$time=strtok(microtime(),' ')+strtok('');
for ($i=0; $i<=9999; $i++) {if (touch($file)) {clearstatcache(); filemtime($file);} else {break;}}
echo ((strtok(microtime(),' ')+strtok(''))-$time)." seconds";
?>December 18, 2008 at 11:21 pm #67551In reply to: bbcode plugins URL not work
chrishajer
Participant@fernandot: this worked fine for me. I see the buttons and used them and it works just fine. See my test post. Firefox 3.0.5
December 18, 2008 at 8:20 pm #4464Topic: Custom query in bbPress. Latest topics from several forums
in forum PluginsHuda Toriq
MemberHi. I still don’t quite familiar with bbPress custom query system. Is there a simple way to pull the latest topics from only specific forums? In WP we can pull posts from several categories using comma separated category IDs in the query. Can bbPress do that?
And if there is, is it possible to pull it from WordPress using bbPress_Live php class in bbpress-live plugin?
Thank you in advance.
December 18, 2008 at 8:18 pm #70149In reply to: bbPress 1.0-alpha-4 released
jimgroom
MemberHello all,
I’m integrating WPMu 2.7 trunk, bbPress 1.0 alpha 4 and the latest BuddyPress Combo. I got everything up and running fine, and bbPress is reading the wp_users table and updating the users once they login to the WPMu account as members (I used the roles plugin recommended here, thank you).
The only issue I have remaining is that WPMu and bbPress are not sharing cookies, so when you log into the WPMu homepage, you are not automatically logged into bbPress, but you can login and out of each independently without an issue.
I installed Sam Bauer’s plugin for integration, and included the necessary details in the wp-config file, I’m also mirroring the unique values I have in my wp-config file in my bbPress config file. My bbPress config file looks like so:
define( ‘BB_AUTH_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_LOGGED_IN_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_SECURE_AUTH_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_NONCE_KEY’, ‘my_unique_key_is here’ );
define( ‘BB_AUTH_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_LOGGED_IN_SALT’, ‘my_unique_key_is here’ );
define( ‘BB_SECURE_AUTH_KEY’, ‘my_unique_key_is here’ );
/**#@-*/
define(‘COOKIE_DOMAIN’, ”);
define(‘COOKIEPATH’, ‘/’);
All these values exactly match what I have in my wp-config file, but still no shared cookie love. Anyone have any idea what might be wrong here?—or am I just pushing too soon with the WPMu trunk and bbPress 1.0 alpha?
December 18, 2008 at 7:21 pm #69959In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantThey could find someone else to run it.
Or some hosts have a free trial period (though that is less and less thanks to spammers).
Your linux desktop is why it is so fast.
So my theory is right, under 1 second is excellent, around 1 second is good.
Anything much higher is suspect.
But I need more NFS candidates, will have to see if I have access on some of these old servers.
Let’s see if I can run it on NearlyFreeSpeech.
Aha! They are NFS. 13.26 seconds
For those that get an error even when the file is chmod 777, you’ll have to create a testing directory and move the file into there. Then chmod 777 the directory and change the first line to
error_reporting(E_ALL); $file=dirname(__FILE__)."/test.txt"; file_put_contents($file,''); $time=strtok(microtime(),' ')+strtok('');December 18, 2008 at 7:10 pm #70447In reply to: Headers already sent when logging in
_ck_
ParticipantHeaders already sent is a useless error in itself, it’s always the result of another error (unless the very rare case someone meant to send a custom header of some kind).
In this case at least you posted the real error:
Warning: parse_url(http://#postform) [function.parse-url]Any chance you are testing this on a localhost or something like that?
Kind of a strange error that it’s getting a bad url like like, there’s no domain name at all.
December 18, 2008 at 1:52 pm #70437In reply to: Entries coming up with no content
flashpunk
MemberThe only plugins that are running are:
Akismet 1.0
BBXF Export 0.1 alpha
and I’ve tried deactivating them both…
in the WordPress install the only plugins that I have related to the BBpress install are:
BBPress Integration 1.0-alpha-4.1
BBpress Latest Discussions 0.9
I don’t think the WordPress ones would have any effect on it?
-
AuthorSearch Results