Moving a Drupal Site From One Host to Another
0If you are moving your Drupal site from one host to another, you’ll want to follow the steps on the wiki:
Fatal error: Call to undefined function curl_init
0When you run your PHP script you get the error:
Fatal error: Call to undefined function curl_init()
This is most likely caused by PHP not having the curl module installed. To fix, you want to run:
sudo apt-get install php5-curl
restart Apache and then check your phpinfo page to verify if this is showing up or not.
Refreshing HTML Page and Google Analytics Integration
0Lets say you want to create a subdomain, and then route it to a completely different webpage after a predefined length of time, but you want it to execute the Google Analytic code to be able to then track the transaction. How do you do that?
New WIKI!
0For awhile now I’ve been adding technical docs to this blog in attempt to both retain knowledge that I find over the ages, but also to share with the wider community and partipate in the conversation.
Update and append to end of string in MSSQL
1How do you take a string in an MSSQL table and append another string to the end of it? To do this, you can run a bit of SQL such as:
update tablename set Columnname = Columnname + ‘newstring’ where id = X
update url_table set urlfield = urlfield + ‘&additionalfield=true’
Rob Thomas – Little Wonders
0This has to be one of my favorite songs from my all time favorite movie, Meet the Robinsons.
T.I. Road to Redemption – A surprising production from MTV
0
Once in a while, a TV station like MTV who has previously been known to do nothing but reality shows that are geared to the lowest common denominator and of the poorest taste considering the day and age that we live in, will break through and provide something to the viewing audience that really shows that it’s a station that not only has star power through it’s ability to command any Hollywood star, but also to leverage those contacts to produce something really worthwhile.
Error when installing SQLTools
0When you first install SQLTools, you receive an error message:
SQLTools.exe – Unable to Locate ComponentThis application has failed to start because OCI.dll was not found. Re-installing the application may fix this problem.

Inserting string with an Apostrophe in MSSQL
0When you try to use an insert statement in MSSQL and the string contains an apostrophe, such as:
insert into test_table set destinationfield = ‘Sometime’s’ where id = 1
Obviously test_table equals the table that holds the data, destinationfield equals the field in the table that is going to get updated, and id would equals the unique identifier of the row that is going to be changed. When you try and run this you will always get a SQL error. To get around this, you want to use double quotes:
insert into test_table set destinationfield = ‘Sometime”s’ where id = 1
You’ll notice that in the first example there is only one single quote at the end of the string. Just adding another single quote will allow the insert to go through.