I’ve been messing around, building sites in Magento eCommerce. It’s a pretty straightforward and flexible commerce based CMS that is friendly for developers and designers alike.
Installing a local copy of Magento might seem like a trivial task, but there’s some serious lack of documentation in a few key areas. After creating a database and installing the downloadable ‘sample-data’ from Magento’s site, import that data into your database. I’m using a Mac running MAMP to handle php, mySQL and apache for running a local server. Once you have copied the magento folder over to your server root, navigate to the localhost/magento folder. I tried many times to get through this installation wizard. First off, the default installation for the magento CMS is defaulted to ‘localhost:8888/magento‘, which, being localhost, will not accept or process cookies. Instead of localhost, use the standard machine IP address in place of localhost, “http://127.0.0.1:8888/magento“. This will allow cookies in all sessions on your local server.
The next issue deals with cookies also, and took me forever to find out. What you will need to do is navigate to your magento install folder and find:
‘~/app/code/core/Mage/Core/Model/Session/Abstract‘
and open up Varien.php file.
find the following lines:
// session cookie params
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
'domain' => $cookie->getConfigDomain(),
'secure' => $cookie->isSecure(),
'httponly' => $cookie->getHttponly()
);
and replace with:
// session cookie params
$cookieParams = array(
'lifetime' => $cookie->getLifetime(),
'path' => $cookie->getPath(),
//'domain' => $cookie->getConfigDomain(),
//'secure' => $cookie->isSecure(),
//'httponly' => $cookie->getHttponly()
);

Basically we’re just commenting out the cookie requirements for secure, domain and getHttponly methods. Now your local server will allow you to install Magento and login to the backend system. Remember this is on your local machine, so you’re not going to be concerned with security, it’s just for testing, theme development and/or tinkering.