Installing Git on Mac OS X versions prior to 10.9: Segmentation fault 11

So I was installing Bower onto my work machine (currently running OS X 10.7) and installed the lastest versions of Node and Git.

When attempting to install Bower I received an error from Git, and on closer inspection any git command was producing ‘Segemntation Fault’ or ‘Illegal instruction’  errors. Continue reading “Installing Git on Mac OS X versions prior to 10.9: Segmentation fault 11”

Mysql not found by PHP

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.

WordPress: curl_setopt() error when installing plugins on 1and1 host

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:

Getting 500 Server Error When Trying To Access WordPress Admin Menus

After switching host locations for my wordpress blog at the weekend I found I could not access my website due to errors in various plugins. After renaming the offending plugins’ folders on the server my page was functioning again, but when I attempted to login as admin to reactivate the plugins I was greeted by a 500 error.

After Googling I discovered the following solution was to deactivate all plugins in the database to regain access to the administrative menus.

Find the active_plugins row in the wp_options table,
Change the value of the field to: a:0:{}