Line 80 error
-
Hello,
This is my first bat at installing BBpress. I’m looking forward to playing with it if I can figure out what’s wrong with it. Can someone help me troubleshoot here? I think I read somewhere on the forums that someone had a similar issue but I can’t find that post again.
So first of all I’m integrating it a previous wordpress installation. I put everything in a subdirectory called /forums/. For the database info in the config file I put all of the same info for the wordpress install, I hope that was correct.
I have no clue what this is:
define(‘BBDB_CHARSET’, ‘utf8’);
define(‘BBDB_COLLATE’, ”);
So I left it blank, is that correct?
Lastly, at the bottom I entered this:
$bb->wp_table_prefix = ‘wp_’;
$bb->wp_home = ‘http://www.airshipleague.com/forums’;
$bb->wp_siteurl = ‘http://www.airshipleague.com’;
Is this correct??? I’m not sure what the difference between _home and _siteurl is. I’m assuming that home is where I want the forums to go and the url is the domain of the site as a whole…But that’s totally guesswork. A lot of this database stuff is greek to me.
So I uploaded everything and went to install it and would continually see the error above the install wizard:
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can’t connect to local MySQL server through socket ‘/usr/local/mysql-5.0/data/mysql.sock’ (2) in /home/content/o/p/e/openartist/html/airshipleague/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/content/o/p/e/openartist/html/airshipleague/forums/bb-includes/db-mysqli.php on line 80
Warning: Cannot modify header information – headers already sent by (output started at /home/content/o/p/e/openartist/html/airshipleague/forums/bb-includes/db-mysqli.php:80) in /home/content/o/p/e/openartist/html/airshipleague/forums/bb-admin/install.php on line 10
Warning: Cannot modify header information – headers already sent by (output started at /home/content/o/p/e/openartist/html/airshipleague/forums/bb-includes/db-mysqli.php:80) in /home/content/o/p/e/openartist/html/airshipleague/forums/bb-includes/functions.php on line 1898
I figured I would try and install anyways crossing my fingers it would disappear. The install completed and sent me a confirmation email. When I logged on for the first time above the forums it says:
Warning: mysql_get_server_info() [function.mysql-get-server-info]: Can’t connect to local MySQL server through socket ‘/usr/local/mysql-5.0/data/mysql.sock’ (2) in /home/content/o/p/e/openartist/html/airshipleague/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/content/o/p/e/openartist/html/airshipleague/forums/bb-includes/db-mysqli.php on line 80
If I try and log in it will hang and nothing will happen. If I refresh it will bring me to a login page with similar error messages hanging above.
If it matters at all I’m using Godaddy’s service which allows me to have multiple domains on a single IP, so the site is really a subfolder of my main url that airshipleague.com is forwarded to. I don’t have problems with that at all when I install wordpress though.
Many thanks for any help you can give me!
- You must be logged in to reply to this topic.