Is my site hacked?

Discussion in 'WordPress' started by ondoin, Nov 5, 2009.

  1. #1
    Today I tried to log in to my Wordpress blog but I got a 500 error page!

    I never had this problem.

    Has my site been hacked?

    The URL is http://celeblogs.info
     
    ondoin, Nov 5, 2009 IP
  2. fthrkl

    fthrkl Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    yes, some files deleted. install again
     
    fthrkl, Nov 5, 2009 IP
  3. SCLocal

    SCLocal Notable Member

    Messages:
    1,270
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    235
    #3
    Looks like you need to reinstall wordpress, just re-upload the latest wordpress 2.8.5 html files and reconfigure the config.php file with your database settings and you should be good to go.
     
    SCLocal, Nov 5, 2009 IP
  4. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #4
    500 error usually puts the error in the webserver's error logs. (I believe the error even tells you such) Can you please check what's in the logs and report back please?

    edit: It does look like most of yoru files are missing though. I get a directory listing when I access your site. Best bet would be to contact your host about applying a backup. I do not recommend an upgrade as you'll have to reinstall everything afterwards.
     
    theapparatus, Nov 5, 2009 IP
  5. SCLocal

    SCLocal Notable Member

    Messages:
    1,270
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    235
    #5
    By going to the URL you can see that the wordpress files that are required to run the site just aren't there. All wordpress posts/pages are contained within the mySQL database, which should still be intact. Follow my instructions and see what happens. Could be an easy fix.
     
    SCLocal, Nov 5, 2009 IP
  6. ondoin

    ondoin Peon

    Messages:
    291
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Ok, I see. But how I reinstall Wordpress without loosing my posts?
    Should I upload the Wordpress files using an FTP program or should I use cPanel?
     
    ondoin, Nov 5, 2009 IP
  7. theapparatus

    theapparatus Peon

    Messages:
    2,925
    Likes Received:
    119
    Best Answers:
    0
    Trophy Points:
    0
    #7
    I disagree. This is for an existing blog that we don;t know what version was being run, we don't know what was uploaded, and we don't know what the condition of the database is in. Uploading a new install on top of a broken old one may do worse damage.

    1) Back up your database. Let's do that right off before anything else occurs. Leave it on your desktop and don't touch it. That way no posts are missing.

    2) Contact your host. Hopefully they have a recent backup that they can replace your current setup. If it's recent, this will return everything back the way it was.

    What happened to get the blog in the condition it is in now? (ie Where did the files go anyway?)
     
    theapparatus, Nov 5, 2009 IP
  8. SCLocal

    SCLocal Notable Member

    Messages:
    1,270
    Likes Received:
    58
    Best Answers:
    0
    Trophy Points:
    235
    #8
    The backend is obviously WordPress, it doesn't matter what version it was, just install the latest 2.8.5, upload the files from wordpress.org directly to your ftp directory.

    All the posts and pages, comments/etc. are stored in the WordPress Database and referenced from the config.php file. The posts/pages/etc. are NOT stored in html file.

    I don't know why this is so confusing.
     
    SCLocal, Nov 5, 2009 IP
  9. deluxdon

    deluxdon Catch Me If You Can...!!!™ Staff

    Messages:
    25,482
    Likes Received:
    1,943
    Best Answers:
    32
    Trophy Points:
    480
    #9
    Yeap thats true SCLocal. He needs to upload fresh wp files through FTP client and then link DB (userid+password) with config.sys

    DON.
     
    deluxdon, Nov 5, 2009 IP
  10. ondoin

    ondoin Peon

    Messages:
    291
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #10
    So, now all I must do is upload Wordpress with FTP?
     
    ondoin, Nov 6, 2009 IP