Troubleshooting Receive Updates For This Category
June 2, 2011 Troubleshooting 0 0
If you are having trouble logging in to your WordPress Administration Panels, here are some possible solutions.
Enable Cookies
Make sure that cookies are enabled for your browser.
- Clear your browser cookies.
- Clear your browser cache.
Disable Plugins
Some WordPress Plugins may interfere with the login process. Disable all of your WordPress Plugins, either through the admin panel or by removing them from the /wp-content/plugins/ folder, so they will not be recognized by the program.
New Login File
Sometimes the wp-login.php file may have been corrupted or uploaded incorrectly.
- Delete wp-login.php off of your server and upload a new copy from a fresh WordPress download. Remember, overwriting file via FTP can lead to incomplete transfers.
- Edit wp-login.php as follows:
June 2, 2011 Troubleshooting 0 0
There are times when you need to move WordPress around within your server, and times when you need to move WordPress from one server to another. You do need to reinstall. WordPress is flexible enough to handle all of these situations.
Easy answer for most installations:
- If database and URL remains the same, you can move by just copying your files and database.
- If database name or user changes, edit wp-config.php to have the correct values.
- If you want to test before you switch, you must temporarily change 8220;siteurl8221; and 8220;home8221; in the database table 8220;wp_options8221; (through phpMyAdmin or similar).
- If you had any kind of rewrites (permalinks) setup you must disable .htaccess and reconfigure permalinks when it goes live.
Moving WordPress Within Your Site
Moving the WordPress files from one location on your server to another 8211; changing its URL 8211; requires some special care.
Here are the step-by-step instructions:
- Create the new location using one of these two options:
- If you will be moving your WordPress core files to a new directory, create the new directory.
- If you want to move WordPress to your root directory, make sure all index.php, .htaccess, and other files that might be copied over are backed up and/or moved, and that the root directory is ready for the new WordPress files.
- Login to your blog.
- Go to the Administration > Settings > General panel.
- In the box for WordPress address (URI): change the address to the new location of your main WordPress core files.
- In the box for Blog address (URI): change the address to the new location, which should match the WordPress address (URI).
- Click Save Settings.
- (Do not try to open/view your blog now!)
- WordPress 2.0 only: Delete the folder wp-content/cache.
- Move your WordPress core files to the new location. This includes the files found within the original directory, such as http://example.com/wordpress, and all the sub-directories, to the new location.
- If you are using Permalinks, go to the Administration > Settings > Permalinks panel and update your Permalink structure to your .htaccess file, which should be in the same directory as the main index.php file.
- If you have problems with missing images that you uploaded, you need to change the path to the images on every post directly on your SQL database. For this, follow the instructions on Tamba2 Tutorial 8220;Moving your weblog inside your PC8221;.
- You must also check and edit store uploads folder under Settings-Miscellaneous or all your new uploads will continue to go into the old folder.
- Existing image/media links uploaded media will refer to the old folder and must be updated with the new location.
It is important that you set the URI locations BEFORE you move the files.
If you forget to change the locations
Suppose you accidentally moved the files before you changed the URIs: you have two options.
OPTION 1. Suppose the files were originally in /path/to/old/ and you moved them to /path/to/new before changing the URIs. The way to fix this would be to make /path/to/old/ a symlink (for Windows users, 8220;symlink8221; is equivalent to 8220;shortcut8221;) to /path/to/new/, i.e.
June 2, 2011 Troubleshooting 0 0
To Change Your Password
To change your password in current versions:
- In the Admin Panel menu, go to USERS
- Click on your username in the list to edit
- In the Edit User screen, scroll down to the New Password section and type in a new password in the two boxes provided. The strength box will show how good (strong) your password is.
- Click the UPDATE PROFILE button
Through the automatic emailer
If you know your username and the email account in your profile, you can use the 8220;lost password8221; feature of WordPress.
- Go to your WordPress Login page (something like http://yoursite.com/wordpress/wp-login.php)
- Click on lost password
- You will be taken to a page to put in some details. Enter your user name and the email address on file for that account.
- Wait happily as your new password is emailed to you.
- Once you get your new password, login and change it to something you can remember on your profile page.
Through MySQL Command Line
- Get an MD5 hash of your password.
- Visit md5 Hash Generator, or8230;
- Create a key with Python. or8230;
- On Unix/Linux:
- Create file wp.txt with the new password in it (and *nothing* else)
- md5sum wp.txt
- rm wp.txt
- mysql -u root -p8221; (log in to MySQL)
- enter your mysql password
- 8220;use (name-of-database)8221; (select WordPress database)
- 8220;show tables;8221; (you are looking for a table name with 8220;users8221; at the end)
- 8220;SELECT ID, user_login, user_pass FROM (name-of-table-you-found)8221; (this gives you an idea of what going on inside)
- 8220;UPDATE (name-of-table-you-found) SET user_pass=8221;(MD5-string-you-made)8221; WHERE ID = (id#-of-account-you-are-reseting-password-for)8221; (actually changes the password)
- 8220;SELECT ID, user_login, user_pass FROM (name-of-table-you-found)8221; (confirm that it was changed)
- (type Control-D, to exit mysql client)
Note if you have a recent version of MySQL (version 5.x?) you can have MySQL compute the MD5 hash for you.
June 2, 2011 Troubleshooting 0 0
There are several resources for WordPress users to get help. There is this online manual, the WordPress Codex, the WordPress Support Forum, and the IRC WordPress Live Chat.
The IRC WordPress Live Chat is just that. It is a live conversation with WordPress enthusiasts and experts to talk about WordPress. They will also take support questions, if they know the answer, but support questions are encouraged to be put on the WordPress Support Forum. The following are answers to questions people commonly have about using the IRC Chat and how the #wordpress channel works.
To get online to the IRC #wordpress channel, see the WordPress IRC Channel Guide to help you download an IRC client. If you already have an IRC client, click here: IRC #wordpress channel.
What is #wordpress chat?
Essentially, the IRC Live Chat #wordpress channel is a WordPress chat room for anyone to visit should they run into a problem or want to talk about WordPress. Not all questions may be answered, if the traffic volume is high, so do repeat a question after about 10 minutes if it has not been answered. Not all questions can be answered by those online. They will, however, often direct you towards a possible resource to find more information.
A lot of what the #wordpress chat channel is about is socializing and sharing information about WordPress. You will find a wide variety of people and skill levels there.
Like the WordPress Forum, the IRC WordPress Channel is totally run and staffed by volunteers. They do the best they can, so have patience with them.
What is IRC?
or information on what an IRC (Internet Relay Chat) is: http://www.irchelp.org/
For a list of IRC clients you could use: IRC
Wow, what are they talking about?
While a separate WordPress Help Channel was started, people continued to come to the #wordpress channel, which evolved into more of a developers and hackers room. Hang around a while and you may see a wide range of topics from sheer silliness to complicated discussions about code and programming. For someone who is new to IRC, entering a room of 70+ people talking about regex and SSH and other linux / programming terms is rather intimidating. In truth, it a highly social place and many of the volunteers have become quite good friends.
Still, do let them intimidate you. Just ask your question, and repeat it a few minutes later if it is unanswered.
Who will be there to help me?
Who knows. It will depend on what time of day it is.
Do you promise to answer everything?
No. We can do that 8211; though we will try. In some cases we might ask for assistance from someone else or tell you that it may be that a forum post is the best way to get a solution. Usually, you are directed towards other possible resources.
Can anyone help answer questions?
Yes! If you know something, help someone else out. Something like this cannot succeed with just one person doing the answering 8211; hopefully you all join in too!
How will I know who is who?
An IRC Chat Room list of who there usually contains nicknames. Some are the person real name or personal nickname, while others are just made up names. It is meant to 8220;hide8221; who is who, just the nature of a chat room.
While the majority of the volunteers are extremely helpful and friendly, before you give anyone access to your blog 8211; if they ask 8211; you should satisfy yourself that you know who they are and you trust them.
June 2, 2011 Troubleshooting 0 0
It is strongly recommended that you backup your database at regular intervals and before an upgrade.
Backup using cPanel X
cPanel is a popular control panel used by many web host. The backup feature can be used to backup your MySql database. Do not generate a full backup, as these are strictly for archival purposes and cannot be restored via cPanel. Look for Download a MySQL Database Backup and click the name of the database. A *.gz file will be downloaded to your local drive.
There is no need to unzip this file to restore it. Using the same cPanel program, browse to the gz file and upload it. Once the upload is complete, the bottom of the browser will indicate dump complete. If you are uploading to a new host, you will need to recreate the database user along with the matching password. If you change the password, make the corresponding change in the wp-config.php file.
Using MySQL Workbench
MySQL Workbench (formerly known as MySQL Administrator) is a program for performing administrative operations, such as configuring your MySQL server, monitoring its status and performance, starting and stopping it, managing users and connections, performing backups, restoring backups and a number of other administrative tasks.
You can perform most of those tasks using a command line interface such as that provided by mysqladmin or mysql, but MySQL Workbench is advantageous in the following respects:
- Its graphical user interface makes it more intuitive to use.
- It provides a better overview of the settings that are crucial for the performance, reliability, and security of your MySQL servers.
- It displays performance indicators graphically, thus making it easier to determine and tune server settings.
- It is available for Linux, Windows and MacOS X, and allows a remote client to backup the database across platforms. As long as you have access to the MySQL databases on the remote server, you can backup your data to wherever you have write access.
- There is no limit to the size of the database to be backed up as there is with phpMyAdmin.
Note: The instruction below was written for older version (MySQL Administrator).
Backing Up the Database
This assumes you have already installed MySQL Admin and set it up so that you can login to the MySQL Database Server either locally or remotely. Refer to the documentation that comes with the installation package of MySQL Admin for your platform for installation instructions.
- Open the MySQL Admin client and login as you had previously set up to do.
- From the icon menu on the left hand side of the client window select Backup.
- If you have not already created a Backup Project, do this now by clicking on the 8220;New Project8221; button at the lower part of the window and type in a name for the Backup Project where prompted.
- Select one or more databases that you want to Backup (in the MySQL Admin client these are called a 8220;Schema8221; (pl. 8220;Schemata8221;)). Add them to the Backup Content window on the right using the right-pointing arrow button.
- When you have selected the Schema(ta), you can save the Backup Project. Or you may simply choose to Backup Now using the button on the lower right of the window.
- A dialogue will come up asking you where to put the Backup. Enter the pathname or browse to the location using the dialogue.
- Assuming all is correct (and you have write permissions in the directory to which you are writing the Backup), the backup will complete shortly.
Restoring From a Backup
- Open the MySQL Admin client and login as you had previously set up to do.
- From the icon menu on the left hand side of the client window select Restore.
- Click the 8220;Open Backup File8221; button on the lower right of the window.
- Type in or browse to the Schema(ta) backup file and select. Click 8220;Open8221;.
- The Target Schema(ta) will most likely be the 8220;Original Location8221;, or you may choose an alternate location using the drop-down menu.
- Click the 8220;Start Restore8221; button on the lower right of the window. The database restore will commence.
June 2, 2011 Troubleshooting 0 0
Why can I see my posts? All I see is Sorry, no posts match your criteria?
Clearing your browser cache and cookies may resolve this problem. Also, check your search.php and index.php template files for errors.
How do I find more help?
There are various resources that will help you find more help with WordPress, in addition to these FAQ. You can also increase your search capabilities by adding the Codex and Forum Searcher Plugin and search both the Codex and Forum from your WordPress Administration Panels. Click on one of the search results and the page will open in a new window or tab so you can have the article or discussion open while working on WordPress.
- Troubleshooting
- Finding WordPress Help
- Using the Support Forums
- Resources and Technical Articles about WordPress
- Installation Problems
Where can I find help with the CSS problems I’m having?
The following are articles that will help you troubleshoot and solve many of your CSS problems:
- Blog Design and Layout
- Finding Your CSS Styles
- CSS Fixing Browser Bugs
- CSS Troubleshooting
- WordPress CSS Information and Resources
Why does the password emailed to me look weird?
If the password emailed to you looks strange, see Solving Garbled Text.
How to fix my site statistics problem on a WordPress 2.x blog hosted at Dreamhost?
Dreamhost has a kb/wiki post about this called, Making stats accessible with htaccess.
Why do I get an error message about Sending Referrers?
If you got this message when trying to save a post, consider checking Administration > Settings > General and make sure both your WordPress address (URI) and the Blog address (URI) do not use ‘www’. For example, instead of http://www.sample.com use http://sample.com in those fields. This information originally reported via http://wordpress.org/support/topic/72235
June 2, 2011 Troubleshooting 0 0
Besides the helpful WordPress forums and this Codex, there are many sites dedicated to helping WordPress users use WordPress even better. WordPress help is everywhere. So how do you find it when you really need it?
The WordPress FAQ provides extensive answers to frequently asked questions. We have even included a document on how to use the WordPress support forums to get better results on your requests for help.
Before posting in the forums, since it is run by volunteers working hard over long hours when they could be doing something much more constructive, maybe you should start with a search.
To increase your search capabilities, you can add the Codex Searcher Plugin and search the Codex from your WordPress Administration Panels. Click on one of the search results and the page will open in a new window or tab so you can have the article open while working on WordPress.
Searching The Net For WordPress Help
here are a variety of ways to search for the information you need. The biggest problem is finding the 8220;words8221; that describe your problem. The next biggest problem is limiting your search to only WordPress resources or sites. Let look at how to do this.
Searching Tips and Tricks
Once you have some starting keywords, it time to put them to work. Remember, you are not stuck with your starting keywords. They are just that, a start. As you dig into the information, you may replace those words with ones that narrow the field down a little. For example, if you are looking for 8220;wordpress sidebar layout nested links8221;, you may discover that the problem lies within the specific Theme you are using, add the name of the theme to your keywords and it may narrow down your search.
Let look at some more tips for improving your odds of finding a solution.
WordPress Sources for Help
Of course, your best chance of finding WordPress information is to go to the source. The following are the main places to go to get WordPress help and support:
- WordPress Codex 8211; WordPress Online Manual
- WordPress Support Forums
- IRC Freenode WordPress Support on channel #wordpress
- WordPress IRC Live Help
Other Helpful Resources
- Have you tried your favourite search engine yet?
- Search the support forums. There are some WP-geniuses over there that will try to help you out. Please read Using the Support Forums and Finding WordPress Help to find out how to search the forums and post a clear, answerable question.
- If you prefer visual learning, try these free WordPress video tutorials (requires email registration) provided by EasyWebTutorials.com
- PHPbuilder has how-to articles, a library of PHP code snippets, and a discussion forum.
- Refer to the external FAQ site : The fledgling FAQ has quite a few answers for the troubled.
- Check out Podz tutorial collection : Podz is our lead support moderator, and Codex contributor. He might be working on the help you are seeking right now.
- Using the Live WordPress Support on the IRC. See: WordPress IRC Live Help and IRC.
- Search the Mailing Lists and their archives. If you need professional support, you may try mailing the Wp-Pro mailing lists, and invite bids for your project.
- If all else fails, go to the WordPress Trac (bug tracker) and see if your problem has already been addressed by searching the bug database. If you think your problem merits a new bug report, file one.
June 2, 2011 Troubleshooting 0 0
On the Effectiveness of This List
There was a time when copying and pasting the list below into your WordPress installation would protect you from the vast majority of comment and trackback spam out there, however that time has long passed. These days a more adaptive solution like Akismet or one of the other fine comment spam plugins is much better protection against spam on your blog.
The List
These are words that commonly appear in spam comments. You may want to add them to your moderation list. Please read Combating Comment Spam for more spam fighting techniques and tips.
You may copy and paste the following list to the Comment Moderation box in your wp-admin/options-discussions.php page:
online
4u
adipex
advicer
baccarrat
blackjack
bllogspot
booker
byob
car-rental-e-site
car-rentals-e-site
carisoprodol
casino
casinos
chatroom
cialis
coolcoolhu
coolhu
credit-card-debt
credit-report-4u
cwas
cyclen
cyclobenzaprine
dating-e-site
day-trading
debt-consolidation
debt-consolidation-consultant
discreetordering
duty-free
dutyfree
equityloans
fioricet
flowers-leading-site
freenet-shopping
freenet
gambling-
hair-lossv
health-insurancedeals-4u
homeequityloans
homefinance
holdem
holdempoker
holdemsoftware
holdemtexasturbowilson
hotel-dealse-site
hotele-site
hotelse-site
incest
insurance-quotesdeals-4u
insurancedeals-4u
jrcreations
levitra
macinstruct
mortgage-4-u
mortgagequotes
online-gambling
onlinegambling-4u
ottawavalleyag
ownsthis
palm-texas-holdem-game
paxil
penis
pharmacy
phentermine
poker-chip
poze
pussy
rental-car-e-site
ringtones
roulette
shemale
shoes
slot-machine
texas-holdem
thorcarlson
top-site
top-e-site
tramadol
trim-spa
ultram
valeofglamorganconservatives
viagra
vioxx
xanax
zolus
June 2, 2011 Troubleshooting 0 0
Permalinks are the permanent URLs to your individual weblog posts, as well as categories and other lists of weblog postings. A permalink is what another weblogger will use to link to your article (or section), or how you might send a link to your story in an e-mail message. The URL to each post should be permanent, and never change 8211; hence permalink.
Permalink Types
There are three basic types of WordPress permalinks:
Choosing your permalink structure
In the Settings > Permalinks panel (Options > Permalinks before WordPress 2.5), you can choose one of the 8220;common8221; structures or enter your own in the 8220;Custom structure8221; field using the structure tags.
Please note: You never, ever put your site url in the permalinks slot. You must use one of the structure tags, or a combination of tags only.
To activate PATHINFO permalinks, start your permalink structure with index.php/.
Structure Tags
You can use these tags to customize your 8220;Pretty8221; or 8220;Almost Pretty8221; permalinks. A few hints:
* Make sure to end your structure with either %post_id% or %postname% (e.g. /%year%/%monthnum%/%day%/%postname%/) so that each permalink points to an individual post.
* For performance reasons, it is not a good idea to start your permalink structure with the category, tag, author, or postname fields. The reason is that these are text fields, and using them at the beginning of your permalink structure it takes more time for WordPress to distinguish your Post URLs from Page URLs (which always use the text 8220;page slug8221; as the URL), and to compensate, WordPress stores a lot of extra information in its database (so much that sites with lots of Pages have experienced difficulties). So, it is best to have at least two path segments in your post permalink structure such as /%year%/%post_name%/ or even /posts/%post_name/. (Some people recommend /%post_id%/%post_name%/ which works for performance reasons but others recommend against it because it is unfriendly to users in the many contexts in which users interact with URLs.) See Otto technical writeup on the topic as well as this wp-testers discussion.
%year%
The year of the post, four digits, for example 2004
%monthnum%
Month of the year, for example 05
%day%
Day of the month, for example 28
%hour%
Hour of the day, for example 15
%minute%
Minute of the hour, for example 43
%second%
Second of the minute, for example 33
%postname%
A sanitized version of the title of the post (post slug field on Edit Post/Page panel). So
June 2, 2011 Troubleshooting 0 0
Your WordPress database contains every post, every comment and every link you have on your blog. If your database gets erased or corrupted, you stand to lose everything you have written. There are many reasons why this could happen and not all are things you can control. But what you can do is back up your data. After all, it is important. Right?
Below are instructions to back up your WordPress Site and your WordPress Database as well as resources for automatic WordPress backup. In addition, support is provided online at the WordPress Support Forum to help you through the process.
Making backups is essential because problems inevitably occur and you need to be in a position to take action when disaster strikes. Spending a few minutes to make an easy, convenient backup of your database will allow you to spend even more time being creative and productive with your website.
Answering Backup Questions
How often should you back up?
That depends on how often you blog, how often you want to do this, and how you would feel if your database were lost along with a few posts. It is your decision.
Can you use this method to back up other data?
Yes. And you should. Backups are good.
How many backups should I keep?
Excellent question. Most people make a backup and then just replace it every time. It saves space and is less to worry about. But what if that backup file is corrupted or lost? Then what? The general rule of thumb is to keep at least three backups and keep them in three different places or forms, like CD/DVDs, different hard drives, a thumbdrive, web disk, your e-mail account, etc.
My database backups are huge! Can I do anything about that?
Possibly. Typically, anti-spam and statistics plugins can add large amounts of data and because they are constantly gathering information, the database can swell significantly. When backing up the database, such information is probably not important to keep. Do not mark those tables for backup when selecting them during the backup process.
Can backups be automated?
Yes. There are several methods of automating the backup process available, but back up those auto backups with a manual backup every once in a while to guarantee that the process is working. See Backup Resources for more information.
