Search Results for 'test'
-
AuthorSearch Results
-
December 19, 2008 at 11:13 pm #69973
In 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.txt
file 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 9
Warning: fclose(): supplied argument is not a valid stream resource in
Hosting123456htmlgodaddytestdefault.php on line 9
Warning: chmod() [function.chmod]: No such file or directory in
Hosting123456htmlgodaddytestdefault.php on line 9
Warning: touch() [function.touch]: Unable to create file
Hosting123456htmlgodaddytesttest.txt because Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 11
0.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 9
Warning: touch() [function.touch]: Unable to create file
Hosting123456htmlgodaddytesttest.txt because Permission denied in
Hosting123456htmlgodaddytestdefault.php on line 11
0.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?
December 18, 2008 at 5:50 am #70144In reply to: bbPress 1.0-alpha-4 released
Justin Tadlock
ParticipantThe biggest issue I’m having with this version and the latest version of the WP/BB Integration plugin is that the user roles aren’t being carried over to bbPress when a user registers in WordPress.
They always end up with no role set.
This is the error when editing the user’s profile when no role is set:
<select name="role">
<option value="keymaster"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Key Master</option>
<option value="administrator"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Administrator</option>
<option value="moderator"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Moderator</option>
<option value="member"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Member</option>
<option value="inactive"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Inactive</option>
<option value="blocked"<br />
<b>Warning</b>: array_key_exists() [<a href='function.array-key-exists'>function.array-key-exists</a>]: The second argument should be either an array or an object in <b>/domain.com/forums/bb-includes/functions.bb-template.php</b> on line <b>2021</b><br />
>Blocked</option>
</select>Aside from this, everything else has been working great for me.
December 17, 2008 at 9:28 pm #70143In reply to: bbPress 1.0-alpha-4 released
tomwi
Member
@sambauers – Thanks! I had tried bblive, it never pulled correctly when integration wasn’t working… i’ll give both your ideas a shot with my test integration of 2.7 and alpha 4.i am also using bbsync with my 2.5.1 to send posts to bbpress as topics… I want to do this and disable comments for easier moderation. I know it doesn’t work with 2.6 or 2.7. Anyone know of other ideas to send posts to bbpress as topics? Thanks!!
December 17, 2008 at 9:08 pm #70380In reply to: Looking for alternatives
ganzua
MemberIf you want to integrate the forum with wordpress latest version, you have two options; bbpress and simple-forum plugin.
If you need a stand-alone forum I’d go for phpbb3. It has everything that a forum should have.
December 17, 2008 at 6:26 pm #69950In reply to: bbpress is slow like godaddy says?
_ck_
ParticipantMost hosts will not admit and definitely not advertise NFS, it’s a downside, not a plus.
But you can tell if you have an account with them by studying
df -a
though the shell, php shell or perl cgi shell. Or if they hide/block all that you can write a script to time 1000 reads of filemtime (with clearstatcache) which cannot be cached by the OS and will have telltail lag.Marketing-wise NFS is usually spun as “unlimited” or “expanding” storage space, like Dreamhost promises extra space each month.
I’m very curious to find out what the “resolution” was.
The latest page show shows 1.432 – 36 queries which is still poor.
December 17, 2008 at 1:18 pm #69947In reply to: bbpress is slow like godaddy says?
_ck_
Participantvannak, if you activated load options, something is still wrong because it’s using 36 queries on the front page. Are you using bbPress 1.0 or bbPress 0.9 ?
Make sure your bb-topic-views plugin is the latest version (1.6.3)
The old version before I took over used excessive queries.
If you are using an earlier 1.0 alpha version, it also had excessive queries (still does on the newest version in some places).
Before you run to hostmonster or other provider, make sure you do your homework and check those suggestions I gave you.
Oh one more tip for choosing a hosting provider – if they use the word “unlimited” in any of their advertising, find another provider.
December 17, 2008 at 9:47 am #70139In reply to: bbPress 1.0-alpha-4 released
lorenzocoffee
Memberhi chrishajer
I do use the ltest stable WP -2.7- in a sandbox modified theme and the 1.0.4 (the one from the .tar)of BBpress
thanks.
December 17, 2008 at 8:35 am #70137In reply to: bbPress 1.0-alpha-4 released
John James Jacoby
KeymasterIf you wanted to, it is possible to write a “clear all cookies” plug-in/function that would just be a link that would delete the cookies for a user entirely. I can verify that as long as you’re using WP2.7 and BBP1.0a4, that integration works and works really well. I’ve fully tested it on two different platforms now and both times it’s worked without a hitch.
-
AuthorSearch Results