bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Configuring Config.php file?

(39 posts)
  • Started 1 year ago by worrypascanada
  • Latest reply from worrypascanada
  • This topic is resolved
  1. 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' );

    ?>

    Posted 1 year ago #
  2. 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.»

    Posted 1 year ago #
  3. 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';

    Posted 1 year ago #
  4. 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.

    Posted 1 year ago #
  5. 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.

    Posted 1 year ago #
  6. 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.

    Posted 1 year ago #
  7. 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.

    Posted 1 year ago #
  8. 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.

    Posted 1 year ago #
  9. 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.

    Posted 1 year ago #
  10. 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.

    Posted 1 year ago #
  11. 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.

    Posted 1 year ago #
  12. 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.

    Posted 1 year ago #
  13. To get said Running Installer, new username & password, should I get basic config.php configuration?

    Posted 1 year ago #
  14. 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 ("***");

    Posted 1 year ago #
  15. i mean u need to login from phpmyadmin. And delete the bbpress table from there.

    Posted 1 year ago #
  16. Should my current/existing WordPress administrator access level provide me same access to bbPress?

    Posted 1 year ago #
  17. I've got cPanel access with my web hosting company, where do I find the phpmyadmin?

    Posted 1 year ago #
  18. usually u can find it on your cpanel index. Or inside Mysql database page/option.

    Posted 1 year ago #
  19. Gone into phpmyadmin panel, there is no bbPress database listed.

    Posted 1 year ago #
  20. http://patrimoineacadien.com/bbpress/bb-admin/install.php is saying to me that bbPress already installed.

    Posted 1 year ago #
  21. 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.

    Posted 1 year ago #
  22. I'm really not sure what else to do...

    Posted 1 year ago #
  23. 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.

    Posted 1 year ago #
  24. 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?

    Posted 1 year ago #
  25. 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

    Posted 1 year ago #
  26. Thanks for tip, I've asked new access to edit out MySQL information.

    Posted 1 year ago #
  27. I've got report back from my web hosting company, latter advise that they found no bbpress MySQL database saved on my cPanel server.

    I really don't know what to do next... do you?

    Posted 1 year ago #
  28. If I Integrated my bbPress with WordPress MySQL database, should I get full Administrator access by using my WordPress Administrator username and password?

    Posted 1 year ago #
  29. In your setup of bbPress, it asked who the 'key master' would be for the administrator. Whatever user account you used there will be the admin of the bbpress forum.

    The bbpress tables in the database will be in the 'patrimoi_wrdp1' database with your host with the prefix for files being bb_

    As for the problems you are getting, I am a little unclear what you have fixed and what is still wrong. Could you summarize all the above posts to see if I can help more?

    As for the 'editing of post', maybe a MODERATOR will see this post or your other post and can edit it for you. Suprised that we can't edit our own posts here, but can in Wordpress forums......

    Posted 1 year ago #
  30. Thanks Trent,

    Yes, I also wish I could clean up my previous posts.

    My only main issue to resolve is that I’m no longer capable of Running the Installer in order to get new Admin access, username and password, even after new fresh FTP upload. I don’t have Admin access to bbPress. I've configured Config.php to integrate my existing WordPress MySQL database.

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

    All of my previous posted issues have been resolve.

    Robert.

    Posted 1 year ago #

RSS feed for this topic

Reply »

You must log in to post.

Code is Poetry.