Site down - Help please!!!!

Discussion in 'WordPress' started by CommandTree1985, Jan 6, 2010.

  1. #1
    Hi,

    Not sure what has gone wrong but I was trying to upload a new logo to my blog;

    www.everythingseo.co.uk

    And I suddenly got this error;

    Warning: require(/home/everycar/public_html/everythingseo.co.uk/wp-includes/compat.php) [function.require]: failed to open stream: No such file or directory in /home/everycar/public_html/everythingseo.co.uk/wp-settings.php on line 246

    Does anyone know an idea what i've managed to do!
     
    CommandTree1985, Jan 6, 2010 IP
  2. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #2
    Not exactly sure what you have done. First off I would re-upload wordpress and see if that fixes it (like you are doing an upgrade)
     
    craiger22, Jan 6, 2010 IP
  3. CommandTree1985

    CommandTree1985 Peon

    Messages:
    199
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Well I originally installed Wp through Fantastico on my Cpanel and there is only the option to remove it. Can I reupload through my FTP? As you can tell i'm pretty useless when it comes to this sort of thing!

    Many thanks,
    Anthony
     
    CommandTree1985, Jan 6, 2010 IP
  4. craiger22

    craiger22 Well-Known Member

    Messages:
    1,472
    Likes Received:
    99
    Best Answers:
    0
    Trophy Points:
    170
    #4
    You can do it through ftp, but i would recommend not trying it unless you know what you are doing.

    You can shoot me a pm if you like and we can work something out,.
     
    craiger22, Jan 6, 2010 IP
  5. theivo

    theivo Well-Known Member

    Messages:
    238
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    105
    #5
    there's no files.

    How did uploaded your logo ? Did you played with any plugins or something ?
    ...and yes, you can upload via FTP your files.
     
    theivo, Jan 6, 2010 IP
  6. CommandTree1985

    CommandTree1985 Peon

    Messages:
    199
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    I deleted wordpress (I only had a couple of posts) and attempted to reinstall it. Now I have another problem - when you hit the homepage you have to click on a folder to access the homepage.

    That's because the URL has been specified as http://www.everythingseo.co.uk/http://www.everythingseo.co.uk, so a directory within a directory.

    Fantastico won't let me install to the root of the domain i.e. just http://www.everythingseo.co.uk, it just returns an error. When I try and change the URL in WP settings, it just comes back with a 404 message;

    http://everythingseo.co.uk/wp-login

    If anyone knows what the hell to do PM me and I'll pay you to sort it out for me!

    Anthony
     
    CommandTree1985, Jan 7, 2010 IP
  7. smallbizowner

    smallbizowner Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Anthony, I had a similar issue once. First, if you have reinstalled, then what I'm about to suggest won't much matter. ..., I feel you have an .htaccess or re-write issue somewhere - they can be difficult to track down. I would FTP to the site and remove everything. Then, using cPanel, ensure there are no folders under your root dir. Also, using cPanel, go ahead and delete all the MySql databases to ensure you are starting with a totally clean slate. You should then be able to put in a fresh install of WP with new .htaccess and WP-config.
     
    smallbizowner, Jan 7, 2010 IP
  8. CommandTree1985

    CommandTree1985 Peon

    Messages:
    199
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Thanks for the feedback mate - A member of my web hosting support team reinstalled wordpress manually for me and it worked fine, for a bit.

    Now I simply have a list of all my folders on the home page, just when I thought we had sorted it.

    Anthony
     
    CommandTree1985, Jan 7, 2010 IP
  9. olddocks

    olddocks Notable Member

    Messages:
    3,275
    Likes Received:
    165
    Best Answers:
    0
    Trophy Points:
    215
    #9
    The correct url for login is: http://everythingseo.co.uk/wp-admin

    If you have messed up the blog url and cant install it, just go to the wordpress database > wp_options table > browse

    1. change the blog url
    2. change the site url.

    In that way you can fix the problem.
     
    Last edited: Jan 8, 2010
    olddocks, Jan 8, 2010 IP
  10. smallbizowner

    smallbizowner Peon

    Messages:
    20
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Agree with Olddocks, but many don't like going into the database and changing options manually.

    Here's a fairly new fix I found when I accidentally changed my WP URL to something I shouldn't have:

    Edit wp-config.php Method

    It should be possible to fix the site URL using a new feature -

    Add these two lines to your wp-config.php, where "example.com" is the NEW location of your site.

    define('WP_HOME','http://example.com');
    define('WP_SITEURL','http://example.com');
    That should be it. If it worked, stop reading this page now.


    Quick fix method

    If you have access to the site via FTP, then this method will help you quickly get a site back up and running, if you changed those values incorrectly.

    1. FTP to the site, and get a copy of the active theme's functions.php file. You're going to edit it in a simple text editor (like notepad) and upload it back to the site.

    2. Add these two lines to the file, immediately after the initial "<?php" line.

    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');
    Use your own URL instead of example.com, obviously.

    3. Upload the file back to your site, in the same location. FileZilla offers a handy "edit file" function to do all of the above rapidly, if you can use that, do so.

    4. Load the login or admin page a couple of times. The site should come back up.

    5. Repeat the above steps, but remove those lines. IMPORTANT: Do NOT leave those lines in there. Remove them immediately after the site is up and running again.

    If there is no functions.php file in the theme: Create a new text file called "functions.php". Edit it with notepad, and add this text to it, using your own URL instead of example.com:

    <?php
    update_option('siteurl','http://example.com/blog');
    update_option('home','http://example.com/blog');

    Upload that to your theme directory, then proceed as stated above. Remove the file afterwards.
     
    smallbizowner, Jan 8, 2010 IP
    olddocks likes this.
  11. CommandTree1985

    CommandTree1985 Peon

    Messages:
    199
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Thanks for the advice gents - It's all working again now WOOP! Now I can start writing again :)
     
    CommandTree1985, Jan 8, 2010 IP