Knowledge Base
Quick script to export Magento categories with IDs
If you are after a quick method to get all the category ID's for your categories for some Excel lookups (for new data imports), then this quick PHP script should help you out: <?php define('MAGENTO', realpath(dirname(__FILE__))); require_once MAGENTO . '/app/Mage.php'; Mage::app(); $category = Mage::getModel('catalog/category'); $tree = $category->getTreeModel(); $tree->load(); $ids = $tree->getCollection()->getAllIds(); if ($ids) { $file … Continue reading
Speeding up the Magento admin
I've noticed a few people discussing this issue on the Magento Commerce forum, so it might be worthwhile for us to offer a level of assistance (other than the fast Magento hosting we provide already from sonassi hosting). Downloading the following file, SlowManageCategories.zip patch. Extract the zip file and copy Sonassi_All.xml to your ./app/etc/modules/ directory. … Continue reading
Resolved: Routing complications at LINX
Following from our post on the routing complications at the London Internet Exchange. Whilst we haven't had official word from LINX, our tests have shown correct routing to our data centre with no issues. Once the issue is confirmed, we will update this thread. UPDATE More information from LINX, they diagnosed a faulty port on … Continue reading
Routing complications at LINX
This issue should be resolved and updates are being tracked on our LINX routing post. It seems that the London Internet Exchange (LINX) are currently experiencing problems. Our connections to LINX are no longer carrying traffic and this is having an impact on some clients who would normally cross LINX to reach us. We do … Continue reading
Random redirect to homepage with Magento
This issue has bobbed its head a few times in various different ways. The example is that a user reaches checkout, my account or an equally session critical area, but instead of reaching the selected page, they are redirected to the homepage. This can be a conversion killer as usually the bug appears most notably … Continue reading
Migrate a Magento store without SSH access
We were recently asked to migrate a store to our Sonassi Hosting platform, but the client did not have SSH access to his previous hosting account. So we quickly knocked up a script to take care of the backup process <?php $xml = simplexml_load_file("app/etc/local.xml"); $db_host = (string)$xml->global->resources->default_setup->connection->host; $db_name = (string)$xml->global->resources->default_setup->connection->dbname; $db_username = (string)$xml->global->resources->default_setup->connection->username; $db_password = … Continue reading
Fatal error: Call to a member function children() on a non-object
Maybe you would be interested in a better way to integrate Magento and WordPress if you are having difficulties with the below. If you are using Lazzymonks WordPress integration extension for Magento and experience the following error, here is the resolve. Fatal error: Call to a member function children() on a non-object in app/code/community/Mage/Blog/Model/Layouts.php There … Continue reading
Install Magento easier
All our customers should already know we install Magento free of charge on demand, but for those who want to be more self sufficient with their stores, they can use the install script. Log in via SSH as usual and run: # /data/lib/install-magento.sh [syntaxhighlighter]
Magento Version 1.3.2.4 Security Update
As of Wednesday September 23, 2009, Varien have released a security update covering XSS vulnerabilities. We recommend all users upgrade to the latest version to protect their stores - but please remember to backup prior to an upgrade!. Backing up your store is extremely quick and easy, there are two methods, manually via Sonassi domain … Continue reading
Magento: mini_sendmail and Zend_Mail incompatibility Version II.
This article is now deprecated and the issue has been resolved without changes to core code after our service change. We have recently spotted an issue after traversing our Apache sendmail application to mini_sendmail (read more about the change). In Magento's mail headers, the recipient and sender details have both the email address and respective … Continue reading