<?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 Topic: bbPress Database Error</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: bbPress Database Error</description>
<language>en</language>
<pubDate>Wed, 03 Dec 2008 03:36:32 +0000</pubDate>

<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16797</link>
<pubDate>Wed, 18 Jun 2008 12:15:17 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16797@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;It indeed was aMySQL issue. It's been solved now.
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16794</link>
<pubDate>Wed, 18 Jun 2008 10:12:49 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16794@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Ah, I thought it was something like that. I've just ordered a new hosting, which works on MySQL 5.&#60;/p&#62;
&#60;p&#62;Thanks for the help.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16762</link>
<pubDate>Sat, 14 Jun 2008 18:13:48 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16762@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbPress requires MySQL 4.0 minimum.  I think 3.23 is too low:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/about/requirements/&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/about/requirements/&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16759</link>
<pubDate>Sat, 14 Jun 2008 10:13:23 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16759@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Sorry, I don't check this forum daily, so here's a late answer:&#60;/p&#62;
&#60;p&#62;1. From what I know, it has always been like this. It's only when I perform a search.&#60;/p&#62;
&#60;p&#62;2. The version is bbPress 0.9.0.2  and it was installed somewhere between june 26 and june 31.&#60;/p&#62;
&#60;p&#62;3. I didn't. I only screwed around with the template files.&#60;/p&#62;
&#60;p&#62;4. No, they did no update or change whatsoever.&#60;/p&#62;
&#60;p&#62;5. Like I said, it was there before the plug-ins, but here's the list.&#60;br /&#62;
Private Forums, BBPress Private Messaging (not working), Post Count Plus - Dynamic.Titles &#38;#38; More!, Akismet, Avatar, Last-Post, Limit Latest Discussion, Bozo Users, BBcode Lite, Move It, Quote, Simple Onlinelist, Allow Images, Human Test for bbPress &#38;#38; Front Page Topics.&#60;/p&#62;
&#60;p&#62;6. The second error appears only when someone perform a search. The first error is only noted in the admin area, in the first tab, beneath 'User Registrations'.&#60;/p&#62;
&#60;p&#62;7. Yes. It does happen.&#60;/p&#62;
&#60;p&#62;The MySQL version is 3.23.58.&#60;/p&#62;
&#60;p&#62;I'm not a big guy when it comes to coding/scripting, so I have no idea what these errors mean. I'm glad somebody wants to help.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16671</link>
<pubDate>Mon, 09 Jun 2008 19:32:12 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16671@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Check your mysql version number. Is it really low?
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16667</link>
<pubDate>Mon, 09 Jun 2008 15:52:37 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16667@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Interestingly, I copied and pasted your SQL query from above, and used it on my installation unchanged, and it did not error out, it just return the expected results.&#60;/p&#62;
&#60;p&#62;&#60;code&#62;SELECT t.*, MIN(p.post_id) as post_id, p.post_text, 0 AS search_score FROM bb_topics AS t JOIN bb_posts as p ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = &#38;#39;0&#38;#39; AND p.post_status = &#38;#39;0&#38;#39; AND ( (t.topic_title LIKE &#38;#39;%ja%&#38;#39;) OR p.post_text LIKE &#38;#39;%ja%&#38;#39; ) GROUP BY t.topic_id ORDER BY t.topic_time DESC LIMIT 20&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;See the results &#60;a href=&#34;http://www.chrishajer.com/bbpress/sqlerror.png&#34; title=&#34;no SQL error here&#34;&#62;here&#60;/a&#62;.&#60;/p&#62;
&#60;p&#62;This is an old bbPress installation as well, 1.0-alpha from over a year ago.
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16666</link>
<pubDate>Mon, 09 Jun 2008 15:25:17 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16666@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;1.  Has this installation always been like this, or did something change recently?&#60;/p&#62;
&#60;p&#62;2.  What version are you running and when was it installed?&#60;/p&#62;
&#60;p&#62;3.  Did you change hosting or make any other changes to the installation?&#60;/p&#62;
&#60;p&#62;4.  Did your host upgrade PHP or MySQL or your .htaccess file or something else that would have affected this?&#60;/p&#62;
&#60;p&#62;5.  What plugins are installed, and does disabling them help with the error?&#60;/p&#62;
&#60;p&#62;6.  Does the problem described in the first post happen only when searching, or is that from something else and you now have the problem described in the last post as well?&#60;/p&#62;
&#60;p&#62;7.  Does the problem happen when using the stock theme?&#60;/p&#62;
&#60;p&#62;You don't have a normal run-of-mill type problem that can be  easily and simply solved, so people are going to need more info to help.
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16663</link>
<pubDate>Mon, 09 Jun 2008 13:48:29 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16663@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The problem got a bit bigger. When someone tries to find something through the search they get:&#60;/p&#62;
&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%ja%' AND p.post_status =' at line 1]&#60;br /&#62;
SELECT p.*, 0 AS search_score, MAX(post_time) AS post_time FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_text LIKE '%ja%' AND p.post_status = '0' AND t.topic_status = '0' GROUP BY t.topic_id ORDER BY p.post_time DESC LIMIT 5&#60;/p&#62;
&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = '0' AND p.post_status = '0' at line 1]&#60;br /&#62;
SELECT t.*, MIN(p.post_id) as post_id, p.post_text, 0 AS search_score FROM bb_topics AS t JOIN bb_posts as p ON ( t.topic_id = p.topic_id ) WHERE t.topic_status = '0' AND p.post_status = '0' AND ( (t.topic_title LIKE '%ja%') OR p.post_text LIKE '%ja%' ) GROUP BY t.topic_id ORDER BY t.topic_time DESC LIMIT 20
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16659</link>
<pubDate>Sun, 08 Jun 2008 22:28:49 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16659@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;What do you have to do to get that error to show up?  Installation, view profile, post a new topic, post a reply, add a tag, etc...
&#60;/p&#62;</description>
</item>
<item>
<title>bramruiter on "bbPress Database Error"</title>
<link>http://bbpress.org/forums/topic/bbpress-database-error-1#post-16657</link>
<pubDate>Sun, 08 Jun 2008 17:39:52 +0000</pubDate>
<dc:creator>bramruiter</dc:creator>
<guid isPermaLink="false">16657@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;bbPress database error: [You have an error in your SQL syntax near 'ON ( t.topic_id = p.topic_id ) WHERE p.post_status != '0' AND t.topic_status = '' at line 1]&#60;br /&#62;
SELECT p.* FROM bb_posts AS p JOIN bb_topics as t ON ( t.topic_id = p.topic_id ) WHERE p.post_status != '0' AND t.topic_status = '0' ORDER BY p.post_time DESC LIMIT 5&#60;/p&#62;
&#60;p&#62;What does it mean?
&#60;/p&#62;</description>
</item>

</channel>
</rss>
