Setting up Django, Nginx, MySQL and uWSGI

In Django, Linux, Server on December 30th, 2014

This blog is more like technical documentation on how to setup Django, Nginx and uWSGI. Let’s see short and sweet definition of Nginx and Django.

Read more...

Magento: Recoverable Error: Argument 1 passed to Mage_Core_Model_Store :: setWebsite() must be an instance of Mage_Core_Model_Website

In Magento on May 28th, 2014

In my case, it got fixed by turning off Data Collection cache (Magento Admin -> System -> Cache Management -> Select Data Collection Cache and disable it). I had large site, with almost 1 million + products. There are more fix.

Read more...

Cleaning Magento log for improved performance

In Magento on May 21st, 2014

Maento saves log in multiple tables which can degrade performance of site has significant visitors. Clean Magento log tables for improved performance.

Read more...

Segmentation failed with PHP, Magento and PDO

In Magento, MySQL, PHP on March 13th, 2014

The script fails with “Segmentation failed” error. I spent hours to debug this problem and found that some problem during inserting data into `catalog_product_entity_text`.

Read more...

Installation Maxmind GeoIP Python Library in OS X 10.9 (Mavericks)

In Django on February 25th, 2014

Installation Maxmind GeoIP Python Library in OS X 10.9 (Mavericks), troubleshooting

Read more...