<?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: step</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Tag: step</description>
<language>en</language>
<pubDate>Tue, 02 Dec 2008 06:08:42 +0000</pubDate>

<item>
<title>feelie75 on "Had to comment out 'return false' to get install to work"</title>
<link>http://bbpress.org/forums/topic/had-to-comment-out-return-false-to-get-install-to-work#post-15299</link>
<pubDate>Sat, 12 Apr 2008 04:38:14 +0000</pubDate>
<dc:creator>feelie75</dc:creator>
<guid isPermaLink="false">15299@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;This is the code that was making the call and getting the return false returned to it, thus resulting in this error:&#60;/p&#62;
&#60;p&#62;       if (!$bbdb-&#38;gt;db_connect('SHOW TABLES;')) {&#60;br /&#62;
              $this-&#38;gt;step_status[1] = 'incomplete';&#60;br /&#62;
              $this-&#38;gt;strings[1]['messages']['error'][] = __('There was a problem connecting to the database you specified.&#60;br /&#62;Please check the settings, then try again.');&#60;br /&#62;
              return 'error';&#60;br /&#62;
       }&#60;/p&#62;
&#60;p&#62;db_connect was returning false when it detected $this-&#38;gt;$dbhname was undef. So by removing the return false when that happened, the db_connect call then succeeded and all was happy :).&#60;/p&#62;
&#60;p&#62;To answer the other person, I'm hosting on localhost. I have an old PowerPC Mac running OS X 10.4.11 or something. It's a spare computer; thought I'd stick a forum on it and learn some php.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "Had to comment out 'return false' to get install to work"</title>
<link>http://bbpress.org/forums/topic/had-to-comment-out-return-false-to-get-install-to-work#post-15197</link>
<pubDate>Wed, 09 Apr 2008 18:20:45 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">15197@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What host are you using?
&#60;/p&#62;</description>
</item>
<item>
<title>sambauers on "Had to comment out 'return false' to get install to work"</title>
<link>http://bbpress.org/forums/topic/had-to-comment-out-return-false-to-get-install-to-work#post-15188</link>
<pubDate>Wed, 09 Apr 2008 15:39:24 +0000</pubDate>
<dc:creator>sambauers</dc:creator>
<guid isPermaLink="false">15188@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Were you getting an error message when it didn't work? It would be useful to know it if you did.
&#60;/p&#62;</description>
</item>
<item>
<title>feelie75 on "Had to comment out 'return false' to get install to work"</title>
<link>http://bbpress.org/forums/topic/had-to-comment-out-return-false-to-get-install-to-work#post-15178</link>
<pubDate>Wed, 09 Apr 2008 07:26:23 +0000</pubDate>
<dc:creator>feelie75</dc:creator>
<guid isPermaLink="false">15178@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm sure this ISNT the proper solution, heh, but since it worked I thought I'd point it out.&#60;/p&#62;
&#60;p&#62;After Step 1 failed many times, I set out to debug it. My travel took me here:&#60;br /&#62;
bb-includes/db-mysql.php&#60;/p&#62;
&#60;p&#62;                $this-&#38;gt;$dbhname = @mysql_connect( $server-&#38;gt;host, $server-&#38;gt;user, $server-&#38;gt;pass, true );&#60;br /&#62;
                if (!$this-&#38;gt;$dbhname)&#60;br /&#62;
                       return false;&#60;/p&#62;
&#60;p&#62;That was failing and returning false everytime. I couldn't figure it out. I printed out the hose and user and password, and it looked good. I could connect just fine from a shell prompt.&#60;/p&#62;
&#60;p&#62;After confirming that it actually WAS connecting, and that it was simply the lack of $this-&#38;gt;$dbhname that was causing the failure, I just commented out the return false; and VOILA! It worked! Installation finished and I can post messages, etc, etc, everything seems fine.&#60;/p&#62;
&#60;p&#62;Soooo... What's up with that?! hehe. $dbhname was == 'dbh_local'. &#60;/p&#62;
&#60;p&#62;Not sure what other details I can provide. Just thought I'd share the rather strange experience and oddness that I'd have to hack the db_connect code to get the install to complete... Weird!!
&#60;/p&#62;</description>
</item>
<item>
<title>fel64 on "Step Two Database Error"</title>
<link>http://bbpress.org/forums/topic/step-two-database-error#post-5539</link>
<pubDate>Thu, 15 Mar 2007 00:36:23 +0000</pubDate>
<dc:creator>fel64</dc:creator>
<guid isPermaLink="false">5539@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;You have to enter the right password and username in &#60;code&#62;config.php&#60;/code&#62; to your databases.&#60;/p&#62;
&#60;p&#62;I don't know what Yahoo Webhosting entails, but unless it says MySQL tables somewhere you can't use it. You need hosting that allows you to create MySQL databases, and they should be able to tell you your details to log into that. :)
&#60;/p&#62;</description>
</item>
<item>
<title>boomanfloral on "Step Two Database Error"</title>
<link>http://bbpress.org/forums/topic/step-two-database-error#post-5538</link>
<pubDate>Thu, 15 Mar 2007 00:12:09 +0000</pubDate>
<dc:creator>boomanfloral</dc:creator>
<guid isPermaLink="false">5538@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for the advice! &#60;/p&#62;
&#60;p&#62;I'm using Yahoo Webhosting Services. I looked around, and I don't see where to change those 'permissions' :( Does anyone know?&#60;/p&#62;
&#60;p&#62;Thanks again!&#60;/p&#62;
&#60;p&#62;daniel
&#60;/p&#62;</description>
</item>
<item>
<title>Trent on "Step Two Database Error"</title>
<link>http://bbpress.org/forums/topic/step-two-database-error#post-5536</link>
<pubDate>Wed, 14 Mar 2007 23:08:19 +0000</pubDate>
<dc:creator>Trent</dc:creator>
<guid isPermaLink="false">5536@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It would seem that it didn't work from the errors because your database user doesn't have the proper permissions to create tables.   You will need to update the permissions of the database user and then run the script again!   Once the permissions are set right, it will install easy for you!&#60;/p&#62;
&#60;p&#62;Trent
&#60;/p&#62;</description>
</item>
<item>
<title>boomanfloral on "Step Two Database Error"</title>
<link>http://bbpress.org/forums/topic/step-two-database-error#post-5535</link>
<pubDate>Wed, 14 Mar 2007 22:58:56 +0000</pubDate>
<dc:creator>boomanfloral</dc:creator>
<guid isPermaLink="false">5535@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;I just installed bbPress and on STEP TWO I got a screen with the error below. I'm not a programmer or anything, I just know basic HTML and that's it, so I don't know where to look for a way to fix this. Can anyone give me some pointers on how to fix this? Or is there a service where I can pay to have this fixed and running smoothly? Thanks!&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;bbPress database error

Second Step

Now we’re going to create the database tables and fill them with some default data.

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_forums ( forum_id int(10) NOT NULL auto_increment, forum_name varchar(150) NOT NULL default &#38;#39;&#38;#39;, forum_desc text NOT NULL, forum_order int(10) NOT NULL default &#38;#39;0&#38;#39;, topics bigint(20) NOT NULL default &#38;#39;0&#38;#39;, posts bigint(20) NOT NULL default &#38;#39;0&#38;#39;, PRIMARY KEY (forum_id) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_posts ( post_id bigint(20) NOT NULL auto_increment, forum_id int(10) NOT NULL default &#38;#39;1&#38;#39;, topic_id bigint(20) NOT NULL default &#38;#39;1&#38;#39;, poster_id int(10) NOT NULL default &#38;#39;0&#38;#39;, post_text text NOT NULL, post_time datetime NOT NULL default &#38;#39;0000-00-00 00:00:00&#38;#39;, poster_ip varchar(15) NOT NULL default &#38;#39;&#38;#39;, post_status tinyint(1) NOT NULL default &#38;#39;0&#38;#39;, post_position bigint(20) NOT NULL default &#38;#39;0&#38;#39;, PRIMARY KEY (post_id), KEY topic_id (topic_id), KEY poster_id (poster_id), KEY post_time (post_time), FULLTEXT KEY post_text (post_text) ) TYPE = MYISAM

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_topics ( topic_id bigint(20) NOT NULL auto_increment, topic_title varchar(100) NOT NULL default &#38;#39;&#38;#39;, topic_poster bigint(20) NOT NULL default &#38;#39;0&#38;#39;, topic_poster_name varchar(40) NOT NULL default &#38;#39;Anonymous&#38;#39;, topic_last_poster bigint(20) NOT NULL default &#38;#39;0&#38;#39;, topic_last_poster_name varchar(40) NOT NULL default &#38;#39;&#38;#39;, topic_start_time datetime NOT NULL default &#38;#39;0000-00-00 00:00:00&#38;#39;, topic_time datetime NOT NULL default &#38;#39;0000-00-00 00:00:00&#38;#39;, forum_id int(10) NOT NULL default &#38;#39;1&#38;#39;, topic_status tinyint(1) NOT NULL default &#38;#39;0&#38;#39;, topic_open tinyint(1) NOT NULL default &#38;#39;1&#38;#39;, topic_last_post_id bigint(20) NOT NULL default &#38;#39;1&#38;#39;, topic_sticky tinyint(1) NOT NULL default &#38;#39;0&#38;#39;, topic_posts bigint(20) NOT NULL default &#38;#39;0&#38;#39;, tag_count bigint(20) NOT NULL default &#38;#39;0&#38;#39;, PRIMARY KEY (topic_id), KEY forum_id (forum_id), KEY topic_time (topic_time), KEY topic_start_time (topic_start_time) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_topicmeta ( meta_id bigint(20) NOT NULL auto_increment, topic_id bigint(20) NOT NULL default &#38;#39;0&#38;#39;, meta_key varchar(255) default NULL, meta_value longtext, PRIMARY KEY (meta_id), KEY user_id (topic_id), KEY meta_key (meta_key) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_users ( ID bigint(20) unsigned NOT NULL auto_increment, user_login varchar(60) NOT NULL default &#38;#39;&#38;#39;, user_pass varchar(64) NOT NULL default &#38;#39;&#38;#39;, user_nicename varchar(50) NOT NULL default &#38;#39;&#38;#39;, user_email varchar(100) NOT NULL default &#38;#39;&#38;#39;, user_url varchar(100) NOT NULL default &#38;#39;&#38;#39;, user_registered datetime NOT NULL default &#38;#39;0000-00-00 00:00:00&#38;#39;, user_status int(11) NOT NULL default &#38;#39;0&#38;#39;, display_name varchar(250) NOT NULL default &#38;#39;&#38;#39;, PRIMARY KEY (ID), UNIQUE KEY user_login (user_login) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_usermeta ( umeta_id bigint(20) NOT NULL auto_increment, user_id bigint(20) NOT NULL default &#38;#39;0&#38;#39;, meta_key varchar(255) default NULL, meta_value longtext, PRIMARY KEY (umeta_id), KEY user_id (user_id), KEY meta_key (meta_key) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_tags ( tag_id bigint(20) unsigned NOT NULL auto_increment, tag varchar(200) NOT NULL default &#38;#39;&#38;#39;, raw_tag varchar(50) NOT NULL default &#38;#39;&#38;#39;, tag_count bigint(20) unsigned NOT NULL default &#38;#39;0&#38;#39;, PRIMARY KEY (tag_id) )

bbPress database error: [Access denied for user &#38;#39;boomanfloral&#38;#39;@&#38;#39;localhost&#38;#39; to database &#38;#39;mysql&#38;#39;]
CREATE TABLE bb_tagged ( tag_id bigint(20) unsigned NOT NULL default &#38;#39;0&#38;#39;, user_id bigint(20) unsigned NOT NULL default &#38;#39;0&#38;#39;, topic_id bigint(20) unsigned NOT NULL default &#38;#39;0&#38;#39;, tagged_on datetime NOT NULL default &#38;#39;0000-00-00 00:00:00&#38;#39;, PRIMARY KEY (tag_id,user_id,topic_id), KEY tag_id_index (tag_id), KEY user_id_index (user_id), KEY topic_id_index (topic_id) )

   1. Created table bb_forums
   2. Created table bb_posts
   3. Created table bb_topics
   4. Created table bb_topicmeta
   5. Created table bb_users
   6. Created table bb_usermeta
   7. Created table bb_tags
   8. Created table bb_tagged

bbPress database error: [Table &#38;#39;mysql.bb_topicmeta&#38;#39; doesn&#38;#39;t exist]
SELECT * FROM bb_topicmeta WHERE topic_id = &#38;#39;0&#38;#39; AND meta_key = &#38;#39;bb_db_version&#38;#39;

bbPress database error: [Table &#38;#39;mysql.bb_topicmeta&#38;#39; doesn&#38;#39;t exist]
INSERT INTO bb_topicmeta ( topic_id, meta_key, meta_value ) VALUES ( &#38;#39;0&#38;#39;, &#38;#39;bb_db_version&#38;#39;, &#38;#39;688&#38;#39; )

bbPress database error: [Table &#38;#39;mysql.bb_users&#38;#39; doesn&#38;#39;t exist]
INSERT INTO bb_users (user_login, user_pass, user_email, user_url, user_registered) VALUES (&#38;#39;daniel&#38;#39;, &#38;#39;fae46cfefe5fb87eedf6f8801e497d06&#38;#39;, &#38;#39;daniel@boomanfloral.com&#38;#39;, &#38;#39;http://boomanfloral.com&#38;#39;, &#38;#39;2007-03-14 22:01:31&#38;#39;)

bbPress database error: [Table &#38;#39;mysql.bb_usermeta&#38;#39; doesn&#38;#39;t exist]
SELECT * FROM bb_usermeta WHERE user_id = &#38;#39;1&#38;#39; AND meta_key = &#38;#39;from&#38;#39;

bbPress database error: [Table &#38;#39;mysql.bb_usermeta&#38;#39; doesn&#38;#39;t exist]
INSERT INTO bb_usermeta ( user_id, meta_key, meta_value ) VALUES ( &#38;#39;1&#38;#39;, &#38;#39;from&#38;#39;, &#38;#39;Vista, CA&#38;#39; )

bbPress database error: [Table &#38;#39;mysql.bb_usermeta&#38;#39; doesn&#38;#39;t exist]
SELECT * FROM bb_usermeta WHERE user_id = &#38;#39;1&#38;#39; AND meta_key = &#38;#39;interest&#38;#39;

bbPress database error: [Table &#38;#39;mysql.bb_usermeta&#38;#39; doesn&#38;#39;t exist]
INSERT INTO bb_usermeta ( user_id, meta_key, meta_value ) VALUES ( &#38;#39;1&#38;#39;, &#38;#39;interest&#38;#39;, &#38;#39;Unusual Plants &#38;#38; Internet&#38;#39; )

bbPress database error: [You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near &#38;#39; &#38;#39;&#38;#39;, , &#38;#39;&#38;#39;, &#38;#39;2007]
INSERT INTO bb_topics (topic_title, topic_poster, topic_poster_name, topic_last_poster, topic_last_poster_name, topic_start_time, topic_time, forum_id) VALUES (&#38;#39;Your first topic&#38;#39;, , &#38;#39;&#38;#39;, , &#38;#39;&#38;#39;, &#38;#39;2007-03-14 22:01:31&#38;#39;, &#38;#39;2007-03-14 22:01:31&#38;#39;, 1)

bbPress database error: [Table &#38;#39;mysql.bb_topics&#38;#39; doesn&#38;#39;t exist]
SELECT * FROM bb_topics WHERE topic_id = 0 AND topic_status = 0

bbPress database error: [Table &#38;#39;mysql.bb_forums&#38;#39; doesn&#38;#39;t exist]
UPDATE bb_forums SET topics = topics + 1 WHERE forum_id = 1

bbPress database error: [Table &#38;#39;mysql.bb_topics&#38;#39; doesn&#38;#39;t exist]
SELECT * FROM bb_topics WHERE topic_id = 1 AND topic_status = 0

Finished!&#60;/code&#62;&#60;/pre&#62;</description>
</item>

</channel>
</rss>
