<?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: bb-post.php</title>
<link>http://bbpress.org/forums/</link>
<description>bbPress Support Forums Tag: bb-post.php</description>
<language>en</language>
<pubDate>Fri, 09 Jan 2009 01:22:22 +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>_ck_ on "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16121</link>
<pubDate>Sat, 10 May 2008 17:16:44 +0000</pubDate>
<dc:creator>_ck_</dc:creator>
<guid isPermaLink="false">16121@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;Uh oh, it looks like my bb-attachments is modifying other forms which makes no sense.&#60;/p&#62;
&#60;p&#62;I'll have to investigate this.&#60;/p&#62;
&#60;p&#62;update: please try 0.1.1, see this post:&#60;br /&#62;
&#60;a href=&#34;http://bbpress.org/plugins/topic/bb-attachments/page/2/?replies=38#post-1223&#34; rel=&#34;nofollow&#34;&#62;http://bbpress.org/plugins/topic/bb-attachments/page/2/?replies=38#post-1223&#60;/a&#62;
&#60;/p&#62;</description>
</item>
<item>
<title>gerikg on "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16052</link>
<pubDate>Thu, 08 May 2008 17:49:12 +0000</pubDate>
<dc:creator>gerikg</dc:creator>
<guid isPermaLink="false">16052@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;maybe it's bb-attachment plugin??&#60;/p&#62;
&#60;p&#62;line 97&#60;br /&#62;
// insane bbPress workaround - adds multipart enctype to the new post form via uri patch&#60;br /&#62;
function bb_attachments_enctype() {add_filter( 'bb_get_option_uri','bb_attachments_uri',999);}&#60;br /&#62;
function bb_attachments_uri($uri) {remove_filter( 'bb_get_option_uri','bb_attachments_uri',999);&#60;br /&#62;
					return $uri. 'bb-post.php&#34;  enctype=&#34;multipart/form-data&#34; hack=&#34;';} &#60;/p&#62;
&#60;p&#62;let me contact the maker.
&#60;/p&#62;</description>
</item>
<item>
<title>gerikg on "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16051</link>
<pubDate>Thu, 08 May 2008 17:40:55 +0000</pubDate>
<dc:creator>gerikg</dc:creator>
<guid isPermaLink="false">16051@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;I'm going to check I think it's a plug-in that did that.
&#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 "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16022</link>
<pubDate>Wed, 07 May 2008 09:45:49 +0000</pubDate>
<dc:creator>bobbyh</dc:creator>
<guid isPermaLink="false">16022@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;gerikg, I found your site and looked at a &#60;a href=&#34;http://kiaspeed2.com/forum/topic.php?id=22&#34;&#62;sample page&#60;/a&#62;. The href of the &#34;log in&#34; link is as follows:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;a href=&#34;http://kiaspeed2.com/forum/bb-post.php&#38;amp;quot;&#34; rel=&#34;nofollow&#34;&#62;http://kiaspeed2.com/forum/bb-post.php&#38;amp;quot;&#60;/a&#62;  enctype=&#38;amp;quot;multipart/form-data&#38;amp;quot; hack=&#38;amp;quot;bb-login.php&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;It should just be this:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;&#60;a href=&#34;http://kiaspeed2.com/forum/bb-login.php&#34; rel=&#34;nofollow&#34;&#62;http://kiaspeed2.com/forum/bb-login.php&#60;/a&#62;&#60;/code&#62;&#60;/p&#62;
&#60;p&#62;The text of this href comes from function post_forum inside /bb-includes/template-functions.php. Did you do a core hack of this function? If so, reversing it should fix your problem. Otherwise, one of your plugins has screwed up this function and it needs to be disabled...
&#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>chrishajer on "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16014</link>
<pubDate>Wed, 07 May 2008 02:10:13 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">16014@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;That's pretty interesting.  Not sure why it's not working but I think you can cause a different problem by turning off CheckSpelling in you .htaccess file. That will cause it to fail outright, I think, rather than trying to find you a similarly named file.  Put this at the top of a file called .htaccess in your forum root folder:&#60;/p&#62;
&#60;p&#62;&#60;code&#62;CheckSpelling Off&#60;/code&#62; (not sure if the off needs to be capitalized or not.)&#60;/p&#62;
&#60;p&#62;See what errors you get after that.  Worth a shot anyway.
&#60;/p&#62;</description>
</item>
<item>
<title>gerikg on "Reply Bug"</title>
<link>http://bbpress.org/forums/topic/reply-bug#post-16012</link>
<pubDate>Wed, 07 May 2008 01:44:22 +0000</pubDate>
<dc:creator>gerikg</dc:creator>
<guid isPermaLink="false">16012@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;On:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Reply&#60;br /&#62;
You must log in to post.&#60;/p&#62;&#60;/blockquote&#62;
&#60;p&#62;When you click on &#34;log in&#34; i get this error message:&#60;/p&#62;
&#60;blockquote&#62;&#60;p&#62;Multiple Choices&#60;br /&#62;
The document name you requested (/forum/bb-post.php&#34; enctype=&#34;multipart/form-data&#34; hack=&#34;bb-login.php) could not be found on this server. However, we found documents with names similar to the one you requested.&#60;/p&#62;
&#60;p&#62;Available documents:&#60;/p&#62;
&#60;p&#62;    * /forum/bb-post.php/form-data&#34; hack=&#34;bb-login.php (common basename) &#60;/p&#62;
&#60;p&#62;Please consider informing the owner of the referring page about the broken link.&#60;/p&#62;&#60;/blockquote&#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&#60;a href=&#34;http://trac.bbpress.org/ticket/52078&#34;&#62;#52078&#60;/a&#62;&#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>
<item>
<title>chrishajer on "Blank page after I try to make a new thread"</title>
<link>http://bbpress.org/forums/topic/blank-page-after-i-try-to-make-a-new-thread#post-13995</link>
<pubDate>Fri, 22 Feb 2008 01:01:12 +0000</pubDate>
<dc:creator>chrishajer</dc:creator>
<guid isPermaLink="false">13995@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;URL please...&#60;/p&#62;
&#60;p&#62;Chances are it's a 500 server error, but without seeing it or the logs, it's hard to guess.&#60;/p&#62;
&#60;p&#62;First step would be to disable any plugins and revert to a stock template and see if the same thing occurs.
&#60;/p&#62;</description>
</item>
<item>
<title>hempsworth on "Blank page after I try to make a new thread"</title>
<link>http://bbpress.org/forums/topic/blank-page-after-i-try-to-make-a-new-thread#post-13990</link>
<pubDate>Thu, 21 Feb 2008 22:02:44 +0000</pubDate>
<dc:creator>hempsworth</dc:creator>
<guid isPermaLink="false">13990@http://bbpress.org/forums/</guid>
<description>&#60;p&#62;When I try to post a new thread with rev1075 I get a blank page shown, what could be the problem do you think?&#60;/p&#62;
&#60;p&#62;Thanks,&#60;br /&#62;
Alex
&#60;/p&#62;</description>
</item>

</channel>
</rss>
