Fatal error! Please help...

Discussion in 'PHP' started by Mokey, Mar 12, 2009.

  1. #1
    I'm certainly not a programmer, so I hope I'm in the right place. I just tried to log into my wordpress admin and this is what I got:

    Warning: require_once(admin-header.php) [function.require-once]: failed to open stream: No such file or directory in /home/srpi/public_html/wp-admin/index.php on line 34

    Fatal error: require_once() [function.require]: Failed opening required 'admin-header.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/srpi/public_html/wp-admin/index.php on line 34

    What does this mean and how do I fix it?! Any help you could give me would be most appreciated. Please advise me in simple terms...I really know very little.

    Thanks,
    Monique
     
    Mokey, Mar 12, 2009 IP
  2. HQ Content

    HQ Content Peon

    Messages:
    290
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You may want to try reuploading the contents of your wp-admin folder, and see if that solves the problem. Do you by chance have a backup of any customized files you might have?

    The simplest way to fix it would probably be to just do a fresh WP install. Send me your url and I'll see what I can figure out.
     
    HQ Content, Mar 12, 2009 IP
  3. ads2help

    ads2help Peon

    Messages:
    2,142
    Likes Received:
    67
    Best Answers:
    1
    Trophy Points:
    0
    #3
    It means that admin-header.php was not found in public_html/wp-admin/

    You seems to be using wordpress.

    Personally I don't know what's admin-header.php is for..but try to download the latest package of wordpress and see if admin-header.php is in the package?

    Maybe you forgot to upload that file to your server.

    - ads2help
     
    ads2help, Mar 12, 2009 IP
  4. Mokey

    Mokey Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Mokey, Mar 12, 2009 IP
  5. Mokey

    Mokey Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    HQ Content, unfortunately I don't have any back up at all. I just purchased this site. Everything was working fine after the transfer, but I was cleaning it up and doing so tweaking and I think I must've screwed something up. I bet I'll never make the mistake of changing things up before backing up again! Live and learn...
     
    Mokey, Mar 12, 2009 IP
  6. Mokey

    Mokey Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #6
    One more thing, I noticed that the site comes up, but without any of the changes that I saved and without images in the slides. Hmmm...
     
    Mokey, Mar 12, 2009 IP
  7. Mokey

    Mokey Peon

    Messages:
    34
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Okay, I figured it out! Downloaded WP again, unzipped, got the file I needed and uploaded to my server. Thanks for the help, you guys!
     
    Mokey, Mar 12, 2009 IP