First bit of new functionality work i’ve done in ModX for a longtime and I came unstuck by not being able to create any new template variables, due the the fact that ModX thought I had invalid characters in the variable title. Continue reading “ModX: Invalid Characters in a TV Name”
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”
If Your JQueryUI Is Broken in IE 7
I implemented JQueryUi’s accordion on a few sections of a recent project, styling up the headers and content from scratch so as to fit in with my site design. When it came to test the sections in IE7 however, the accordion simply displayed on the page as standard HTML h3’s and divs, as if the JQueryUI file had simply not been included in the page. Continue reading “If Your JQueryUI Is Broken in IE 7”
Bug: CodeIgniter Browscap Error
I was alerted to an error on a CodeIgniter site I am developing, which appeared randomly – no changes had been made to the site for a few days, relating to the Browscap functions Continue reading “Bug: CodeIgniter Browscap Error”
Mobile Safari jQuery Error
After developing and testing a mobile view for a site, I uploaded it to the live server and gave it a quick test. Loading it up on my iPhone the mobile view loaded as expected, but none of the jQuery features were working, as if the jQuery file hadn’t been uploaded. Continue reading “Mobile Safari jQuery Error”
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.
1234 mkdir /var/mysqlln -s /tmp/mysql.sock /var/mysql/mysql.sock
Installation and Setup of Subversion on Mac OS X
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”
TortoiseSVN Upgrade Breaks Subversion in NetBeans 7.0.1
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”
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:
123 AddType x-mapp-php5 .php AddHandler x-mapp-php5 .php
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:{}