Support » Fixing WordPress » PHP requests stop working – but only on one site

  • I have two instances of WordPress running in two separate folders on the http://www.mooselogic.com site – one powers our blog, the other powers our news release section. Both instances have been upgraded to 2.9.1 as part of my troubleshooting of this issue.

    On a fairly regular basis, the blog site will simply stop rendering any page that depends on PHP. Since I’m using a custom permalink for my posts, with the post title as the permalink, going to a specific post works fine. But trying to explicitly browse to a something.php page (including the login.php page) simply results in a blank page. Same with any URL that passes a variable (e.g., “?page_id=something”).

    Oddly enough, whatever is happening does not affect the news site – it continues to work normally even when the blog site isn’t working.

    If I restart the server, everything comes back and works fine for some variable number of days before it breaks again.

    The site is running on a LAMP server, the PHP version is being reported as “5.1.6-3.el4s1.10”

    This one really has me going. Any thoughts?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Maybe it’s a rewrite issue? Try setting the custom permalinks back to the default setting and deleting the root .htaccess file for the problematic site. Then set the custom permalinks back up again.

    Thread Starter sidherron

    (@sidherron)

    @esmi,

    I’ll give that a try this evening…but I’m not sure how that would affect, for example, not being able to load the login page when I try to explicitly browse to (siteurl)/wp-login.php.

    Thread Starter sidherron

    (@sidherron)

    @esme,

    No joy. The .htaccess file was indeed reconstructed, but looked no different that it did before. And this morning the site is broken again. However, I did notice in http://codex.wordpress.org/Using_Permalinks, that there is a reference to a couple of PHP bugs (specifically #35096 and 35059) that may be related to what I’m seeing. (“Permalinks work but no pages are returned”)

    This is the avenue I’m chasing down now. One of the bug descriptions suggests that I may be able to work around the issue by setting “output_buffering=off” in my php.ini file. If that doesn’t work, I may have to upgrade PHP on my server (currently running 5.1.6).

    I’ll update this as I find out more.

    If you manage to resolve it, posting the fix here may help others.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP requests stop working – but only on one site’ is closed to new replies.