In the middle of a Drupal install on my localhost I received the following error
No such file or directory (trying to connect via unix:///var/mysql/mysql.sock) i…
2AM and in need of a quick fix I just created an alias in the location PHP was looking for mysql.
1234 mkdir /var/mysqlln -s /tmp/mysql.sock /var/mysql/mysql.sock
After finally getting round to setting up version control for my personal sites I thought i’d record the process of installing subversion on my Mac and setting up the repositories for future reference. Continue reading “Installation and Setup of Subversion on Mac OS X”
Unfortunately I have to work on a Windows machine at work, which leads to all kinds of unecessary problems, today’s being that the icon overlays for my files using TortoiseSVN have disappeared.
After putting up with the missing icon’s for a week, I discovered the reason for their disappearance was due to me installing Dropbox on my machine. Continue reading “Missing TortoiseSVN Icons on Windows”
After updating my version of TortoiseSVN to the latest 1.7 version, and upgrading the working copies of each of the branches I have on my local machine to 1.7, I was greeted with the an error message in NetBeans that my SVN client wasn’t the same as the files I was trying to work with. Continue reading “TortoiseSVN Upgrade Breaks Subversion in NetBeans 7.0.1”
The first jQuery conference to be held in Europe, and it’s coming to the UK.
When writing a function to save audio files with a user friendly filename , as well as a regex to remove any unwanted spaces and punctuation, I needed to replace any accented characters with their standard format.
e.g If I was saving a Beyoncé album I needed the ‘é’ in her name to be replaced with an ‘e’.
The following works perfectly:
When trying to install/activate plugins on my WordPress site after having to reset them following a host change, I received the following error
Warning: curl_setopt(): supplied argument is not a valid cURL handle resource in ….
This turned out to be an issue with my 1and1 hosting, and how they configure their servers.
To solve the problem I added the following to my .htaccess file:
123 AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php