mokona (@mokona)

Forum Replies Created

Viewing 1 replies (of 1 total)

  • mokona
    Member

    @mokona

    Hi, I think I’ve got the same problem.

    I’m trying to install bbPress into a subdirectory of wordPress and I want it to have the same template of my main site.

    I’ve looked this topic and I’ve uninstalled bbPress and made some changes to my config.php, that now looks like:

    <?php

    require_once('/home/wererabbit/demon.wererabbit.net/wp-blog-header.php');

    define('WP_BB', true);

    define('BBDB_NAME', '*****');

    define('BBDB_USER', '*****');

    define('BBDB_PASSWORD', '******');

    define('BBDB_HOST', 'mysql.wererabbit.net');

    $bb_table_prefix = 'bb_';

    $bb->domain = 'http://demon.wererabbit.net/';

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

    $bb->name = 'Forum';

    $bb->admin_email = 'lum@wererabbit.net';

    $bb->mod_rewrite = true;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = 0;

    $bb->akismet_key = false;

    $bb->wp_table_prefix = 'wp_';

    $bb->wp_home = 'http://demon.wererabbit.net';

    $bb->wp_siteurl = 'http://demon.wererabbit.net';

    define(WPp_BB', true);

    define('BBPATH', dirname(__FILE__) . '/' );

    require_once( BBPATH . 'bb-settings.php' );

    ?>

    Now when I try to install I get a parse error:

    Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING in /home/.nevermore/wererabbit/demon.wererabbit.net/forum/config.php on line 57

    line 57 is:

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

    I think there’s something missing but I do not catch it.

Viewing 1 replies (of 1 total)