Skip to:
Content
Pages
Categories
Search
Top
Bottom

Configuring Config.php file?


  • worrypascanada
    Member

    @worrypascanada

    Hello,

    Need some support configuring my bbPress Config.php file at http://patrimoineacadien.com/bbpress . My WordPress blog can be found at http://patrimoineacadien.com .

    Have patience reason I don’t have advance programming knowledge.

    Please continue reading below to find my bbPress Installation related questions.

    Thanks a million for your support.

    Robert Richard.

    _______________________________________

    A) Did create a new MySQL database title patrimoi_bbpress, in my cPanel, for my new bbPress installation. Then, I inputted my already known/existing MySQL username and password. Is this correct?

    <?php

    // ** MySQL settings ** //

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

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

    define(‘BBDB_PASSWORD’, ‘***’); // …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 = ‘bb_’; // Only letters, numbers and underscores please!

    B) Everything seems to look fine for the URL. What do you think?

    // 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://patrimoineacadien.com’; // 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 = ‘/bbpress/’; // Example: ‘/forums/’

    // What are you going to call me?

    $bb->name = ‘Babillard PatrimoineAcadien.com’;

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

    $bb->admin_email = ‘***’;

    // Set to true if you want pretty permalinks.

    $bb->mod_rewrite = true;

    // 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;

    C) Getting the –1 years behavior. I’m Eastern Standard Time. How do I resolve?

    // Your timezone offset. Example: -7 for Pacific Daylight Time.

    $bb->gmt_offset = -4;

    D) Did create new folder title languages in the following path bb-includes/languages; then I added fr_FR.mo file into above new folder. French language doesn’t seem to be working. How can I resolve?

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

    E) Did I input the Akismet key at the right location?

    // 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->baacc67278bb = true;

    F) How do I configure the following in order to integrate my bbPress with my existing WordPress?

    // 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 = false; // WordPress table prefix. Example: ‘wp_’;

    $bb->wp_home = false; // WordPress – Options->General: Blog address (URL) // No trailing slash

    $bb->wp_siteurl = false; // WordPress – Options->General: WordPress address (URL) // No trailing slash

    /* Stop editing */

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

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

    ?>

