Info
- 4 posts
- 3 voices
- Started 2 years ago by mentletv
- Latest reply from Ashfame
- This topic is resolved
Intermittent 'page not found' on valid uls
-
- Posted 2 years ago #
I've recently set up a deep WP / BBpress integration (http://www.johnthebaptisttv.com/bbpress/). Apart from a few ie6 template issues all is working well, except...
Many users are reporting intermittent 'page not found' errors (404). The URLs they request are fine. Pressing reload loads the page as expected. This seems to happen to some users serveral times during a session. These happen anywhere within the forum, not just particular pages.
The apache log shows these errors - here's an anonymised log line -
xx.xxx.216.158 - - [30/Apr/2010:07:24:01 -0500] "GET /bbpress/ HTTP/1.1" 404 16562 "http://www.johnthebaptisttv.com/" "Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 (.NET CLR 3.5.30729)"
I can't find any 404's associated with the WP only parts of the site. Has anyone seen this before? Does anyone have some suggestion as to where to start looking?
BBPress version 1.0.2
Thanks
-
- Posted 2 years ago #
This issue has been reported before with deep integrated sites. Every page of the forum will return a 404, I believe, but depending on the browser, you sometimes see the content instead of the errors. Here are the headers returned from your forum:
Response Headers - http://www.johnthebaptisttv.com/bbpress/ Date: Fri, 30 Apr 2010 15:20:41 GMT Server: Apache/2.2.13 (Unix) mod_ssl/2.2.13 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 X-Powered-By: PHP/5.2.11 X-Pingback: http://www.johnthebaptisttv.com/xmlrpc.php Expires: Wed, 11 Jan 1984 05:00:00 GMT Cache-Control: no-cache, must-revalidate, max-age=0 Pragma: no-cache Last-Modified: Fri, 30 Apr 2010 15:20:41 GMT Connection: close Transfer-Encoding: chunked Content-Type: text/html; charset=UTF-8 404 Not Foundhttp://www.themelab.com/2008/04/17/is-your-bbpress-installation-returning-404-errors/
http://bbpress.org/forums/topic/bbpress-wordpress-mu-or-not-leads-to-404-errors-but-pages-still-load#post-13156I also think a simple solution was to include wp-load.php instead of wp-blog-header.php. Which one are you including now?
-
- Posted 2 years ago #
Thanks Chris,
This has resolved the issue. I've updated the reference to wp-blog-header.php with one for wp-load.php in my bb-config.php file as suggested.
-
- Posted 2 years ago #
@Chris
Are you sure?
My local install works fine (returns 200 header code) when I usewp-blog-header.php -
You must log in to post.