My next mission was to get a local version of WordPress up and running on my mac, so I could do some testing and implementation of new features without the fear of totally messing up my live version!
I found Installing WordPress Locally on Your Mac With MAMP on wordpress.org and worked my way through the steps mentioned.
A quick overview of the steps involved for getting WordPress working locally include:
- Download and install MAMP: Mac – Apache – MySQL – PHP
- Download and install WordPress
Obviously this is a very simple overview, so head over to the article on wordpress.org for full instructions.
I would just like to point out that I set up a new database locally but did used my live WordPress working files. All I had to do was change wp-config.php to wp-config-online.php and when I accessed http://localhost:8888, the process of creating a new wp-config.php locally automatically occurred without a hitch. Just be sure never to upload your local wp-config.php to your live site and all will be fine with both versions!
If you are on a Windows platform wanting to install WordPress locally, see Installing WordPress on your own Computer for guidance.
Having trouble and getting errors when trying to upload your first image or media file into your WordPress blog post? I was!
I am currently running WordPress 3.1 and it is a fresh install with no modifications as yet, and was getting the following error message when trying to upload an image into my post for the first time:
Unable to create directory /home/name/public_html/wp-content/uploads/2011/03. Is its parent directory writable by the server?
So I set about finding a solution on Google and trying out a few suggestions from the WordPress forum post entitled Unable to upload images to blog posts. In this post it was suggested to manually set up the folders it was looking within the wp-content folder via FTP, and change the file permissions of the new uploads folder to 777.
So I created uploads/2011/03 and uploads/2011/03. within the wp-content folder as suggested and went into the folder permissions and changed the folder permission settings to 777.
I then tried to upload my image again into my post and was presented with the following error message:
“The uploaded file could not be moved to /home/name/public_html/blog/wp-content/uploads/2011/03.”
I went back to my search results and tried a few more suggestions, until I decided to delete the sub-folders in my new uploads folder and try to upload an image again, and success!
So after all that, it would seem all I needed to do was to create an uploads folder within wp-content (as below) with folder permissions set to 777.
I have also tried uploading images with the folder permissions of the uploads and wp-content folders set to 755 and this works fine too. So I would suggest not using 777 and set both these folder permissions to 755, as suggested in WordPress forum post unable to upload image.
If you want to read more about file permissions and changing them for WordPress, I suggest reading Changing File Permissions on WordPress.org.
I hope this helps :)
I am 14 weeks pregnant with our first child and it has got me thinking about the information I have at my finger tips and if this is a good thing or not.
I have been relying on searching the Internet to help me learn and understand the first 12 weeks of my pregnancy, trying to determine what to expect and if what I am experiencing is normal or not.
I am trying to rely on my instincts and not be paranoid about every little change or occurrence, but am finding the more information I search for, the more I can become worried about the otherwise normal things I am experiencing.
One recent example was a tiny bit of blood when I wiped after going to the toilet, upon researching I got very worried about all the possible bad things that could be attributed to this and mostly ignored the other more normal possible reasons. I have had a scan and all is ok with me and the baby, and the bleeding was insignificant and just par for the course. My rational mind was no where to be seen on the information highway that is for sure!
I think it is great that there is so much information out there, I am definitely more knowledgeable about each stage of my pregnancy and the changes that are occurring to me and the baby each week than I ever would have been if I was having this baby 5 years ago, but for the most part, I am going to take a step back and just let nature take its course :)