Matt's blog

ProFTPD 530 Error Login Incorrect

On our Debian VPS servers we run ProFTPD in order to enable client FTP access. These servers are all managed via SSH, and so very occasionally when setting up a new account I run into a 530 error: Login incorrect. You just can't get past it though, no matter how many variants you try on the password you thought you entered.

The most obvious thing to check is the password. Is it correct?

The Power Of Blogs on Your Home Page

Skate-Parts.Com has been maintaining a blog for some time now. While this is a powerful tool in it's own right, the latest posts were not being displayed on the front page. Placing the latest blog posts, either just the titles, or the summaries, on the home page and if possible on other pages such as in the sidebar or footer can make a big difference to your search engine optimisation and to your traffic conversion.

Blog Tags: 

Show Hidden Files in OS X 10.9 Mavericks

In OS X 10.9 Apple have changed things around again when it comes to showing hidden files. The easiest way I have come across is via the Terminal.

Simply open the Terminal app from the Utilities folder inside Applications, or by searching for "Terminal" using Spotlight in your menu bar.

Once open, enter the following two commands:

defaults write com.apple.finder AppleShowAllFiles -boolean true
killall Finder

Optimise your Wordpress website with WP Super Cache

WP Super Cache is a powerful caching tool for WordPress that can offer significant performance improvements. For a brief overview of what WP Super Cache is, what it does, and why it is beneficial for your WordPress website, check out my earlier article here.

4 Steps to Performance Gains

Click on any of the images below to enlarge them.

What is WP Super Cache?

WordPress is an excellent content management system, aimed at simplicity based around it's core blogging focus. One of the downsides of it though is that it runs a lot of heavy PHP in the background and can be quite database dependent. This means that each time any user loads any page the main PHP script along with any plugins will run and any relevant database queries will be processed, potentially placing a lot of load on your server CPU and using a large amount of RAM.

Need to increase or decrease your Wordpress Jpg compression?

For some reason Wordpress does not seem to give you an option to increase or decrease the JPG compression ratio in the media settings. This means your scaled images are stuck at the default compression ratio. The default is 90%. This is quite high and on high resolution, high quality images, this is not going to be noticable. If you are finding your images are too slow to load, 60% is a good balance of quality verse speed, but it will be a noticable quality difference.

Change The Default Magento Invoice Logo

Magento makes it very easy to change the default logo and address used on HTML & PDF invoice and packing slip printouts without needing to edit template files or any code. The options available are limited, but it does make it straight forward for an end user.

Mac OS X Boot Up Commands

If you come from a Windows/Linux background, you will be used to boot loaders and boot keys for performing particular functions on bootup. Key's to access the BIOS, boot to Safe Mode and more.

While the Mac OS X boot process is streamlined and it hides the actual processes that are run, it does still include a number of special keys that you can use during the boot process to perform a range of useful functions.

These commands work in Leopard through to Mountain Lion. I'm sure they probably work in earlier versions and will likely work in later versions too.

Blog Tags: 

How To Get a PayPal API Signature

Ever needed a PayPal API signature to receive payments through your website? Normally this is only needed if you plan to use PayPal's Express Checkout instead of the standard checkout, and the process to get your API signature can be a little confusing if you don't know where to look. You can get them in just a few clicks though, here's how:

Need to update your CMS database details?

Ever needed to update the database name, user or password for your content management system? The most common time I find I need to do this is when I'm moving a website from one server to another. Sometimes you can replicate the database details exactly, sometimes you can't.

I work predominately with Drupal, Magento and Wordpress content management systems. So where do you find the configuration for the database in these systems?

Drupal

File location from document root: /sites/default/settings.php

Pages