Jan 9, 2013 ·
1 minute read
bash
I recently needed to trigger a couple of bash scripts through a web browser. Unfortunately PHP shell_exec function grinds to a halt when it is used to trigger a long running / memory intensive script when it is used with Apache. To get round this I instead wrote the command to a file and then wanted to trigger it using cron. However, the commands that were being issues included a
Read On →
Jan 9, 2013 ·
1 minute read
ecommerce
Most online merchants who are into multichannel selling (that’s all of you, right?) must have heard of Play.com. Never quite up there with Amazon and Ebay it was often the one that merchants asked us to integrate with once the two big ones were taken care of. Play was originally a pure online retailer but decided a few years ago to jump on the marketplace bandwagon like market leaders Amazon. Now it seems Play have been bought out by a Japanese company and thanks to a lucrative VAT loophole being closed (and rightly so) they have now decided to abandon retail sales completely and concentrate purely on their marketplace business.
Read On →
Jan 8, 2013 ·
1 minute read
magento
If for example you’re removing an extension and want to clear out its information from the database, you’ll need to establish the rows and tables it’s inserted, as well as some standard Magento table entries. So you’ve removed everything, cleared your cache and now you go to the homepage to check everything is all good, and boom, PDOException: Base table or view already exists: 1050 Table ‘*’ already exists In my case it was salesrule, which made me question why it was trying to create the table afresh.
Read On →
Jan 7, 2013 ·
1 minute read
linux mint
If you are using Firefox browser on Linux Mint you might have notice that the default search engine is not Google but DuckDuckGo. DuckDuckGo are presenting themselves as the biggest threat to Google search engine bringing as the main advantage more privacy than what Google currently offer. If you are happy with it than you are fine but if you feel like me that DuckDuckGo might have some interesting features, it does not bring the same result or way of using internet than Google search engine then you might want to come back to Google then please follow the below step by step procedure: Type about:config in the location bar and press Enter Type keyword.URL in filter Change the keyword.URL value to: http://www.google.co.uk/search?ie=UTF-8&oe=UTF-8&sourceid=navclient&gfns=1&q= Hope that help.
Jan 3, 2013 ·
1 minute read
magento
If you just want to get the Magento version on the command line quickly try this one liner: php -r "require 'app/Mage.php'; echo Mage::getVersion(); " Does exactly what you need
Jan 2, 2013 ·
2 minute read
magento
If you have a Magento site that is consistently erroring out and giving you the report screen with the file name, but the file does not exist in the reports folder then this could be your solution. The most likely culprit in this scenario is that the filesystem has run out of space. If this happens, Magento will die because it literally can’t create any files and it needs to do this for caching, session etc.
Read On →