Skip to:
Content
Pages
Categories
Search
Top
Bottom

I can’t install bbPress.


  • llabrealityblog
    Member

    @llabrealityblog

    I’ve included everything I need in my config.php file, but I keep getting this error message:

    There doesn’t seem to be a config.php file. I need this before we can get started. Open up config-sample.php, fill in your details, and save it as config.php.

    I have the config.php file right there in the /bb-admin directory.

    Somebody help!

Viewing 22 replies - 1 through 22 (of 22 total)

  • Trent Adams
    Member

    @trent

    It has to be in the root directory of / not /bb-admin/

    Trent


    llabrealityblog
    Member

    @llabrealityblog

    Oh, thanks.


    llabrealityblog
    Member

    @llabrealityblog

    Now I’m getting this error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/llab/public_html/wordpress/wp-content/plugins/config.php on line 14

    It won’t let me move the config.php file.


    Trent Adams
    Member

    @trent

    bbPress is not a plugin for wordpress. You are better having it as a subdirectory, such as wordpress/forums/, but don’t have it in /wordpress/wp-content/plugins/.

    Try it’s own directory with nothing to do with wordpress.

    Trent


    llabrealityblog
    Member

    @llabrealityblog

    I have it installed, now I can’t log in. I know I have the right username and password.

    Here’s my forum.

    http://llabrealityblog.x10hosting.com/wordpress/forums/bbpress/


    chrishajer
    Participant

    @chrishajer

    I registered, and could not log in with my username and password. Also, I never received a welcome email. So, something is screwy, for sure. Can you look in the database and be sure the users were added? Are you integrated with your WordPress install?


    llabrealityblog
    Member

    @llabrealityblog

    I will do that.

    Thanks for all your help so far, guys, I really appreciate it.

    ETA: I have no idea how to look in the database. I’m kind of new to the whole “hosting my own forums” thing.


    chrishajer
    Participant

    @chrishajer

    Depending on your host, there might be a control panel of some sort. In there, you want to find a tool called phpMyAdmin. If that’s there, you’re in good shape. You can also access the database from the command line, if you have ssh access, or if you just have FTP access, you can still install phpMyAdmin in your own account. You need some way to access the database, at least to see if the users are being created.


    llabrealityblog
    Member

    @llabrealityblog

    I added my account in using phpMyAdmin, but now I’m getting this error:

    Cannot select DB.

    I can’t load my forum anymore. It keeps displaying that error.


    chrishajer
    Participant

    @chrishajer

    Sounds like you need to set the database details in the config for phpMyAdmin. Can you give more details about what you setup?


    fel64
    Member

    @fel64

    > I have it installed, now I can’t log in.

    Cookie problem. Clear your cookies, attempt to log in, check what cookies were set. Tell us.


    llabrealityblog
    Member

    @llabrealityblog

    > Can you give more details about what you setup?

    I simply added my username and password into the user database.

    > Clear your cookies, attempt to log in, check what cookies were set. Tell us.

    I would, if I could get into the board.


    chrishajer
    Participant

    @chrishajer

    regarding your setup

    1. did you install phpMyAdmin yourself, or is it part of a control panel?

    2. did you edit any config files by hand?

    3. what do your installation directories look like (i.e. where did you install phpMyAdmin in relation to the other directories you have for your WP and bbPress installations?)

    is it something like

    /home/llab/public_html/wordpress/

    /home/llab/public_html/wordpress/forums/bbpress/


    (why the extra directory here ^?)

    /home/llab/public_html/phpMyAdmin/

    Is your config file for bbpress in the forums directory or the bbpress directory? (IMPORTANT)

    I think the forums directory is extra, and maybe that’s causing problems?


    chrishajer
    Participant

    @chrishajer

    This is accessible:

    http://llabrealityblog.x10hosting.com/wordpress/forums/bbpress/bb-templates/kakumei/screenshot.png

    So, my guess is that extra directory “forums” is causing trouble, and that you have the config.php in that directory instead of the proper bbpress directory.

    You can eliminate that forums directory if you want, unless you’re planning on running multiple forum software. If you eliminate that forum directory, make sure you update the config.php so the paths there match your webserver paths.

    The big problem I think is that your config.php is in the forums folder instead of the bbpress folder where it belongs.

    And I don’t think it has anything to do with phpMyAdmin (I thought it did since that’s when you said you couldn’t log in, after the talk of phpMyAdmin – maybe you never installed that?)


    llabrealityblog
    Member

    @llabrealityblog

    No, it was in the control panel.


    llabrealityblog
    Member

    @llabrealityblog

    Okay, I moved the config.php file, and the same error keeps coming up.

    I’ve also deleted the forums folder and moved the bbPress folder to /wordpress.


    chrishajer
    Participant

    @chrishajer

    OK – everything appears to be in the correct location now. I think there is just a simple problem with the config.php database details now. Can you verify that these 4 are absolutely accurate in your config.php?

    define('BBDB_NAME', 'xxxxxxxx');
    define('BBDB_USER', 'xxxxxxxxx');
    define('BBDB_PASSWORD', 'xxxxxxxx');
    define('BBDB_HOST', 'xxxxxxxx');

    The host might not be localhost. Mine is not. And you don’t have a syntax error in the file (like a missing or extra quote) but something like one of those values is inaccurate. Posting it here in edited form won’t help, you have to verify that the database name, user, password and host are all accurate. You’re the only one who can do that. Once you have that, we need to get back to the original problem.


    llabrealityblog
    Member

    @llabrealityblog

    Here it is.

    // ** MySQL settings **

    //define(‘BBDB_NAME’, ‘xxxx’);

    // The name of the databasedefine(‘BBDB_USER’, xxxx);

    // Your MySQL usernamedefine(‘BBDB_PASSWORD’, ‘xxx’);

    // …and passworddefine(‘BBDB_HOST’, ‘localhost’);

    // 99% chance you won’t need to change this value

    // Change the prefix if you want to have multiple forums in a single database.

    $bb_table_prefix = ‘bb_';

    // Only letters, numbers and underscores please!

    // The full URL of your bbPress install

    $bb->uri = ‘http://llabrealityblog.x10hosting.com/wordpress/bbpress';

    // What are you going to call me?

    $bb->name = ‘LLAB`s Reality Board';

    // This must be set before you run the install script.

    $bb->admin_email = ‘worldostuff@gmail.com';

    // Set to true if you want pretty permalinks, set to ‘slugs’ if you want to use slug based pretty permalinks.$bb->mod_rewrite = slugs;

    // The number of topics that show on each page.

    $bb->page_topics = 30;

    // A user can edit a post for this many minutes after submitting.

    $bb->edit_lock = 60;

    // Your timezone offset.

    Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = 0;

    // Change this to localize bbPress. A corresponding MO file for the

    // chosen language must be installed to bb-includes/languages.

    // For example, install de.mo to bb-includes/languages and set BBLANG to ‘de’

    // to enable German language support.define

    (‘BBLANG’, ‘English’);

    // Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage

    // of Akismet’s powerful spam blocking, you’ll need one. You can get an Akismet key at

    // http://wordpress.com/api-keys/$bb->akismet_key = ”;

    // Example: ‘0123456789ab’

    // The rest is only useful if you are integrating bbPress with WordPress.

    // If you’re not, just leave it as it is.

    $bb->wp_table_prefix = ”;

    // WordPress table prefix. Example: ‘wp_';$bb->wp_home = ”;

    // WordPress – Options->General: Blog address (URL)

    // Example: ‘http://example.com’

    $bb->wp_siteurl = ”;

    // WordPress – Options->General: WordPress address (URL)

    // Example: ‘http://example.com’

    /* Stop editing *

    /if ( !defined(‘BBPATH’) ) define(‘BBPATH’, dirname(__FILE__) . ‘/’ );require_once( BBPATH . ‘bb-settings.php’ );


    chrishajer
    Participant

    @chrishajer

    Hard to tell from that cut n paste since the formatting is all messed up. I don’t think it’s a syntax error anyway, it’s just a database connection issue. One of the connection details is not accurate.

    Is the BBDB_USER quoted in the config.php file (it is not in the edited version here)?


    llabrealityblog
    Member

    @llabrealityblog

    I have no idea.


    llabrealityblog
    Member

    @llabrealityblog

    Chris was very helpful in fixing the problems. This topic is RESOLVED.


    chrishajer
    Participant

    @chrishajer

    For future reference, the database password was wrong in the config.php.

Viewing 22 replies - 1 through 22 (of 22 total)

You must be logged in to reply to this topic.