Problem: I accidentally clicked the ‘Profiling’ textbox in the Browse view of phpMyAdmin (see image below) and it immediately redirected the page and spat the following error:
Fatal error: Call to undefined function imageftbbox() in /Users/[whatever]/Sites/phpmyadmin/libraries/chart/pChart/pChart.class on line 1118
Continue reading “phpMyAdmin Fatal Error with imageftbbox() after clicking ‘Profiling’ checkbox”
Problem: My front windscreen wipers stopped working yesterday. Oddly when trying to use the momentary front windscreen wash, the REAR wiper worked.
Fix: Replace fuse 21.. simple but effective.
Problem: I’m customising a WP install for a client, adding some Custom Post Types and wotnot, and they aren’t going to have any need for the Links thing.
Fix: Adding this to your theme’s (or child-theme’s) functions.php removes the page and the menu link: Continue reading “Remove Links menu item in WordPress”
Problem: I’ve just put a brew on using some cheap equipment from an online retailer. The lid of the fermenting bin is loose fitting so the beer is gassing around the lid or through the airlock grommet and not through the airlock / bubbler itself. This is not really a problem while the Krausen is building and lots of gas is being produced, but can be a problem when things slow down, and air gets in. Continue reading “Cheap & simple fix for a leaking fermenting bin (homebrew)”
Problem: I’m doing my tax return 🙁 And need to frequently look for emails sent and received in the 2010/11 tax year.
Fix: Gmail is really powerful when the text search box is used. There are various advanced search operators but the ones that help here are ‘before:’ and ‘after:’. When twinned with ‘from:’ or ‘to:’ it returns exactly what you want. Continue reading “Searching between dates in GMail”
Problem: Pulling the total number of products from a subcat in Shopp doesn’t seem to work out the box. For example, this code WON’T return the total even though the correct tag shopp(‘subcategory’,’total’) is used: Continue reading “Getting subcategory totals [shopp(‘subcategory’,’total’)] to work in Shopp Plugin 1.1.*”
Problem: In Shopp (1.1.9) the default variations drop-down list shows prices. This isn’t always desired. This is the default usage: Continue reading “Remove prices from Variation drop-downs in Shopp WordPress plugin”
Problem: I’m using the Shopp 1.1.9 ecommerce plugin for WordPress, and my client wanted to display specific background images while showing certain products. Shopp is very complete, but one thing that is missing in the current version ‘out of the box’ is the ability to pull the ‘last viewed’ category name when viewing a product. Obviously a product can belong to more than one cat, so it can’t know which one to display… Continue reading “Capture last viewed category in product view in Shopp Plugin for WordPress”
Problem: While doing some Shopp Plugin support work earlier, one customer was getting this error…
Notice: unserialize() [function.unserialize]: Error at offset 111 of 118 bytes in /home/maxwell4/public_html/main/wp-content/plugins/shopp/core/model/Settings.php on line 228
Continue reading “What is Notice: unserialize() [function.unserialize]: Error at offset then?”
Problem: When connecting to a Rackspace Cloud site via FTP, hidden files are.. uh.. hidden. Usually Filezilla shows everything.
Fix: There is a setting in Filezilla called ‘Force showing hidden files’ that does exactly that. To activate that, go to the ‘Server’ menu item and select it. Like this: Continue reading “.htaccess hidden on Rackspace Cloud Sites (in FTP, with Filezilla)”