<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>bbPress Support Forums Tag: already installed</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: already installed</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 02:44:06 +0000</pubDate>

<item>
<title>spacecat4 on "Getting "already installed error" on fresh  install"</title>
<link>http://bbpress.org/forums/topic/getting-already-installed-error-on-fresh-install#post-12014</link>
<pubDate>Fri, 16 Nov 2007 13:45:51 +0000</pubDate>
<dc:creator>spacecat4</dc:creator>
<guid isPermaLink="false">12014@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;you rock! thanks!
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Getting "already installed error" on fresh  install"</title>
<link>http://bbpress.org/forums/topic/getting-already-installed-error-on-fresh-install#post-12000</link>
<pubDate>Thu, 15 Nov 2007 15:16:43 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">12000@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I didn't think you could put bbPress and WordPress in the same folder.&#60;/p&#62;
&#60;p&#62;$bb-&#38;gt;uri = 'http://www.areamom.com/test';&#60;br /&#62;
$bb-&#38;gt;wp_home = 'http://www.areamom.com/test';&#60;br /&#62;
$bb-&#38;gt;wp_siteurl = 'http://www.areamom.com/test';&#60;/p&#62;
&#60;p&#62;And &#60;a href=&#34;http://areamom.com/test/&#34; rel=&#34;nofollow&#34;&#62;http://areamom.com/test/&#60;/a&#62; points to a WordPress installation.  So, where's the bbPress?  I did find this:&#60;br /&#62;
&#60;a href=&#34;http://areamom.com/test/bbpress/&#34; rel=&#34;nofollow&#34;&#62;http://areamom.com/test/bbpress/&#60;/a&#62; which results in this error:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;Parse error: syntax error, unexpected T_VARIABLE in /home/areamomc/public_html/test/bbpress/config.php on line 29&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;That's right after the mod_rewrite line in the config.  Maybe you have an extra single quote there or you forgot the semi-colon in your config?  Oh yeah, check this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;$bb-&#38;gt;mod_rewrite = false&#60;/code&#62; &#38;lt;-- no semi-colon.&#60;/p&#62;
&#60;p&#62;That means this you should add the semicolon to the mod_rewrite line line and then this line should be changed:&#60;br /&#62;
`$bb-&#38;gt;uri = 'http://www.areamom.com/test/bbpress';
&#60;/p&#62;</description>
</item>
<item>
<title>spacecat4 on "Getting "already installed error" on fresh  install"</title>
<link>http://bbpress.org/forums/topic/getting-already-installed-error-on-fresh-install#post-11999</link>
<pubDate>Thu, 15 Nov 2007 14:44:06 +0000</pubDate>
<dc:creator>spacecat4</dc:creator>
<guid isPermaLink="false">11999@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;br /&#62;
I am running a WP site and trying to install BBpress, but when I run the install.php file, I keep getting the &#34;already installed&#34; error.&#60;br /&#62;
Here are some things I've already tried:&#60;br /&#62;
I created a new test directory and installed a fresh WP out of box, and then tried installing BB press--same error&#60;br /&#62;
I checked my databases--the only two I have are my two Word Press DB's none of which seem to have any &#34;bb_&#34; references to them.&#60;br /&#62;
Any other suggestions? Thanks in advanced!&#60;br /&#62;
Here is a copy of my config.php file that I am using in my test directory:&#60;br /&#62;
&#38;lt;?php&#60;/p&#62;
&#60;p&#62;// ** MySQL settings ** //&#60;br /&#62;
define('BBDB_NAME', 'areamomc_wrdp2'); // The name of the database&#60;br /&#62;
define('BBDB_USER', 'areamomc_wrdp2'); // Your MySQL username&#60;br /&#62;
define('BBDB_PASSWORD', '**************'); // ...and password&#60;br /&#62;
define('BBDB_HOST', 'localhost'); // 99% chance you won't need to change these last few&#60;/p&#62;
&#60;p&#62;define('BBDB_CHARSET', 'utf8'); // If you are *upgrading*, and your old config.php does&#60;br /&#62;
define('BBDB_COLLATE', ''); // not have these two contstants in them, DO NOT define them&#60;br /&#62;
// If you are installing for the first time, leave them here&#60;/p&#62;
&#60;p&#62;// Change the prefix if you want to have multiple forums in a single database.&#60;br /&#62;
$bb_table_prefix = 'bb_'; // Only letters, numbers and underscores please!&#60;/p&#62;
&#60;p&#62;// The full URL of your bbPress install&#60;br /&#62;
$bb-&#38;gt;uri = 'http://www.areamom.com/test';&#60;/p&#62;
&#60;p&#62;// What are you going to call me?&#60;br /&#62;
$bb-&#38;gt;name = 'Area Mom Forums';&#60;/p&#62;
&#60;p&#62;// This must be set before you run the install script.&#60;br /&#62;
$bb-&#38;gt;admin_email = '*********';&#60;/p&#62;
&#60;p&#62;// Set to true if you want pretty permalinks, set to 'slugs' if you want to use slug based pretty permalinks.&#60;br /&#62;
$bb-&#38;gt;mod_rewrite = false&#60;/p&#62;
&#60;p&#62;// The number of topics that show on each page.&#60;br /&#62;
$bb-&#38;gt;page_topics = 30;&#60;/p&#62;
&#60;p&#62;// A user can edit a post for this many minutes after submitting.&#60;br /&#62;
$bb-&#38;gt;edit_lock = 60;&#60;/p&#62;
&#60;p&#62;// Your timezone offset. Example: -7 for Pacific Daylight Time.&#60;br /&#62;
$bb-&#38;gt;gmt_offset = -5;&#60;/p&#62;
&#60;p&#62;// Change this to localize bbPress. A corresponding MO file for the&#60;br /&#62;
// chosen language must be installed to bb-includes/languages.&#60;br /&#62;
// For example, install de.mo to bb-includes/languages and set BBLANG to 'de'&#60;br /&#62;
// to enable German language support.&#60;br /&#62;
define('BBLANG', '');&#60;/p&#62;
&#60;p&#62;// Your Akismet Key. You do not need a key to run bbPress, but if you want to take advantage&#60;br /&#62;
// of Akismet's powerful spam blocking, you'll need one. You can get an Akismet key at&#60;br /&#62;
// &#60;a href=&#34;http://wordpress.com/api-keys/&#34; rel=&#34;nofollow&#34;&#62;http://wordpress.com/api-keys/&#60;/a&#62;&#60;br /&#62;
$bb-&#38;gt;akismet_key = '********'; // Example: '0123456789ab'&#60;/p&#62;
&#60;p&#62;// The rest is only useful if you are integrating bbPress with WordPress.&#60;br /&#62;
// If you're not, just leave it as it is.&#60;/p&#62;
&#60;p&#62;$bb-&#38;gt;wp_table_prefix = 'wp_'; // WordPress table prefix. Example: 'wp_';&#60;br /&#62;
$bb-&#38;gt;wp_home = 'http://www.areamom.com/test'; // WordPress - Options-&#38;gt;General: Blog address (URL) // Example: 'http://example.com'&#60;br /&#62;
$bb-&#38;gt;wp_siteurl = 'http://www.areamom.com/test'; // WordPress - Options-&#38;gt;General: WordPress address (URL) // Example: 'http://example.com'&#60;/p&#62;
&#60;p&#62;/* Stop editing */&#60;/p&#62;
&#60;p&#62;if ( !defined('BBPATH') )&#60;br /&#62;
define('BBPATH', dirname(__FILE__) . '/' );&#60;br /&#62;
require_once( BBPATH . 'bb-settings.php' );&#60;br /&#62;
require_once('/public_html/test/wp-blog-header.php')&#60;/p&#62;
&#60;p&#62;?&#38;gt;
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Error: Already installed"</title>
<link>http://bbpress.org/forums/topic/error-already-installed#post-11256</link>
<pubDate>Tue, 02 Oct 2007 20:19:55 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">11256@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;For you to see the source of the php page, it's almost like your webserver is not parsing php files or something, or something in your htaccess is treating php files as html or something.
&#60;/p&#62;</description>
</item>
<item>
<title>inimicus on "Error: Already installed"</title>
<link>http://bbpress.org/forums/topic/error-already-installed#post-11251</link>
<pubDate>Tue, 02 Oct 2007 18:49:40 +0000</pubDate>
<dc:creator>inimicus</dc:creator>
<guid isPermaLink="false">11251@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi!&#60;br /&#62;
I am trying out BB for the first time, but upon running install.php I get this:&#60;br /&#62;
&#60;pre&#62;&#60;code&#62;hide_errors(); $installed = $bbdb-&#38;gt;get_results(&#38;quot;SELECT * FROM $bbdb-&#38;gt;forums LIMIT 1&#38;quot;); if ( $installed ) : if ( !$new_keymaster = bb_get_option( &#38;#39;new_keymaster&#38;#39; ) ) die(sprintf(__(&#38;#39;
Already Installed

You appear to have already installed bbPress. Perhaps you meant to upgrade instead?

To reinstall please clear your old database tables first.
&#38;#39;) . &#38;#39;&#38;#39;, bb_get_option( &#38;#39;uri&#38;#39; ) . &#38;#39;bb-admin/upgrade.php&#38;#39;)); $meta_key = $bb_table_prefix . &#38;#39;capabilities&#38;#39;; $keymaster = false; if ( $keymasters = $bbdb-&#38;gt;get_results(&#38;quot;SELECT * FROM $bbdb-&#38;gt;usermeta WHERE meta_key = &#38;#39;$meta_key&#38;#39; AND meta_value LIKE &#38;#39;%keymaster%&#38;#39;&#38;quot;) ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential-&#38;gt;meta_value); if ( is_array($pot_array) &#38;#38;&#38;#38; array_key_exists(&#38;#39;keymaster&#38;#39;, $pot_array) &#38;#38;&#38;#38; true === $pot_array[&#38;#39;keymaster&#38;#39;] ) die(__(&#38;#39;
Already Installed

You appear to have already installed bbPress. Perhaps you meant to run the upgrade scripts instead? To reinstall please clear your old database tables first.
&#38;#39;) . &#38;#39;&#38;#39;); } } $user = new BB_User( $new_keymaster ); if ( $user-&#38;gt;data ) : $user-&#38;gt;set_role( &#38;#39;keymaster&#38;#39; ); ?&#38;gt;

data-&#38;gt;user_login); ?&#38;gt;

show_errors(); switch ($step): case 0: ?&#38;gt;

hide_errors(); if ( $users = $bbdb-&#38;gt;get_var(&#38;quot;SELECT ID FROM $bbdb-&#38;gt;users LIMIT 1&#38;quot;) ) { $meta_key = $bb_table_prefix . &#38;#39;capabilities&#38;#39;; if ( $keymasters = $bbdb-&#38;gt;get_results(&#38;quot;SELECT * FROM $bbdb-&#38;gt;usermeta WHERE meta_key = &#38;#39;$meta_key&#38;#39; AND meta_value LIKE &#38;#39;%keymaster%&#38;#39;&#38;quot;) ) { foreach ( $keymasters as $potential ) { $pot_array = unserialize($potential-&#38;gt;meta_value); if ( array_key_exists(&#38;#39;keymaster&#38;#39;, $pot_array) &#38;#38;&#38;#38; true === $pot_array[&#38;#39;keymaster&#38;#39;] ) { $keymaster = (int) $potential-&#38;gt;user_id; break; } } if ( $keymaster ) $keymaster = $bbdb-&#38;gt;get_row(&#38;quot;SELECT * FROM $bbdb-&#38;gt;users WHERE ID = &#38;#39;$keymaster&#38;#39;&#38;quot;); } } $bbdb-&#38;gt;show_errors(); } ?&#38;gt;

everything (database information, email address, etc.) entered correctly in config.php before running this script.&#38;#39;); ?&#38;gt;
add(&#38;#39;domain&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;domain setting must not end in a backslash &#38;quot;/&#38;quot;.&#38;#39;) ); $domain = parse_url($bbd); if ( !$domain ) $errors-&#38;gt;add(&#38;#39;domain&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;domain setting cannot be parsed.&#38;#39;) ); // Not very helpful, but should essentially never happen. if ( !$domain[&#38;#39;scheme&#38;#39;] ) $errors-&#38;gt;add(&#38;#39;domain&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;domain setting must start with &#60;a href=&#34;http://.&#38;#39;&#34; rel=&#34;nofollow&#34;&#62;http://.&#38;#39;&#60;/a&#62;) ); if ( $domain[&#38;#39;path&#38;#39;] &#38;#38;&#38;#38; &#38;#39;/&#38;#39; != $domain[&#38;#39;path&#38;#39;] ) $errors-&#38;gt;add(&#38;#39;domain&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;domain setting must only include the &#60;a href=&#34;http://&#34; rel=&#34;nofollow&#34;&#62;http://&#60;/a&#62; and the domain name; it may not include any directories or path information.&#38;#39;) ); if ( &#38;#39;/&#38;#39; != $bbp{0} ) $errors-&#38;gt;add(&#38;#39;path&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;path setting must start with a backslash &#38;quot;/&#38;quot;.&#38;#39;) ); if ( &#38;#39;/&#38;#39; != substr($bbp, -1) ) $errors-&#38;gt;add(&#38;#39;path&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;path setting must end with a backslash &#38;quot;/&#38;quot;.&#38;#39;) ); // We don&#38;#39;t really do anything with $bb-&#38;gt;wp_site_url. if ( $wph = bb_get_option( &#38;#39;wp_home&#38;#39; ) ) { if ( &#38;#39;/&#38;#39; == $wph{strlen($wph) - 1} ) $errors-&#38;gt;add(&#38;#39;wp_home&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;wp_home setting must not end in a backslash &#38;quot;/&#38;quot;.&#38;#39;) ); $home = parse_url($wph); if ( !$home ) $errors-&#38;gt;add(&#38;#39;wp_home&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;wp_home setting cannot be parsed.&#38;#39;) ); if ( !$home[&#38;#39;scheme&#38;#39;] ) $errors-&#38;gt;add(&#38;#39;wp_home&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;wp_home setting must start with &#60;a href=&#34;http://.&#38;#39;&#34; rel=&#34;nofollow&#34;&#62;http://.&#38;#39;&#60;/a&#62;) ); if ( preg_match(&#38;#39;&#124;(.*\.)?([^.]+\.[^.]+)&#124;&#38;#39;, $domain[&#38;#39;host&#38;#39;], $d2 ) &#38;#38;&#38;#38; preg_match(&#38;#39;&#124;(.*\.)?([^.]+\.[^.]+)&#124;&#38;#39;, $home[&#38;#39;host&#38;#39;], $h2 )) if ( $d2[2] != $h2[2] ) $errors-&#38;gt;add(&#38;#39;cookie&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;domain and $bb-&#38;gt;wp_home settings do not have the same domain.
You cannot share login cookies between the two.
Remove the $bb-&#38;gt;wp_home setting from your config.php file.&#38;#39;) ); if ( !strstr($bbp, $home[&#38;#39;path&#38;#39;] . &#38;#39;/&#38;#39;) ) $notices-&#38;gt;add(&#38;#39;cookie&#38;#39;, __(&#38;quot;Your bbPress URL ({$bbd}$bbp) is not a subdirectory of your WordPress URL ($bb-&#38;gt;wp_home).
Sharing login cookies is possible but is more complicated. See the documentation about integrating bbPress and WordPress.
In the meantime, remove the $bb-&#38;gt;wp_home setting from your config.php file, or you may not be able to log in.&#38;quot;) ); } if ( $cd = bb_get_option( &#38;#39;cookiedomain&#38;#39; ) ) { if ( &#38;#39;.&#38;#39; == $cd{0} ) $cd = substr($cd, 1); if ( !strstr($bbd, $cd) ) $errors-&#38;gt;add(&#38;#39;cookie&#38;#39;, __(&#38;#39;Your $bb-&#38;gt;cookiedomain is not in the same domain as your $bb-&#38;gt;domain. You will not be able to log in.&#38;#39;) ); } $cp = bb_get_option( &#38;#39;cookiepath&#38;#39; ); if ( $cp != preg_replace(&#38;#39;&#124;https?://[^/]+&#124;i&#38;#39;, &#38;#39;&#38;#39;, bb_get_option( &#38;#39;wp_home&#38;#39; ) . &#38;#39;/&#38;#39;) &#38;#38;&#38;#38; !strstr($bbp, $cp) ) $notices-&#38;gt;add(&#38;#39;cookie&#38;#39;, __(&#38;#39;Your bbPress URL $bb-&#38;gt;path is outside of your $bb-&#38;gt;cookiepath. You may not be able to log in.&#38;#39;) ); if ( $ecodes = $errors-&#38;gt;get_error_codes() ) { echo &#38;quot;

    * \n&#38;quot;; if ( in_array(&#38;#39;domain&#38;#39;, $ecodes) ) foreach ( $errors-&#38;gt;get_error_messages( &#38;#39;domain&#38;#39; ) as $message ) echo &#38;quot;\t$message
    * \n&#38;quot;; if ( in_array(&#38;#39;path&#38;#39;, $ecodes) ) foreach ( $errors-&#38;gt;get_error_messages( &#38;#39;path&#38;#39; ) as $message ) echo &#38;quot;\t$message
    * \n&#38;quot;; if ( in_array(&#38;#39;wp_home&#38;#39;, $ecodes) ) foreach ( $errors-&#38;gt;get_error_messages( &#38;#39;wp_home&#38;#39; ) as $message ) echo &#38;quot;\t$message
    * \n&#38;quot;; if ( array(&#38;#39;cookie&#38;#39;) == $ecodes ) { // Only show cookie errors if nothing else is wrong foreach ( $errors-&#38;gt;get_error_messages( &#38;#39;cookie&#38;#39; ) as $message ) echo &#38;quot;\t$message
      \n&#38;quot;; echo &#38;quot;

\n&#38;quot;; break; } echo &#38;quot;\n&#38;quot;; echo &#38;quot;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It continues from there...&#60;br /&#62;
The problem is, I have never installed BBPress.  I went to MySQL after I got the error the first time, made a database for BB called &#34;bbpress&#34; but still get the error (even though the database is new, fresh and entirely empty).  What's up?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
