Month: March 2012
Stop Magento Permissions Errors ... Permanently
When working with customers not hosting with Sonassi Hosting, we continually run into the same permissions errors - along with the rest of the Magento using world. This isn't an issue if PHP runs as the same user as your … Continue reading
Helping the world, one question at a time
We've been on a big push recently in the office to try and make a determined effort to share our knowledge and ultimately help people make the right decisions. So over the past couple of weeks, we have been heavily … Continue reading
A Poor Mans Staging/Live with WordPress and Rsync
Firstly, this isn't meant to be a serious contender for 'proper' version control, Eg. Subversion or Git, or anything of the kind. But instead just a nice little way of managing a WordPress staging and live site, so that you … Continue reading
Magento HTTPS Redirect Loop
So you've enabled HTTPS in your store and suddenly you are faced with a redirect loop. In Magento versions prior to 1.6.2.0, Magento was only capable of checking the Apache $_SERVER['HTTPS'] variable. In ./lib/Zend/Controller/Request/Http.php the HTTPS sanity check would observe … Continue reading
Why shouldn't I use Nginx for Magento
We are going to give you a loose analogy – a (Magento) fast-food restaurant. The cast The customer (at the drive-through), is the customer on your web store. The till operator (who sits on a chair and hands you the … Continue reading
What is Memcache actually caching in Magento
Your Memcache configuration in ./app/etc/local/xml will dictate what Memcache is actually caching. If you are only using a the single-level cache (without <slow_backend>), then Magento will store its cache (in its entirety) in Memcache. **HOWEVER** without the <slow_backend> defined - … Continue reading
Secure your Magento Admin
Changing the URL for your Magento admin isn't really a way to protect your store; security through obscurity isn't security at all. Fortunately, there is a nice simple modification that you can make to your .htaccess file to protect certain … Continue reading
Enourmous Magento sales_flat_quote* tables
Recently, we have run into a few stores where the sales quote tables have grown beyond all proportion and resulted in the store grinding to a halt. The worst that we have seen so far is a Magento Enterprise installation … Continue reading
Staging / Development / Live SVN with Magento
Whether you are making £10 per hour, or £100,000 per hour - making adjustments to your live site is a practice best avoided. Whenever we start work on a new site, the first thing we do is set up an … Continue reading