<?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: error after new post (all of a sudden)</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress support forums Topic: error after new post (all of a sudden)</description>
<language>en</language>
<pubDate>Sat, 06 Sep 2008 06:21:34 +0000</pubDate>

<item>
<title>finalwebsites on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16329</link>
<pubDate>Mon, 19 May 2008 20:26:34 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">16329@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Just wrote a small bugfix for the notification plugin:&#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://www.finalwebsites.com/forums/topic/bugfix-for-bbpress-notification-plugin&#34; rel=&#34;nofollow&#34;&#62;http://www.finalwebsites.com/forums/topic/bugfix-for-bbpress-notification-plugin&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>finalwebsites on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16326</link>
<pubDate>Mon, 19 May 2008 19:14:08 +0000</pubDate>
<dc:creator>finalwebsites</dc:creator>
<guid isPermaLink="false">16326@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;The problem is the notification plugin and it seems to be a problem if your user base becomes bigger.&#60;/p&#62;
&#60;p&#62;I guess the the function &#34;notification_select_all_users&#34; needs some update (diff. sql statement that selects less records)
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16035</link>
<pubDate>Wed, 07 May 2008 20:18:02 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16035@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Nice troubleshooting.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16026</link>
<pubDate>Wed, 07 May 2008 17:24:33 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16026@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Chris, I did disable plugins, but I hadn't wrapped the Email Notifications plugin function call with a function_exists wrapper, so my active theme stopped working when I did so. I then oh-so-intelligently reasoned that this plugin couldn't be the cause of the problem, so I moved on...&#60;/p&#62;
&#60;p&#62;I couldn't just disable all plugins and test with a default theme because of the existence of private forums. Finally, I moved the database to a private test server (and used a HOST file) and went through all the plugins carefully one-by-one until the problem was fixed.&#60;/p&#62;
&#60;p&#62;Let my idiocy be a lesson for others: wrap your plugin function calls with function_exists wrapper! :-)
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16023</link>
<pubDate>Wed, 07 May 2008 12:11:24 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16023@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Hey, I thought you said you &#34;disabled plugins and Akismet, and the problem didn't go away.&#34;  Maybe you didn't disable this Email Notifications one?&#60;/p&#62;
&#60;p&#62;Glad you solved it, in any case.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16019</link>
<pubDate>Wed, 07 May 2008 08:47:05 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16019@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks Chris! All my PHP scripts were OK (no syntax errors), but eliminating one more possible cause is always helpful. :-)&#60;/p&#62;
&#60;p&#62;It turns out that this Email Notifications plugin (http://bbpress.org/forums/topic/plugin-post-notification?replies=44) was causing the problem. After disabling that plugin, there are no &#34;delays in posting&#34; and there is never a 500 error. There must be a scaling problem with the plugin that started after the tables hit a certain size...&#60;/p&#62;
&#60;p&#62;Thanks again for your help, Chris! :-)
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16016</link>
<pubDate>Wed, 07 May 2008 02:23:59 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16016@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;How about configuring custom logging temporarily, just to be sure you are seeing the logged errors? &#60;/p&#62;
&#60;p&#62;&#60;a href=&#34;http://us3.php.net/set_error_handler&#34; rel=&#34;nofollow&#34;&#62;http://us3.php.net/set_error_handler&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;I think the delay in posting is not due to server load but due to this 500 error.  It's thinking about something then it fails.&#60;/p&#62;
&#60;p&#62;If the script had a syntax error, I would think it would fail more quickly.  You can check all your php scripts for syntax errors if you have command line access if you do something like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;shell# find . -name &#38;quot;*.php&#38;quot; -print&#124; xargs -n1 php -l&#60;/code&#62;&#60;br /&#62;
(that's &#34;dash n one&#34; and &#34;php dash el&#34;, lowercase L)&#60;/p&#62;
&#60;p&#62;Looks like you're on CentOS so that should work OK.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16009</link>
<pubDate>Tue, 06 May 2008 22:39:39 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16009@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Thanks for thinking about my problem, Chris! :-)&#60;/p&#62;
&#60;p&#62;I don't understand the problem either... I'm sure the PHP errors are being logged. I just triple-checked my httpd.include file, and it has this line: &#60;code&#62;ErrorLog  /var/www/vhosts/weddingbee.com/statistics/logs/error_log&#60;/code&#62;. This is the location that I've been looking for the PHP errors. There are other PHP notices/errors from this boards subdomain (mostly from bots looking for non-existent Front Page files), but nothing about this error.&#60;/p&#62;
&#60;p&#62;In the access_log, I do see lines like this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;74.235.132.92 - - [06/May/2008:04:32:32 -0400] &#38;quot;POST /bb-post.php HTTP/1.1&#38;quot; 500 366 &#38;quot;http://boards.weddingbee.com/topic/second-guessing-everything&#38;quot; &#38;quot;Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0; .NET CLR 2.0.50727)&#38;quot;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;However, that's not what we want...&#60;/p&#62;
&#60;p&#62;Last night, I did some searches and found &#60;a href=&#34;http://us.php.net/manual/en/function.error-log.php#52078&#34;&#62;this comment on php.net&#60;/a&#62; which said that the two reasons for a missing error in the error_log were &#34;(1) you did not configure error_log output in php.ini, and (2) the script has a syntax error and did therefore not execute.&#34; However, the script does appear to be executing at least partially, because the post/comment &#60;em&#62;does&#60;/em&#62; post. Also, if you visit the bb-post.php page (http://boards.weddingbee.com/bb-post.php) directly, the page does execute (with a &#60;code&#62;die&#60;/code&#62;).&#60;/p&#62;
&#60;p&#62;I too am confused by why the POST takes such a long time. The load average for the webserver and the database server are fairly low...
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16007</link>
<pubDate>Tue, 06 May 2008 22:19:53 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16007@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I made two test posts.  The both resulted in 500 errors, but they also both appeared to go through.  They also took a really really long time, like something is going on in the back end.  Are you sure the PHP errors are being logged?  A 500 error should go *somewhere*.
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16006</link>
<pubDate>Tue, 06 May 2008 22:16:11 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16006@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I turned off permalinks (set it to &#60;code&#62;false&#60;/code&#62; in config.php) and the error still occurred...
&#60;/p&#62;</description>
</item>
<item>
<title>chrishajer on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16005</link>
<pubDate>Tue, 06 May 2008 22:12:57 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16005@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Is it a mod_rewrite issue causing the problem?  If you turn off permalinks and try it, does it work differently?
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-16002</link>
<pubDate>Tue, 06 May 2008 17:07:01 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16002@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I also checked my error_log, and there is no error being logged. I'm so baffled!
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-15997</link>
<pubDate>Tue, 06 May 2008 06:39:43 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">15997@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Another weird thing is that you can edit a post without any problem...
&#60;/p&#62;</description>
</item>
<item>
<title>bobbyh on "error after new post (all of a sudden)"</title>
<link>http://bbpress.org/forums/topic/error-after-new-post-all-of-a-sudden#post-15994</link>
<pubDate>Tue, 06 May 2008 04:12:12 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">15994@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;A few days ago, out of the blue, users of &#60;a href=&#34;http://boards.weddingbee.com&#34;&#62;my bbpress forum&#60;/a&#62; reported that submitting a new topic/post resulted in an error. Previously, my bbpress forum was working perfectly. However, over the last few days, I have verified that if you submit a new post or leave a comment, the browser takes you to &#60;a href=&#34;http://boards.weddingbee.com/bb-post.php&#34;&#62;bb-post.php&#60;/a&#62;, where the page hangs. You can verify this on my forum using user &#34;testuser&#34; and password &#34;test123&#34;.&#60;/p&#62;
&#60;p&#62;There are a few weird things about this:&#60;/p&#62;
&#60;ul&#62;
&#60;li&#62;I hadn't touched the server for some time prior to this sudden problem, so it's weird that the problem started, since I hadn't changed anything&#60;/li&#62;
&#60;li&#62;I've been running two bbpress forums authenticated against the same WP user table. The problem is only with the &#60;a href=&#34;http://boards.weddingbee.com&#34;&#62;first bbpress installation&#60;/a&#62;, while the &#60;a href=&#34;http://classifieds.weddingbee.com&#34;&#62;second bbpress installation&#60;/a&#62; continues to work with no problems.&#60;/li&#62;
&#60;li&#62;When you post, the browser returns a 500 internal server error, and doesn't display a &#34;die&#34; message, e.g. &#34;You need to actually submit some content!&#34;&#60;/li&#62;
&#60;li&#62;Although the browser returns a 500 internal server error, the posted content does go through.&#60;/li&#62;
&#60;/ul&#62;
&#60;p&#62;I've hand-inspected &#60;a href=&#34;http://boards.weddingbee.com/bb-post.php,&#34; rel=&#34;nofollow&#34;&#62;http://boards.weddingbee.com/bb-post.php,&#60;/a&#62; and it has exactly the same PHP code as &#60;a href=&#34;http://classifieds.weddingbee.com/bb-post.php.&#34; rel=&#34;nofollow&#34;&#62;http://classifieds.weddingbee.com/bb-post.php.&#60;/a&#62; I've tried everything I can think of... I disabled plugins and Akismet, and the problem didn't go away. (I've turned them back on.) &#60;/p&#62;
&#60;p&#62;I'm using bbPress 0.83, with bb_db_version 788. I haven't upgraded to bbPress 0.9.0.2 yet because I've integrated my Wordpress 2.33 install with two bbPress installs and a Mediawiki install, and it will be a ton of work to reintegrate. However, that is the next step...&#60;/p&#62;
&#60;p&#62;Does anybody have any ideas? :-)
&#60;/p&#62;</description>
</item>

</channel>
</rss>
