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!
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)
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
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,.
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.
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
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.
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
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.
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.