Connect with us

Home Improvement

Manually Updating a Local WordPress Installation Using Windows XP

Published

on

Introduction

Just recently, I updated WordPress from 2.8 to 3.0. Most tutorials including WordPress’s Codex, tell you how to update for a live blog, which is stored at your web host’s server. I could not find any information regarding manually updating an installation on a local computer (such as a testing server for theme development), so I wrote this article.

You may be asking, “Why not just use the auto-update feature?” Well, as documented by typing something like “WordPress 3.0 hangs at Unpacking the Update” into Google without quotes, I ran into the problem of the auto feature halting while updating. I had to install manually.

Manual Installation Basics

It turns out manually updating was pretty easy, but was very difficult at first because of pitfalls I did not pay attention to. Those will be documented in the “pitfalls” section below. Although I won’t put together an in depth tutorial, I will tell you how I updated my test blog in a very basic way. This same method is similar to the instructions in the Updating WordPress codex page.

  1. First, I backed up the database by going to Tools, then Export in the Admin panel. I then selected Download Export File. This method is documented in the article “How to back up your WordPress blog in 60 seconds” by Christopher S. Penn. Type this article title in Google to find out more.
  2. In the Admin panel, there were the buttons Install Automatically or Download [WordPress version number]. I chose the download link for a manual installation
  3. I navigated to the folder the file was downloaded to. This may be a My Documents, Documents or Downloads folder. In my case, it was a Downloads folder within My Documents
  4. I unzipped the folder (WordPress-3.01.zip) by right-clicking and selecting Extract All
  5. Following the Extract All wizard opens up the extracted folder. I double clicked the WordPress folder
  6. From here, I opened up a second Explorer window by going to Start menu, My Computer. From there I navigated to my original WordPress installation. I installed mine in Local Disk (C:), Program Files, Apache Software Foundation, Apache 2.2, htdocs, WordPress
  7. Once inside my original WordPress folder, I copied (Ctrl-C) the wp-includes and wp-admin files from my WordPress 3.01 folder and pasted (Ctrl-V) to the original (WordPress 2.8) folder
  8. Although I did not do the following step during installation, as my folders were already set up this way, it is a good idea to set up your folders in Windows XP so they show the full path in the title bar. To do that, go to the Tools menu item, Folder Options…, View tab, check Display the full path in title bar and Display the full path in address bar. This way, you can know at a glance which folder you are in
  9. As mentioned in the Updating WordPress codex page, I did not copy the wp-content folder, as this would overwrite my current themes and plugins. For WordPress 3.0, I copied the twentyten theme folder into the wp-content, themes folder to get 3.0’s newest default theme
  10. Finally, I copied all of the files from the top level folder, WordPress, including index.php. Then I pasted these into the original (2.8) folder. I did not overwrite the.htaccess file or the wp-config.php file, leaving these as is. Usually, these files are not included in a typical install. I renamed the wp-config-sample.php file in WP 3.0 as wp-config-sample2.php just in case
  11. From here, I was asked to login to my Admin panel again and prompted to update the database, following the provided link
  12. Installation was successful!

Windows XP Related Pitfalls

Installation was successful after a lot of trial and error and cursing at my computer screen, that is. I was trying to follow the above advice to install manually after the frustrating hang at “Unpacking the update” in the auto install. When trying to manually move the wp-admin and wp-includes folder from the 3.0 folder to the 2.8 folder, I was getting “Cannot create or replace wp-admin: Access is denied” error messages. What was even more frustrating was that I was getting these messages after sending the original file folders to the Recycling Bin via deleting them. I couldn’t even Restore the files as access was denied! Surely I thought I scrapped my entire WordPress installation and couldn’t upgrade.

Finally I realized what the problem was. I was working in a Limited account in Windows XP. I do this purposefully for safety, because I don’t want to be online with an Administrator’s account. To follow the above instructions, copying and moving files in the Program Files folder and such, I needed to log in to an account with Administrator’s privileges.

I never figured out if the Limited account issue was why the Auto-Upgrade feature didn’t work. However, this advice is warranted: if upgrading WordPress manually for a local installation, make sure you are using or have access to an account that has Administrator privileges. I hope this article will be useful for those who may have come across the same problems I did. Thank you for reading.

google news

Home Improvement

Codependency – Do You Need to Be Needed?

Published

on

By

Maybe you grew up in a dysfunctional home in a codependent relationship. In the bestselling book, The Glass Castle, Jeannette Walls tells of her hardscrabble childhood. Her father was an alcoholic, her mother abdicated her role as caregiver, and the children had to fend for themselves. Walls’ parents made their children serve them, not the other way around. Perhaps your situation is not so deeply dysfunctional, but it doesn’t have to be to grow up codependent.

What does it mean to be codependent?

Basically, you are codependent when you are in a relationship in which someone who is pathological, possibly with an addiction, controls you. The dysfunctional relationship puts you in a position to help or enable someone else to be immature, irresponsible or incompetent in some way.

Children who grew up with a tenuous bond with their parents, as Walls did, were in a constant state of anxiety. They had to forget their own needs, let alone what they wanted. They even had to forget who they were at their core in order to survive. You don’t have to be a child of an alcoholic to feel that you’re not good enough, and that your own feelings are unworthy. Children with parents suffering from narcissism, borderline personality disorders and other problems can feel equally insecure.

What happens when codependent children grow up?

As children, they learned to sublimate their needs, and most continue in that pattern. Their self-esteem has been eroded, so they need the approval of others, just as in their childhood. They pay more attention to others’ feelings and needs than their own and cater to others so they won’t be abandoned or rejected, as they fear they would have been as children. They have no ability to assert their own needs in a relationship, and often end up with a partner who continues the pattern of codependency.

