Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'test'

Viewing 25 results - 9,701 through 9,725 (of 11,573 total)
  • Author
    Search Results
  • #69973
    _ck_
    Participant

    I 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.

    #63737
    Famous
    Member

    I 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!

    #70466
    zeroprobe
    Member

    Hi,

    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.

    #69972
    chrishajer
    Participant

    Maybe someone who uses GoDaddy hosting has a Linux account there and can test _ck_’s NFS Detector™?

    #69970
    _ck_
    Participant

    Well 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?

    #69969
    chrishajer
    Participant

    _ck_

    Sorry, that didn’t work. More errors this time. It’s making GoDaddy look worse and worse.

    Warning: fopen(D:Hosting123456htmlgodaddytesttest.txt) [function.fopen]: failed to open stream: Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: fclose(): supplied argument is not a valid stream resource in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: chmod() [function.chmod]: No such file or directory in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: touch() [function.touch]: Unable to create file D:Hosting123456htmlgodaddytesttest.txt because Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 11

    0.00039196014404297 seconds

    #70387
    vadi
    Member

    Their 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)

    #70153
    Justin Tadlock
    Participant

    @sambauers

    Yes, I’m viewing that as the Key Master. I’ll run another test with a new user to see what’s happening as well.

    @johnjamesjacoby

    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.

    #69967
    _ck_
    Participant

    vannak, 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 );

    #69965
    vannak
    Member

    Hi _ck_ i did what you told already. and the fastest one is 9.9959759712219 seconds (in Cambodia). what do u think about it?

    #69964
    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(D:Hosting123456htmlgodaddytesttest.txt) [function.file-put-contents]: failed to open stream: Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 9

    Warning: touch() [function.touch]: Unable to create file D:Hosting123456htmlgodaddytesttest.txt because Permission denied in D:Hosting123456htmlgodaddytestdefault.php on line 11

    0.00028681755065918 seconds

    #69963
    _ck_
    Participant

    Make 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";
    ?>

    #67551
    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

    http://ayudawordpress.com/foro/

    #4464
    Huda Toriq
    Member

    Hi. 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.

    #70149
    jimgroom
    Member

    Hello 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?

    #69959
    _ck_
    Participant

    They 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('');

    #70447
    _ck_
    Participant

    Headers 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.

    #70437
    flashpunk
    Member

    The 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?

    #70144
    Justin Tadlock
    Participant

    The 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.

    #70143
    tomwi
    Member

    @Ipstenu


    @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!!

    #70380
    ganzua
    Member

    If 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.

    #69950
    _ck_
    Participant

    Most 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.

    #69947
    _ck_
    Participant

    vannak, 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.

    #70139

    hi 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.

    #70137

    @lstelie:

    If 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.

Viewing 25 results - 9,701 through 9,725 (of 11,573 total)
Skip to toolbar