Most of our new projects at work are on mercurial and I’ve moved most of my personal projects over to git. We do, unfortunately, still have one Magento install that lives in our old subversion repository. If you’ve ever tried to work with a project the size of Magento in SVN with branching, you know… Read more »
Posts Tagged: magento
While doing routine sanity checks, on of our QA Engineers, Sammy Shaar, was alerted about an important Magento security update. The vulnerability potentially allows an attacker to read any file on the web server where the Zend XMLRPC functionality is enabled. This might include password files, configuration files, and possibly even databases if they are… Read more »
Have you ever wanted to create a stateless request in Magento? Something that doesn’t touch any of Magento’s sessions? We were having issues with some of the ajax calls on our cart and checkout pages mucking with the user’s cart and had get stateless on these calls. The issue we were having was our checkout… Read more »
We’re ajaxing part of the Magento shopping cart so we need to modify/extend some of the cart controller functionality. Sometimes when modifying controller’s you have to worry about updating the routes. For this, we don’t need to, we still want all the urls to be used the same way. app/code/local/Ai/Checkout/etc/config.xml: app/code/local/Ai/Checkout/controllers/CartController.php:
If you have multiple nodes using a shared memcached server, make sure you define a shared prefix for the keys to use. In local.xml:
Where full_config.xml is the file you want it dumped to.
This has helped me immensely in situations like “Where is this getting called from??!?” Create a helper like so: That can be called from anywhere: I’ve also wrapped this into a module that you can drop right into your project. Details here: https://bitbucket.org/broderboy/magento_callstack/src Example output: Thanks to nextide for some of the code