Blog

LastPass Has Made Me More Productive

Thursday, May 26th, 2011

I started using LastPass nearly a year ago. At first, it was for the security reasons – it was featured on the Security Now podcast (an excellent resource for anyone in the Web or IT industry). Read More →

Taming Media Upload in Your Theme or Plugin

Friday, April 8th, 2011

And changing that pesky “Insert Into Post” button

For all you WordPress developers out there, here’s some good news:

You CAN use the built-in WordPress Media Upload functionality in your plugin or theme.  I can’t take credit for figuring THAT out – that goes to Matt with Read More →

Typekit and Google Expand Web-Safe Fonts

Thursday, March 3rd, 2011

Forever, there’s been only a small handful of font selections that you could use safely on your website. Literally – like 8 different fonts that you could be sure would be on everyone’s browser.

But now, thanks to two awesome services, you can use a much larger variety of fonts. Read More →

Hostgator Continues to be my Favorite

Wednesday, March 2nd, 2011

When it comes to web hosting, I’ve got experience with a bunch of them – GoDaddy, Dreamhost, Network Solutions, 1and1, iPage, NetFirms, WestHost, and many others. I know that GoDaddy is hugely popular, and I also know that while they do many things well, the also have some serious limitations. I’ve moved all of my hosting to Hostgator, and I encourage all of my clients to move their hosting to Hostgator also. Support: awesome. Speed: excellent. Flexibility: outstanding. Ease-of-use: wonderful. Some day I should do a side-by-side comparison, but for now, suffice it to say that I can’t encourage you enough to use Hostgator.

IIS7, ASP Classic, and 404.3 Errors

Thursday, February 24th, 2011

Or Why I Really Need to Get Away from ASP Classic

First, a Minor Rant

As a web developer, I deal with hundreds of websites.  I’ve got one – exactly ONE, that is still in ASP Classic.  And, as the owner of that site, I have no excuses for not rewriting it in PHP  – outside of the fact that it’s huge, complicated, and I’m always busy trying to keep my client’s happy. Read More →

Who Owns Your Domain?

Saturday, May 29th, 2010

Your domain name is your online identity, so you should be certain you have ownership. Do you?

When you register a domain name through a registrar such as Network Solutions, GoDaddy, or Register.com, you go through a process of registration in which you are the owner of the domain name. Read More →

Whos Searching for You?

Saturday, May 29th, 2010

(by the way, we can tell you)
Searching for You

Right now people are looking for you. It doesn’t matter what you offer, the fact is that somewhere someone is searching for you. Now. The question is: Are they finding you? Read More →

Converting Visitors

Saturday, May 29th, 2010

Converting Traffic

Converting visitors isn’t rocket science, but it’s close. Look, the average conversion rate for websites is a pathetic 2.6%. Like all averages, this includes the high (catalog sites convert at over 6%) and the low (electronics: 1.1%). (Note that these numbers are likely skewed, because the source is a high-end Website Analytics company who’s customers are big-budget companies). Read More →

Magento 1.6 Theming Admin Pages

Monday, May 10th, 2010

Creating an Admin Theme to match your frontend

As it turns out, this is simple. Here’s the steps:
1) Look in skin/adminhtml/default – inside the folder, you will see another folder titled default
2) Copy that folder, and rename it to match the name of your frontend themes (for example, “cooltheme”)
3) Modify the boxes.css and images to your liking
Read More →

How to Move Zen Cart to a New Server

Friday, May 7th, 2010

Moving Zen Cart is a regular part of my job description.  I do it often enough that I thought it might be useful to share how to do it for others:

  1. Using FTP, copy your entire Zen Cart Directory from the current server to your local computer
  2. Using FTP, copy your entire Zen Cart Directory to the new server
  3. Export the Zen Cart database from your current server
  4. Import the Zen Cart database to the new server

Now things get interesting.  There’s a few adjustments that need to be made both to the database and to the configure.php files:

Note: There are TWO configure files – one is in includes/configure.php, and the other is in admin/includes/configure.php

First, we will address the admin includes file.

In this example, the installation is in a directory titled shop.  If you were to visit the site, the url would be http://www.mydomain.com/shop.

Open it in your favorite editor, and look for these lines:

define('HTTP_SERVER', 'http://www.mydomain.com/shop');
define('HTTPS_SERVER', 'https://www.mydomain.com/shop');
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

In these lines, it’s fairly clear what needs to be done: replace mydomain.com with the new domain name.

Now look for this line:

define('DIR_FS_CATALOG', '/home/yourname/public_html/shop/');

This one can be a bit trickier.  Basically, you have to find out what your new path is to your installation.  Then, you need to replace the path above with your new path.

Then, look for this line:

define('DIR_FS_SQL_CACHE', '/home/yourname/public_html/shop/cache');

Last thing in the admin configure.php file is this:
Finally, we need to deal with the database settings. Look for these lines:

define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'caleberg_racetec');
  define('DB_SERVER_PASSWORD', '123racetech456 ');
  define('DB_DATABASE', 'caleberg_racetech_zen');

Change them to your new host database settings.

Then, FTP this file up to your new server, replacing the admin/includes/configure.php file.

Then Edit the includes/configure.php File

Look for these lines:

define('HTTP_SERVER', 'http://www.mydomain.com');
define('HTTPS_SERVER', 'https://www.mydomain.com');
define('HTTP_CATALOG_SERVER', 'http://www.mydomain.com');
define('HTTPS_CATALOG_SERVER', 'https://www.mydomain.com');

Just like with the other configure file, replace mydomain.com with the new domain name.

Now look for this line:

define('DIR_FS_CATALOG', '/home/yourname/public_html/shop/');

Again, the change is like the other configure file.

Then, look for this line:

define('DIR_FS_SQL_CACHE', '/home/yourname/public_html/shop/cache');

Finally, we need to deal with the database settings. Look for these lines:

define('DB_SERVER', 'localhost');
  define('DB_SERVER_USERNAME', 'caleberg_racetec');
  define('DB_SERVER_PASSWORD', '123racetech456 ');
  define('DB_DATABASE', 'caleberg_racetech_zen');

Change them to match your new server’s database information.

Upload this file to your new server, replacing the includes/configure.php file.

Last thing to do is to update your session key. The Zen Cart team has created a utility that makes it simple – go here and download it, and follow their instructions: Fix Cache Key tool and instructions.