Running high traffic sites powered with PHP applications is impossible without a PHP op-code cache / accelerators. Op-code caches speed up PHP applications by parsing and tokenizing PHP scripts once, and executing them faster for every subsequent request. There are 3 popular open-source op-code caches: Alternative PHP Cache (APC) is a free, open source framework
Archive for the ‘CMS’ Category
Remove up-sells, cross-sells, related products
Data about up-sells, cross-sells and related products in Magento is stored in catalog_product_link table. The link_type_id column specifies the relation between product_id and linked_product_id. Possible relations are: 1 – Related products 2 – Bundle products 3 – Grouped products 4 – Up-sell 5 – Cross-sell So if you want to remove all up-sells for all
Remove test orders from Magento, preserve the real ones
You cannot remove orders from Magento using the admin panel. You can truncate several MySQL tables but this will remove all orders. What if you want to preserve some of them? Here is a small script that removes all orders except these which IDs are in $order_iids. 1 2 3 4 5 6 7 8
Fix theme paging in Magento 1.4
Using 1.3 version theme in a 1.4 installation you can not run the pager in the product list correctly. The paging is missing. The solution is simple. We will put the new pager method in our 1.3 version theme: Replace the toolbar.phtml located in app/design/frontend/default/YOUR_THEME/template/catalog/product/list with the one in app/design/frontend/base/default/template/catalog/product/list In the catalog.xml look for
10 WordPress Security Tips
WordPress is popular today more than ever and there are a lot of different websites made on this CMS — blogs, corporate websites, online stores or even large portals. No doubt, WordPress is convenient and easy to use but it has several security issues. Today we will resolve them all.
RSS Feed
Twitter
Posted in
