Skip to:
Content
Pages
Categories
Search
Top
Bottom

Problem with my Domain


  • benebomber
    Member

    @benebomber

    Hi,

    I got a Problem using bbPress with WordPress-Integration on the Server of my University.

    First Problem: There’s obviously no Stylesheet for the Forum-Site.

    Second Problem: When I Try to login to bbPress, there’s just a window which shows me that I don’t have permission to use this Site. I think that means that there isn’t any such Folder bbPress is looking for. Because when i’m looking up in my FTP-Client, this Folder isn’t listed. It’s “http://www.fh-augsburg.de/~steinle/Pfeil/Forumprofile/1″.

    The Domain is “http://www.fh-augsburg.de/” and WordPress is located in “http://www.fh-augsburg.de/~steinle/Pfeil”.

    I’ve got no idea what the Problem is. Please, anyone, can You help me???

Viewing 5 replies - 1 through 5 (of 5 total)
  • First off, you are missing a slash to seperate the forum and all the URL’s that it generates. The actual place you installed bbPress is:

    http://www.fh-augsburg.de/~steinle/Pfeil/Forum/

    You need to adjust some things in your config.php file in the bbPress root (above directory)

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = 'http://www.fh-augsburg.de/~steinle/Pfeil'; // Example: 'http://bbpress.example.com'

    // There should be both a leading and trailing slash here. '/' is fine if the site is in root.

    $bb->path = '/Forum/';

    As to make sure it integrates, config.php should have something like this:

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

    // If you're not, just leave the rest as it is.

    $bb->wp_table_prefix = wp_; // WordPress table prefix. Example: 'wp_';

    $bb->wp_home = 'http://www.fh-augsburg.de/~steinle/Pfeil'; // WordPress - Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = 'http://www.fh-augsburg.de/~steinle/Pfeil'; // WordPress - Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

    Keep in mind this is no exactly depending on whether this is just WP or WPMU that you are using. As well, this assumes that you have those addresses in your WP options as well.

    I think you will get the idea from this example though.

    Trent


    benebomber
    Member

    @benebomber

    Thanks a lot, Trent!

    But I did it like You told me, loaded it up once again with another table prefix and when I tried to start the install, there was an empty page.

    Do You have an idea what I did wrong?

    Here’s my config.php:

    `<?php

    // ** MySQL settings ** //

    define(‘BBDB_NAME’, ‘xxxxxxx’); // The name of the database

    define(‘BBDB_USER’, ‘xxxxxxx’); // Your MySQL username

    define(‘BBDB_PASSWORD’, ‘xxxxxxx’); // …and password

    define(‘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 = ‘pfeilfor_’; // Only letters, numbers and underscores please!

    // If your bbPress URL is http://bbpress.example.com/forums/ , the examples would be correct.

    // Adjust the domain and path to suit your actual URL.

    // Just the domain name; no directories or path. There should be no trailing slash here.

    $bb->domain = ‘http://www.fh-augsburg.de/~steinle/Pfeil’; // Example: ‘http://bbpress.example.com’

    // There should be both a leading and trailing slash here. ‘/’ is fine if the site is in root.

    $bb->path = ‘/Forum/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Das Forum zum Pfeil’;

    // This must be set before running the install script.

    $bb->admin_email = ‘benedikt.steinle@fh-augsburg.de’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = false;

    // 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 = +1;

    // 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’, ”);

    // 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 = 40b50b4582b5;

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

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

    $bb->wp_table_prefix = pfeil_; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = ‘http://www.fh-augsburg.de/~steinle/Pfeil’; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = ‘http://www.fh-augsburg.de/~steinle/Pfeil’; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

    define(‘BBPATH’, dirname(__FILE__) . ‘/’ );

    require_once( BBPATH . ‘bb-settings.php’ );

    ?>

    … I’ve got no idea what’s going wrong.

    Thanks.

    Bene

    Make sure your akismet line is:

    $bb->akismet_key = '40b50b4582b5';

    and not:

    $bb->akismet_key = 40b50b4582b5;

    Trent


    benebomber
    Member

    @benebomber

    Thanks a lot, Trent!

    I didn’t believe it’s such a trivial detail which avoided the installation from working, but now finally it does work!

    You really helped me a lot!

    Your more than welcome!

    Trent

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

You must be logged in to reply to this topic.