Blaine Ehrhart's Lastest Blogs

Removing Viruses on a Website

Posted on October 30th 2009 3:13pm Friday, by Blaine

Before I throw my integrity out the window, let me start off by saying I have not been the one to give a website a virus. I am however the one who has to remove them. Every once in a while I will get an call from a client saying that their website has a virus. Sometimes it is their computers that have the virus. But sometimes I find the the website does indeed have a virus.

Replacing part of Magento’s Database

Posted on October 22nd 2009 2:35pm Thursday, by Blaine

During the upgrade of a Magento shopping cart all of the sub categories were suddenly missing from the database. This article explains how I restored categories to Magento from a backup.

Site Skeleton Generator

Posted on September 21st 2009 11:07am Monday, by Blaine

Do you ever wonder how other website developers organize and create their websites? I do, and I am always looking for better ways to organize my work. I have developed a loose file template for HTML based websites. The websites I use this on a range of websites.

Moving Magento from a sub directory

Posted on September 10th 2009 1:52am Thursday, by Blaine

While moving a Magento cart from a sub directory to the root directory I ran into a problem. A problem that didn’t seem to be documented anywhere. My problem was specifically with APC cache. If you have this installed in Magento. If you have just moved Magento and are getting errors make sure you have…

Basic Template System in PHP

Posted on September 6th 2009 6:13pm Sunday, by Blaine

When developing a basic PHP template system I attach 3 layout files to my content file. The three layout files are html.php, head.php, and foot.php. For this example I am going to be creating a “downloads.php” page and attach the layout files using PHP includes. I teach how PHP includes work in my blog as [...]