Where did my WordPress blog go?
May 30, 2007 8:25 PM   Subscribe

WordPress filter: My blog was fine last night. Now it's gone. Where did it go?

Last night my work blog was fine; I made a couple of posts to it and cleared out some spam comments.

Today, I go there and all I get is this:

[?php
/* Short and sweet */
define('WP_USE_THEMES', true);
require('./wp-blog-header.php');the_author();
?]

(I replaced the html brackets with square ones, at the beginning and end, in order to post it here.)

And that's it. Otherwise, the page is blank. What happened? Where did it go? How do I get it back?

Warning: I don't really know anything about computers.
posted by Karlos the Jackal to Computers & Internet (9 answers total) 1 user marked this as a favorite
 
Not sure, can you get to the wordpress admin screen?

http://yourblogurl/wp-admin
posted by Good Brain at 8:32 PM on May 30, 2007


Where is the blog hosted? On your own server, a colo, or a shared-access server ... or was it through a blog 'service' like Wordpress.com?

If it's on a server you control (your machine, or a colo'ed machine, or a shared-account server), the first thing I'd do is SSH or even FTP into it, and see if the files are still there in your htdocs folder (or equivalent -- wherever you store your HTML files and where Wordpress is set up).

If you're using a 'blog service' like Wordpress.com that doesn't let you access the server directly, then you should probably be talking to tech support.

Also, if this is your server, you should tread very carefully with WordPress. Without proper care and attention, it can be very insecure, and allow someone to compromise your machine and do god-knows-what with it. If you're not comfortable learning about the gritty details of Apache2 security configuration, you might want to consider a managed service that does the dirty work for you.

And I hate to ask ... but you did back your blog up periodically, right?
posted by Kadin2048 at 8:33 PM on May 30, 2007


If you're seeing the php code, then it isn't being run by the server as it should be. Talk to your hosts to see if they changed their configuration. Chances are you're not the only one who's got this problem.
posted by robcorr at 8:45 PM on May 30, 2007


Best answer: Your web host probably made a change on you that's causing PHP code (the language that Wordpress is written in) not to be interpreted by the server, so it's just displaying the code instead of executing it. If your account has a control panel (not the Wordpress admin, but something the web host itself provides) then log into that and check that PHP is enabled on your account.
posted by lsemel at 8:47 PM on May 30, 2007 [1 favorite]


Response by poster: OP here.

The page in question is here.

Good Brain: Going to the admin screen gets another (much longer) page of php stuff.

Kadin -- it's hosted on our site. I took a look with my ftp program -- there are still files there, although I can't guarantee that they are *all* there.

Interesting points on security, I will think about that. I did back things up, a month or two ago.

robcorr -- I've sent out a report to the hosts to see if they've done anything wonky.

Further reports as events warrant.
posted by Karlos the Jackal at 8:56 PM on May 30, 2007


Oh - more important than checking the files are there, you should make sure that the database is there. That's where all the important stuff is kept, after all.
posted by robcorr at 9:03 PM on May 30, 2007


Response by poster: OP again!

Problem solved -- my hosts upgraded me today and managed to turn off my php support while doing so. A quick trip to the control panel -- as suggested by Isemel -- took care of it.

Thanks, everyone. You rule.
posted by Karlos the Jackal at 9:05 PM on May 30, 2007


Response by poster: Cray -- thanks for the heads up!
posted by Karlos the Jackal at 9:20 PM on May 30, 2007


Your web host probably made a change on you that's causing PHP code (the language that Wordpress is written in) not to be interpreted by the server, so it's just displaying the code instead of executing it.

Holy cow, really? That sounds like a massive, massive security vulnerability... a lot of PHP packages use the PHP code to store login and password data.
posted by zek at 10:30 PM on May 30, 2007


« Older Oh God. Kill me now. (Quicken 98 Y2K clusterfuck)   |   How many cats? Newer »
This thread is closed to new comments.