Yet, having learned in childhood how to manage others, they can appear completely confident and competent. Because they are the person others depend on, they appear mentally and emotionally strong. They understand from experience that they shouldn’t depend on anyone else. They are the problem-solver, the caretaker, the decision-maker and the rescuer. They are driven by the need to be loved and accepted, as they never were by their parents or original caretakers.

Codependents need to be needed.

So they seek out someone who they can ‘help,’ and therefore feel good about themselves. But what often happens as the relationship evolves, is they support the other person’s negative behavior, whether it be incompetency, immaturity, irresponsibility or poor mental and physical health. If they end up with an alcoholic, for example, they enable the behavior by covering for their partner. They continue to rescue their partner-all the while feeling very needed-from problems. In actuality, they are accommodating unhealthy behavior. Unfortunately, the result is they prolong that behavior the longer they enable it.

More about codependency next time.

Orange County Counseling professional. If you need safe, effective counseling services, please get in touch.

google news
Continue Reading

Home Improvement

Amendoim – What is it and How Does it Stack Up to Other Exotic Hardwoods?

Published

on

By

As exotic hardwood floors continue to gain in popularity, Amendoim is sprouting up as a popular hardwood flooring option. But what is it exactly, and where does it come from?

Amendoim is commonly referred to as Brazilian Oak, although another species, Tauari, is also called Brazilian Oak, which has lead to a great deal of confusion among the flooring industry. It is grown in Brazil, Argentina, and Paraguay, and is also used to make fine furniture because it sands and shapes very well compared to other hardwoods.

Much like Brazilian Cherry, Amendoim has a reddish hue, but it has a more golden cast, particularly the sapwood. Amendoim Hardwood Floors have more swirls and rings than seen with Brazilian Cherry, but much like its sister specie, its soft brush strokes look as though they were painted on with watercolor. It will darken with sunlight, also like Brazilian Cherry Hardwood Floors, but it’s a much more subtle difference.

Also like Brazilian Cherry and other exotics, Amendoim is very, very strong, showing top ratings on the Janka hardness scale – 1912, which is above maple and red oak, and equivalent to Santos Mahogany. Brazilian Walnut is considered the strongest at 3680.

Amedoim is available in both solid and engineered hardwoods, with some engineered collections offering very inexpensive options. Engineered products range from $2.89 per square foot to $6.69 depending on the finish, distressing techniques, plank width, and thickness.

You can find solid Amendoim floors ranging from $4.09 per square foot for smaller spaces up to $7.70 for 5 ½ inch wide planks, which are typically the best sellers in all wood flooring products.

Price-wise, Amendoim is somewhat similar to Brazilian Cherry, perhaps a little more expensive, but much of that depends on what you’re looking to do. Handscraped floors will cost more than smoother finishes regardless of the specie. Brazilian Cherry seems to have more engineered options on the market with cheaper prices, but if you’re set on something solid, Amendoim is cheaper.

If you’re still exploring your options for a floor, have a free hardwood floor sample sent to your home so you can actually see the product and cut of the wood. This is particularly important with Amendoim because you could either be getting the tan sapwood or the reddish heartwood. Some cuts have lots of swirls and others don’t. You just want to be sure that you’re getting what you pay for.

A reputable exotic flooring retailer can walk you through the selection process and help you figure out if Amendoim is right for your home.

google news
Continue Reading

Home Improvement

How to Clean and Fix Your Oscillating Fan

Published

on

By

When cleaning the fan, you will need the following things:

-a screwdriver, to open the fan

-detergent and some warm water to clean it

-dry cloth or a towel to wipe off the remaining water

Not really a lot of things, right? Well, that’s one more benefit of oscillating fans-they are really easy to open and clean. An oscillating fan cools down more air than a regular fan, so it’s more likely to get dirty faster and more often. That’s why it’s design must allow easy cleaning.

So, the first thing you have to do in order to clean the fan safely is to unplug it from the electricity. After that wipe off the surface dust from the fan. When you have done that, you can begin disassembling it. Remove the grill by unscrewing the screws that keep it together. Some grills don’t have crews but clips and that makes the process even easier. Remove the blades by taking off the screws that keep them attached to the fan. Now you can use detergent to clean the grill and the blades. Be very careful with this because you don’t want any electrical components to get wet. After that use a dry towel or a cloth to dry the washed parts. Before reassembling, the grill and the blades should be left for some minutes to dry a bit more. That way, you will avoid getting injured or breaking down your fan. Reassemble the fan in the reversed order in which the parts were removed. Tightly screw in all the screws, plug it in and test it. Your crispy clean fan should now work perfectly, the ticking is probably gone, and the air is better because you stopped the accumulated dust from spreading around the room.

If you can hear the clicking noise while the head of the fan moves it could be just dirt. However, it could be that the gears are worn or loose. You will have to open it anyway so unplug it and to that.

– Take a screw driver and unscrew the grill of the fan. Take off the blades and clean them altogether with the grill, the shaft and the motor housing. For the grill and the blades you can use only water and detergent but for the shaft and the motor housing vacuum cleaning wouldn’t be such a bad idea. While you are there inspect the motor. If the gears look OK put everything back together again in the reverse order and plug the fan in the electricity. The fan should be running quietly now.

– If the gears look like they need a replacement or tightening up, then your work is not done yet. First check the set screw. If it’s loose tighten it up because this screw balances the blades and when it gets loose they are not balanced correctly and that may cause the buzzing and clicking sound.

– Also inspect the gear assembly and the motor housing. Try tightening them up. If you can then all should be good. But, if they can’t be tightened that means that they are worn and you have to replace them. After they are tightened or replaced lubricate the shaft and reassemble your fan.

google news
Continue Reading

Trending