Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'bbpress'

Viewing 25 results - 42,276 through 42,300 (of 64,513 total)
  • Author
    Search Results
  • #83011
    chrishajer
    Participant
    #91893
    chrishajer
    Participant
    #91892
    chrishajer
    Participant

    Rescued from Akismet

    chrishajer
    Participant

    It’s really a simple error of trying to include a file that is not located where you are telling bbPress it is located. Have you tried including it as explained here?

    You can just hard code the full path to the file there and not worry about it unless you change hosts or directories. To prove that it works, just include it like that and I think you will find that it works once you know and use the actual path to the file.

    If you’re worried about changing directories or hosts at some point, you can always use a relative path (with the ../ in front) so long as you use the right path. So far, you have not.

    Do you have shell access on the host with something like SSH? If so, finding the path to the file will be easy. If not, you can still find it based on the error messages you’re getting and the structure of your site.

    chrishajer
    Participant

    Regarding this error:

    # 3. Here are the errors from attempt # 2 above:

    Warning: require_once(/home/content/08/123456/html/website/forum/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/123456/html/website/forum/bb-config.php on line 65

    That is because the file is not located where you are saying it is located. What is the full filesystem path to the wp-load.php file?

    That’s the first thing you need to resolve – how to include the file, based on where it’s located.

    pkr3
    Member

    Chris (and Ashfame),

    Thanks for your thorough and prompt attempt to assist me/us.

    Just so you know, there is no “0php’” line of code I entered.

    Here is line 65 code EXACTLY as entered in bb-config.php, on different attempts. Only difference between the two is “/..” Nothing has been altered…I copied these lines directly from the bb-config.php file adding/changing/hiding nothing. As-In, they are direct cut and pastes.

    # 1. This line (when entered) reveals BLANK forum page: require_once(dirname(__FILE__) . ‘/../wp-load.php’);

    # 2. This line (when entered) reveals ERROR forum page: require_once(dirname(__FILE__) . ‘/wp-load.php’);

    # 3. Here are the errors from attempt # 2 above:

    Warning: require_once(/home/content/08/123456/html/website/forum/wp-load.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/123456/html/website/forum/bb-config.php on line 65

    Fatal error: require_once() [function.require]: Failed opening required ‘/home/content/123456/html/website/forum/wp-load.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/08/123456/html/website/forum/bb-config.php on line 65

    # 4. This is how the command line(s) appears exactly as entered inside the bb-config.php file. I copied it from the bb-config.php file without changing anything:

    */

    define( ‘BB_LANG’, ” );

    require_once(dirname(__FILE__) . ‘/../wp-load.php’);

    ?>

    # 5. Random Thoughts:

    a. Important: I don’t/didn’t want to combine bbPress and WordPress locations/databases so I have bbPress and WordPress on separate databases (same server). That said, I notice in the WordPress Integration “settings” (within bbPress) The “User Database table prefix” is set to “wp_”. The bbPress Help line/instructions below the field entry reads, “If your bbPress and WordPress sites share the same database, then this is the same value as $table_prefix in your WordPress wp-config.php file. It is usually wp_.”

    I was instructed to enter “wp_” but am beginning to wonder if that is incorrect since the bbPress and WordPress are on separate databases. If incorrect, there are no suggestions of what line/text to enter in that field (“bb_”?). Just sharing.

    b. Silly thought?: WordPress 3.0.1 came out 24 hours before my attempt to Deep Integrate, and was installed, wondering if something has changed in the WordPress 3.0.1 .php files that makes this a “new” issue; therefore requiring an updated deep integration code line. Not blaming WordPress…just sharing the experience.

    Thanks a ton!

    pkr3
    Member

    Ashfame,

    Thank you for the link. I/We followed it twice, and several other links/instructions prior to posting the issue. Also, the web hosting provider (a programmer) followed the instructions. The instructions seem to be accurate; we’re just trying to figure out the “hidden” issue. What is strange, is that integration IS working; i.e. “bbPress integration” plugin is installed and active in WordPress. And “WordPress Integration” plugin is installed and active in bbPress. No issues.

    It’s only when we attempt DEEP integration the problem arrises. And that the web hosting provider (programmer) is getting exact same errors, on different environment, servers, etc. is not encouraging. More details in my response to Chris (following this one). I REALLY appreciate your help.

    #92150
    zaerl
    Participant

    Yes. It’s GPL as the rest of bbPress code.

    #91841

    you can even show the login form anywhere by calling its function – login_form();

    and here is something that will help you – http://blog.ashfame.com/2009/09/show-content-logged-in-status-users-bbpress/

    chrishajer
    Participant

    php’

    That looks like php and then the characters after the “PHP” look like what happens when you paste fancy quotes from a copy of a website. Maybe the opening quotes are similar and causing similar trouble.

    Your include statement should be something like:

    require_once('../wp-load.php');

    If your bbPress installation is in a directory one level below WordPress (i.e. the ../ goes UP one level to find wp-load.php). You can also use a full path there instead of the relative path. In that case, it would look more like:

    require_once('/home/content/08/DBnumber/html/websitename/wp-load.php');

    chrishajer
    Participant

    Is this really the actual file name you are trying to include:

    0php’

    That should say “wp-load.php” – why the strange characters there?

    Warning: require_once(0php’) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    ^^ This is the source of the problems, right here. bbPress cannot find whatever file you are trying to include, in whatever location you said it was in.

    Can you post line 65 of bb-config.php? Is that where you include wp-load.php?

    #92096
    chrishajer
    Participant

    That means you entered incorrect database information, or did not enter the database host. Do you have four pieces of information from your host for connecting to the database?

    Database name

    Database user name

    Database password

    Database host

    If you have a host to enter, you have to tick the “advanced database details” or something like that to enter this last piece of information. Otherwise, bbPress will try to connect to localhost, and if the database is not there, you will get this error.

    If the database IS on localhost and you have just 3 pieces of database connection information, then one of your details is incorrect.

    Stick with it; you’re almost there.

    pkr3
    Member

    Good News: WordPress operating successfully. bbPress forum operating successfully. “Integrated” (NOT “deep” integrated) bbPress and WordPress successfully.

    Bad News: 12 hours effort to “Deep Integrate” so WordPress theme can be used in bbPress, etc.

    The “require_once(dirname(__FILE__) . ‘/../wp-load.php’)” command line, when executed exactly as instructed inside the “bb-config.php” file (as shown by theme company, WordPress codex, bbPress Forum and Docs) brings up errors when the forum page tries to opens. Removed the Deep Integration code and the bbPress forum page pops back up.

    Facts:

    1. Databases are separate; but regular integration works fine.

    2. All kinds of advice to no avail (i.e. putting code at top of .php file, removing forward slash before root, etc. etc.

    3. Company programmers where I host did test on different server using basic WordPress and bbPress and attained exact same results. Not a directory issue, not a database issue, not a server issue. They also tried other methods/versions of the “require_once” code but kept getting same errors.

    4. WordPress and bbPress are latest versions. WordPress is the brand new 3.0.1…requires different/new “deep integration” coding?

    5. Basic integration works so the database/directory addresses are correct.

    I have searched the forum and internet for solutions, prior to adding this post/topic, to no avail. Blindness and insanity creeping in…probably not due to this issue.

    Thank you. Thank you. Thank you!

    __________

    The errors below are what we ALL are getting on our forum page(s) when attempting to Deep Integrate. (In the errors below “DBnumber” = “undisclosed database number” – AND – “websitename” = “undisclosed website name.”)

    ___________

    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: Division by zero in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Warning: require_once(0php’) [function.require-once]: failed to open stream: No such file or directory in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    Fatal error: require_once() [function.require]: Failed opening required ‘0php’’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/08/DBnumber/html/websitename/forum/bb-config.php on line 65

    #92094
    chrishajer
    Participant

    Only one level up and the current directory. If the file is still being used by other software, be sure you change the name back properly after installing bbPress.

    #92092
    chrishajer
    Participant

    bbPress will complain about a config.php in its own directory OR the one above. Temporarily rename it if you can. The installer will complain because the bb-config.php used to be called config.php and the installer thinks that’s why you have this file here.

    #92091
    ck13
    Member

    I have a config.php in my main directory but not the one where bbpress is located..I created a sub directory called forum where the bbpress files are located so do i need to create that file within that? I just can’t figure out what would be sending that error message.

    #92090
    chrishajer
    Participant

    The file bb-config.php is created by the installer using bb-config-sample.php as a template. If you don’t have a bb-config.php then you don’t have to delete it.

    Do you have a file called config.php in this directory or one directory up? bbpress will complain if so. You will need to rename that file temporarily is you’re using it for other software.

    #92086

    yes exactly where bb-config-sample.php reside.

    there should be another file named bb-config.php

    Delete it and then you can open the url in browser as domain.com/bbpress

    #92069
    #34913

    I deleted the default admin account on my WordPress site after I gave another user admin access. I just found that I can’t access my plugin menu or settings in the integrated bbpress forum with that user(not deep integration). I have access to the database so is there any way to make my admin user a key-master again? If not is there any way I can get access to those menus again?

    Using Wp 3.0.1 and BBp 1.0.2

    #92078

    Hi _ck_

    Hooking into bbPress will also required me to save much information as the recent replies table will be different for each user.

    What’s your bbdb tool? I am more interested into querying the database directly but I am not able to think of how I can do it other than iteratively quering the database but since it will be the first screen after login (and that too different for each user), so I really can’t iteratively queries here.

    #92077
    _ck_
    Participant

    There are two ways to do this.

    One is to use bbPress itself and make a plugin that hooks new post, and then just quickly writes the info you want into plain html file somewhere that you just use file_get_contents to insert elsewhere.

    The other way is to use my bbdb tool which allows you to query any of the bbpress/wordpress databases outside of bbpress by just including one file.

    I think the first way is probably much easier.

    Hey bbPress devs!

    How can I query the database to build a recent replies table (as on profile pages), outside the bbPress environment?

    Nothing practical is striking me at the moment.

    Would love to hear your thoughts on the subject!

    #75249

    In reply to: BBPRess friends plugin

    I don’t think it’s as weird or confusing as you guys are making it sound. Lots of community sites have an option to add friends, and a forum is a community. Who really knows what it’s actually for. Basically I think just to display who you’re friends on the forum are, or to get in contact with them quickly. It can help build relationships by adding people that share common interests, etc.

    Once a board gets big, it can be pretty hard to find one of their posts just to click on their username to get to your friends profile!

    I think this is a really cool plugin idea! :) Is there anything out there that can do this?

Viewing 25 results - 42,276 through 42,300 (of 64,513 total)
Skip to toolbar