Thursday, April 21, 2011

How to Fix a WordPress Database Without Plugins





Transfer Configuration File
1. Launch your FTP client and log in to your Web server. Your Web hosting company will have provided you with FTP login credentials when you signed up for hosting services.
2. Navigate to your WordPress folder in the right pane. You will see many PHP files in this folder, including the 'wp-config.php' configuration file.

3. Navigate to a folder where you would like to save the configuration file in the left pane of your FTP client. For the sake of convenience, choose a folder on your computer that you can easily access.
4. Click the 'wp-config.php' file to highlight it and then click the 'Transfer' or similarly named button to copy the file to your computer. Once the file is on your computer, you will be able to edit it.
Edit Configuration File
5. Open the folder where you transferred the file in the preceding step. Right-click on the file and open it using Notepad or your preferred text editor. The code in the configuration file will display.
6. Highlight the following line of code, right-click and select 'Copy' from the menu:define('WP_ALLOW_REPAIR', true);
7. Scroll to the bottom of the configuration file code, right-click on a blank line in the code and click 'Paste.' This will paste a copy of the code into the file.
8. Save the changes to the configuration file and return to your FTP program.
9. Click the 'wp-config.php' file in the left pane of your FTP program. Click the 'Transfer' or similarly named button to copy the edited file back to your Web server. Allow the edited file to overwrite the existing file on the server.
Fix WordPress Database
10. Close your FTP client and open your Web browser.
11. Navigate to the WordPress database repair page. This is located at 'YOURSITE/wp-admin/maint/repair.php' where 'YOURSITE' is the domain for your WordPress blog.
12. Click the 'Repair Database' button and allow WordPress to fix any errors in the database. A confirmation message will display once the process is complete.

adsense tips Copyright © 2011 | Template created by O Pregador | Powered by Blogger