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.
Posts Tagged ‘php’
Site Skeleton Generator
Posted on September 21st 2009 11:07am Monday, by Blaine
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 [...]
How PHP Includes Work
Posted on September 6th 2009 6:04pm Sunday, by Blaine
A PHP include allows you to append a file inside of another file. For example, if I had a file called hello-world.php I could attach goodbye-world.php to the end of hello-world.php