Viewing 25 replies - 1 through 25 (of 38 total)

  • worrypascanada
    Member

    @worrypascanada

    Hello again,

    While clicking topics, Admin, etc… under http://patrimoineacadien.com/bbpress/ , I’m getting errors such as the one found below. What is the reason for this and how can I resolve?

    Robert Richard.

    ______________________

    «Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.

    Please contact the server administrator, *** @ patrimoineacadien.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.

    More information about this error may be available in the server error log.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.»

    First u set this wrong. It suppose to be like this “$bb->akismet_key = ‘baacc67278bb’;” not like this “$bb->baacc67278bb = true;”.

    To intergrate do like this.

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://www.patrimoineacadien.com’;

    $bb->wp_siteurl = ‘http://www.patrimoineacadien.com’;


    worrypascanada
    Member

    @worrypascanada

    Thanks for your support Atsutane,

    Here is an update… I did research further and have integrated bbPress to my existing WordPress database. The configured changes are as follow:

    (‘BBDB_NAME’, ‘***’);

    (‘BBDB_USER’, ‘***’);

    (‘BBDB_PASSWORD’, ‘***’);

    (‘BBDB_HOST’, ‘localhost’);

    $bb->domain = ‘http://patrimoineacadien.com’;

    $bb->path = ‘/bbpress/’;

    (my bbPress FTP path: /public_html/blogue/bbpress)

    $bb->name = ‘Babillard PatrimoineAcadien.com’;

    $bb->admin_email = ‘***’;

    $bb->mod_rewrite = true;

    $bb->page_topics = 30;

    $bb->edit_lock = 60;

    $bb->gmt_offset = -4; (Eastern Standard Time)

    define(‘BBLANG’, ”);

    $bb->akismet_key = false;

    $bb->wp_table_prefix = ‘wp_’;

    $bb->wp_home = ‘http://patrimoineacadien.com’;

    $bb->wp_siteurl = ‘http://patrimoineacadien.com’;

    I can login bbPress perfectly while using my existing WordPress login information.

    I can’t login bbPress with Admin access.

    I’m no longer capable of Running the Installer in order to get new Admin access, even after new fresh installation.

    I’ve FTP bbpress-integration.php http://trac.bbpress.org/ticket/438 file within my WordPress plugins folder (/public_html/blogue/wp-content/plugins), but when I activate within WordPress Control Panel Plugins, the following web page is opening (Shown partially):

    «… bbPress

    * Login

    * Settings

    * Help/Guide

    * About Trac

    * Wiki

    * Timeline

    * Roadmap

    * Browse Source

    * View Tickets

    Ticket #438: bbpress-integration.php

    File bbpress-integration.php, 2.8 kB (added by mdawaffe, 4 weeks ago)

    Line

    1 <?php

    2 /*

    3 Plugin Name: bbPress Integration

    4 Plugin URI: http://bbpress.org/#… ».

    While surfing my bbPress, I’m getting the following error:

    «Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, webmaster@patrimoineacadien.com and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log. Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.»

    How can I resolve the above difficulties?

    Thanks for your support and patience.

    Robert Richard.


    worrypascanada
    Member

    @worrypascanada

    The fr_FR.mo file has been put in the following path/languages folder /public_html/blogue/bbpress/bb-includes/languages; it doesn’t translate my bbPress.

    Once configured within Config.php file by: define(‘BBLANG’, ‘fr_FR’); I get the following error within my bbPress pages:

    Parse error: syntax error, unexpected $end in /home/patrimoi/public_html/blogue/bbpress/bb-includes/gettext.php(307) : eval()’d code on line 1

    Thanks for your reply.

    Robert Richard.


    worrypascanada
    Member

    @worrypascanada

    Finally found French .mo and .po translation files for bbPress over here:

    http://www.wordpress-fr.net/support/viewtopic.php?id=2656 (Post)

    Files download:

    http://www.saint-elie.com/bbpress_fr.0.1.zip

    Everything is now working fine.

    Robert Richard.


    worrypascanada
    Member

    @worrypascanada

    Did FTP the following files bbpress-integration.php and display-name.php into my newly created bb-plugins folder (directory path: /public_html/blogue/bbpress/bb-plugins); my bbPress seems stable.

    It’s not easy finding all facts/datas for a perfect installation.

    Robert Richard.


    worrypascanada
    Member

    @worrypascanada

    I’m still unable to login bbPress with Admin access.

    I’m no longer capable of Running the Installer in order to get new Admin access, even after new fresh installation.

    I really don’t know how to resolve the above.

    Robert Richard.

    Try make a refresh installation. Login to your mysql database and delete all bbpress related table. Then try reinstall again and see if it work or not.


    worrypascanada
    Member

    @worrypascanada

    In my 1rst bbPress installation, I had created a bbpress related MySQL table database, via my cPanel, and added existing WordPress users to the new MySQL bbPress database. I did run the bbPress Running Installer and chose an Admin username; this Installer emailed me the Admin password.

    In my 2nd bbPress configuration, I configured the config.php file to integrate bbPress to my existing WordPress MySQL database. Then, sometime, I deleted the bbPress MySQL database and bbPress users. I did not run bbPress Running Installer a 2nd time reason my bbPress was available immediately http://patrimoineacadien.com/bbpress/ .

    Since, I’ve been capable of reaching the Running Installer needed to create a new Admin username and password.

    To your request, I checked again my MySQL database, there are no bbPress MySQL database. Then, I deleted again all bbPress folders/files using my bulletproofFTP. After, I FTP uploaded bbPress folders/files back to /public_html/blogue/bbpress location. Still the same results, http://patrimoineacadien.com/bbpress/ is already up and bbPress never ask me the Running Installer.

    What else can I do? Thanks for your patience and support.


    worrypascanada
    Member

    @worrypascanada

    Both WordPress and bbPress are sharing the same Cookie for 1 single login: tested.

    New bbPress registeration, username and password, can access the WordPress login no problem.

    All bbpress database will start with prefix “bb_” and wordpress database will start with prefix “wp_”. So it was easy to see the difference between both database.


    worrypascanada
    Member

    @worrypascanada

    To get said Running Installer, new username & password, should I get basic config.php configuration?


    worrypascanada
    Member

    @worrypascanada

    Here is what I have within my MySQL database cPanel:

    MySQL Account Maintenance

    Current Databases:

    patrimoi_joom1

    Users in joom1

    patrimoi_joom1 (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:***:localhost”,”***”,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “***”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“***”);

    ***

    Users in ncls1

    *** (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:***:localhost”,”***”,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “***”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“***”);

    ***

    ***

    Users in smf1

    *** (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:***:localhost”,”***”,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “***”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“***”);

    ***

    Users in wrdp1

    *** (Privileges: ALL PRIVILEGES)

    Connection Strings

    Perl $dbh = DBI->connect(“DBI:mysql:***:localhost”,”***”,”<PASSWORD HERE>”);

    PHP $dbh=mysql_connect (“localhost”, “***”, “<PASSWORD HERE>”) or die (‘I cannot connect to the database because: ‘ . mysql_error());

    mysql_select_db (“***”);

    i mean u need to login from phpmyadmin. And delete the bbpress table from there.


    worrypascanada
    Member

    @worrypascanada

    Should my current/existing WordPress administrator access level provide me same access to bbPress?


    worrypascanada
    Member

    @worrypascanada

    I’ve got cPanel access with my web hosting company, where do I find the phpmyadmin?

    usually u can find it on your cpanel index. Or inside Mysql database page/option.


    worrypascanada
    Member

    @worrypascanada

    Gone into phpmyadmin panel, there is no bbPress database listed.


    worrypascanada
    Member

    @worrypascanada

    http://patrimoineacadien.com/bbpress/bb-admin/install.php is saying to me that bbPress already installed.


    worrypascanada
    Member

    @worrypascanada

    Have login my existing WordPress cPanel, the phpMyAdmin and MySQL doesnt have bbPress database installed. Hope that we are talking about the same location.

    Just checked with my provider support via ICQ, latter advise same location as above.

    Thanks for your patience.


    worrypascanada
    Member

    @worrypascanada

    I’m really not sure what else to do…


    worrypascanada
    Member

    @worrypascanada

    Just contacted via ICQ my web hosting provider support team to ask them to verify backend of my MySQL or phpMyAdmin for any bbPress database. Will have a respond shortly… will post ASAP.

    Thanks for your patience.


    worrypascanada
    Member

    @worrypascanada

    Do you think that the of not being capable Running Installer has something to do with my WordPress database MySQL? Will I have to delete my WordPress database?

    Not that you might even care, but some of the post above have sensitive information that maybe they want to ‘edit out’ so that it doesn’t turn into the wrong hands. I wouldn’t want my SQL database information on the net….

    Trent


    worrypascanada
    Member

    @worrypascanada

    Thanks for tip, I’ve asked new access to edit out MySQL information.

Viewing 25 replies - 1 through 25 (of 38 total)

You must be logged in to reply to this topic.