<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Special Operations &#187; magento</title>
	<atom:link href="http://www.specialops.co.nz/tag/magento/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.specialops.co.nz</link>
	<description>Web development, design, print &#38; video in Auckland, New Zealand</description>
	<lastBuildDate>Mon, 14 Nov 2011 00:28:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Installing Magento in MAMP</title>
		<link>http://www.specialops.co.nz/blog/installing-magento-in-mamp/</link>
		<comments>http://www.specialops.co.nz/blog/installing-magento-in-mamp/#comments</comments>
		<pubDate>Wed, 25 Nov 2009 00:10:13 +0000</pubDate>
		<dc:creator>John Gillespie</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[e-commerce]]></category>
		<category><![CDATA[magento]]></category>
		<category><![CDATA[mamp]]></category>

		<guid isPermaLink="false">http://www.specialops.co.nz/?p=663</guid>
		<description><![CDATA[Magento. Truly the kitchen sink of open source shopping carts and e-commerce packages, and with enough features to shake a stick or spanner at, but like a kitchen sink, it can take a little specialist knowledge to install.]]></description>
			<content:encoded><![CDATA[<p class="intro"><a title="Special Operations and Magento CMS and E-Commerce platform" href="http://www.magentocommerce.com">Magento</a>. Truly the kitchen sink of open source shopping carts and e-commerce packages, and with enough features to shake a stick or spanner at, but like a kitchen sink, it can take a little specialist knowledge to install.</p>
<p>Attempting a localhost installation of Magento v1.3.2.4, using Godsend and development life-saver <a title="MAMP: Personal webserver in OSX" href="http://www.mamp.info/en/index.html">MAMP</a>, I came across an issue unseen in previous versions, and although the issue is documented, it may be of some benefit to explain its work around in more detail, especially when in combination with MAMP</p>
<p>During installation Magento sets cookies, and many browsers will refuse to accept them when the installation is at the MAMP default URL, http://localhost.</p>
<p>As the Magento installation notes explain:</p>
<blockquote><p><span style="color: #000;">DNS resolution (important)</span><br />
During the installation Magento will set cookies and most browsers will refuse to accept cookies for localhost. This can lead to several problems but no error messages. E.g. when trying to set the locale the page will just refresh and revert to the standard En-US locale. To avoid this problem create another entry for localhost in your /etc/hosts file and use that hostname to access the site:<br />
127.0.0.1 locahost www.localhost.com</p></blockquote>
<p>Aside from being unable to set location information during install, I had the more critical issue of being unable to log into the Admin page afterwards, both in Firefox and Safari—basically a complete show stopper.</p>
<p>The workaround is as suggested in the install documentation, but slightly adapted for MAMP.</p>
<h3>Creating a new host in MAMP</h3>
<p>1. Open the MAMP application<br />
2. Navigate to the Hosts panel<br />
3. Create a new entry for localhost:</p>
<p style="padding-left: 30px;"><strong>Server Name</strong>: www.localhost.com<br />
<strong>Disk location</strong>: /Applications/MAMP/htdocs (default MAMP site root)</p>
<p><img class="alignnone size-full wp-image-664" title="Special Operations: Installing Magento in MAMP" src="http://www.specialops.co.nz/wp/wp-content/uploads/2009/11/localhost-mamp.png" alt="Special Operations: Installing Magento in MAMP" width="537" height="483" /></p>
<p>Which has the effect of changing your Magento installation location:</p>
<p style="padding-left: 30px;"><strong>Default MAMP installation URL</strong>: http://localhost/magento<br />
<strong>New MAMP installation URL</strong>: http://www.localhost.com/magento</p>
<p>Your browser will now accept cookies, and critical access to the Magento Admin page will be restored.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.specialops.co.nz/blog/installing-magento-in-mamp/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
	</channel>
</rss>

