503 Service Temporarily Unavailable on Magento after Clearing Cache
503 Service Temporarily Unavailable on Magento after Clearing Cache Some tips from me on debugging 503 errors in Magento.
astorm503 Service Temporarily Unavailable on Magento after Clearing Cache Some tips from me on debugging 503 errors in Magento.
astormIn 1995, Erich Gamma, Richard Helm, Ralph Johnson, and John Vlissides — via their publisher Addison-Wesley — released a book titled Design Patterns. This book describes 23 different approaches for
astormMagento 2 and Composer: Tutorial preview – Session Digital Speaking of James Cowie, here’s his video introduction to Magento 2, as well as a more in depth discussion of Magento 2 and composer.
astormThe following steps are, as of October 22, 2015, the quickest way to get a working version of Magento 2 up and running without checking out the source from GitHub. The following will install the merchant beta – which is a stable, mostly feature complete version of Magento 2. There have been changes to the Magento 2 source since [...]
astormHere’s another gotcha to be careful of when using the sales/quote model objects. If you pass the following methods setBillingAddress, setShippingAddress, assignCustomerWithAddressChange an existing quote address object, these methods will reassign the address to the current quote (removing it from the old quote). If you were [...]
astormHere’s another caution sign if you’re using the sales/quote object’s deleteItem or removeItem method. If you look at the code that marks an item for deletion $item->isDeleted(true); if ($item->getHasChildren()) { foreach ($item->getChildren() as $child) { $child->isDeleted(true); } } $parent = [...]
astormI’m working on an in-depth ERP project, and ran into a strange problem where I had a reference to a quote object that refused to delete its items. I could run something like this foreach($quote->getItemsCollection() as $item) { if("item meets my criteria") { $quote->deleteItem($item); } } [...]
astormJust a quick writeup this time on how I'm using Squid to help debug PHP/Magento issues on an iPad with a non DNS hostname. I'm not exactly breaking new ground here, but I found none of the existing sources everything I needed or wanted
astorm