Snow Leopard

Removing MySql Server from Snow Leopard

I am still running snow leopard, i haven’t got the money to upgrade to lion yet. Today i thought of totally removing mysql server, for some reason i kept on going round and round in circles. you can run these commands to totally remove everything from your computer

sudo rm /usr/local/mysql
sudo rm -rf /usr/local/mysql*
sudo rm -rf /Library/StartupItems/MySQLCOM
sudo rm -rf /Library/PreferencePanes/My*
(Edit /etc/hostconfig) sudo vi /etc/hostconfig (Remove line MYSQLCOM=-YES)
sudo rm -rf /Library/Reciepts/mysql*
sudo rm -rf /Library/Reciepts/MySQL*
sudo rm -rf /var/db/receipts/com.mysql.mysql*

How to edit header on Drupal 7

I found my self stuck. All i wanted was to edit add an extra xml namespace for my facebook buttons to work properly. I had to add the following code.

xmlns:fb="http://www.facebook.com/2008/fbml#"

I tried everything on my template.php file but nothing seemed to work. Drupal 7 uses Irish RDFa Core 1.1 specification which had nothing to do with facebook. So i ended up editing the html.tpl.php files which is shipped with Drupal 7.

You can locate this file by browsing to

sites>modules>system>html.tpl.php

I would strongly suggest that you don’t delete anything from the file.

The file temporary://fileh0RXsD could not be copied

After a long debate in my head about the right CMS for my clients. I decided to give Drupal 7 a try. I must say it is far better than i thought it was. There is a lot more i can do for bigger clients using Drupal. I appreciate wordpress and i love it but i must say “Drupal is rocks”.

I got a lot of errors while i was learning, and this particular one stood out and i didn’t know how to fix. it. I moved my Drupal site from Local host which runs on Acquia Dev. It took me a while to get this right and this one problem stayed.

It’s a simple solution, basically change the file permissions on

sites/YOURTHEMENAME/files/ to cmd 777.

I changed the js and the css folder and the error message went away.

Good Luck