bbPress

Simple, Fast, Elegant

bbPress support forums » Installation

Installation Errors, every time, DB Issue

(4 posts)
  • Started 7 months ago by jeromyboyd
  • Latest reply from sambauers
  • This topic is resolved
  1. jeromyboyd
    Member

    I have tried installing this on my server several tims the last 2 days with no end in sight. I have attempted two different methods, and both times, I am given the same errors. I am trying to install bbpress on jeromyboyd.com/forums (my wp installation is on the root), and attempting to use my wp DB, using the options in the config file to integrate it with the DB. I am for the most part certain I am entering the prefix info correctly, and don't see why a bb installation would not work in the same DB as my p installation is, as from what I gather, that is one of the aims of bb. Regardless, if this is not so, let me know, but I have even tried installing bb in it's own DB with the same errors as below. When I direct my browser to jeromyboyd.com/forums/bb-admin/install.php, I immediately get the following errors:

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: Access denied for user 'thecross'@'localhost' (using password: NO) in /home/thecross/public_html/jeromyboyd.com/forums/bb-includes/db-mysqli.php on line 80

    Warning: mysql_get_server_info() [function.mysql-get-server-info]: A link to the server could not be established in /home/thecross/public_html/jeromyboyd.com/forums/bb-includes/db-mysqli.php on line 80

    Warning: Cannot modify header information - headers already sent by (output started at /home/thecross/public_html/jeromyboyd.com/forums/bb-includes/db-mysqli.php:80) in /home/thecross/public_html/jeromyboyd.com/forums/bb-admin/install.php on line 10

    Warning: Cannot modify header information - headers already sent by (output started at /home/thecross/public_html/jeromyboyd.com/forums/bb-includes/db-mysqli.php:80) in /home/thecross/public_html/jeromyboyd.com/forums/bb-includes/functions.php on line 1898

    Below those errors I see the installation pages as normal, letting me fill out all the information and following the steps all the way through completion. I have checked and rechecked my SQL password, which I am certain has been entered correctly in the config.php file, but nothing. The bb installs, and I can even route to the front page of the forum, but when I log in, I get the same errors without the forum template below it, just those warnings.

    Some guidance on how I can resolve this, as I am sure I am making a mistake on my side, but my knowledge of MySQL is limited. Thanks ahead of time.

    Posted 7 months ago #
  2. It's not you, it's a problem with bbPress.
    http://bbpress.org/forums/topic/cannot-select-db-error?replies=11#post-12434

    There are two trac tickets that deal with it as well:
    http://trac.bbpress.org/ticket/745 (the old one)
    http://trac.bbpress.org/ticket/757 (the new one)

    If you look through the forum for threads tagged 745, you will see lots of posts regarding the issue:
    http://bbpress.org/forums/tags/745

    Sorry you're having the trouble, but it's not too hard to fix.

    Posted 7 months ago #
  3. jeromyboyd
    Member

    Thank you, I wouldn't have even known that; the trac was difficult enough to figure out there for a minute, I was clueless looking at it, then I started to notice what it was about. Thanks for the help.

    Posted 7 months ago #
  4. The quickest (and dirtiest) solution might be to change line 91 in bb-settings.php to:

    require( BBPATH . BBINC . 'db.php');

    .
    I haven't tested this, but it should work.

    It will force bbPress to use the MySQL PHP extension instead of MySQLi

    Posted 7 months ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.