Support » Fixing WordPress » application/x-httpd-php: Can’t view posts, edit, create new posts, anything!

  • Resolved kskov2lq


    I’m having the same issues discussed in in both IE and Firefox, and it seems to be happening to everyone, not just me. (A reader alerted me to the problem.)

    My blog URL is When I go to the home page or try to open a post, I get a window asking me to download a application/x-httpd-php. When I go to the dashboard, this code appears above the regular text in the dashboard body and sidebar:
    `items) && 1 < count($rss->items) ) { // Technorati returns a 1-item feed when it has no results ?>

    * items = array_slice($rss->items, 0, 10); foreach ($rss->items as $item ) { ?>

    items) && 0 != count($rss->items) ) { ?>
    items = array_slice($rss->items, 0, 3); foreach ($rss->items as $item ) { ?>
    '> —

    items) && 0 != count($rss->items) ) { ?>

    * items = array_slice($rss->items, 0, 20); foreach ($rss->items as $item ) { $title = wp_specialchars($item['title']); $author = preg_replace( '|(.+?):.+|s', '$1', $item['title'] ); $post = preg_replace( '|.+?:(.+)|s', '$1', $item['title'] ); ?> '>`

    My last two posts aren’t showing up in the dashboard even though they’re on the homepage, and when I try to create a new post or edit existing posts, I get this message when I click save: “You have chosen to open post.php which is a PHP File from” and an option request to open or save the file. The same thing happens when I try to log out.

    I am totally stuck and I don’t know what to do. Please help!

    Thanks in advance,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Sounds like php crashed. Check your server logs. There might be something in one of the last post that php doesn’t like.

    I’m not very tech savvy, so I’m not sure exactly what I’m looking at. I’m using cPanel and the only options I have that sound remotely like the server log are “Error Log” (which contains nothing) and “Raw Access Logs” (which lets me download a DOS application that appears to contain nothing as well).

    Since I can’t even access those last posts through dashboard, is there some kind of workaround through which I can just delete them? I don’t know how to get to them…


    You would have to go into your database and manually delete them. I’ve never done it personally so I don’t know what tables are linked to what. But I imagine someone here in the forums has and could help you out. Sorry I couldn’t be of more help.

    Thanks, Jeremy. I guess I’m just not sure what exactly I’m looking for as far as locating them. :/ If anyone has experience in this and could give me some more explicit instructions as to where to find the files to delete, I would be so grateful.


Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘application/x-httpd-php: Can’t view posts, edit, create new posts, anything!’ is closed to new replies.