Solved: Facebook OG share image in Magento 1.9 (without installing any plugins)

Magento 1.9 branch has been around for a while and a lot of websites are still using it although Magento 2 branch has been announced a while ago. Magento 1.9 doesn’t have the open graph installed by default and if you do (of course you do) want to get the benefits of using OG tags […]

ssh-find-files-containing-shipping-payment-2

Solved: Checkout Not Working if Formkey Validation Turned On (After Applying Patches)

Recently I updated a client site to the latest 1.9.3.9 version from 1.9.2.4 to include all latest security and improvement patches. The site was using a customized RWD theme. After the update everything worked pretty well, but in the admin there was a big message at the top that said for better security formkey validation […]

Magento admin - sitemap path not available and cannot be used.

Solved: Magento 1.9 creating sitemap fails, path is not available and cannot be used

If you are optimizing your Magento 1.9 store for search engines you may want to generate additional sitemaps lets say to every store you have, especially if you have the stores in different languages. What is funny is that you need to create these sitemaps yourself but when creating them via Catalog -> Google Sitemap […]

magento 1 9 upload buttons

Solved: Image upload buttons missing in Magento 1.9 page editor

A customer called me today with an interesting issue. Their Magento store was normally having buttons to upload images to their page, but today these image upload buttons were missing. There was only the blue line where the images were supposed to be, but no buttons.  When right clicking the area where the buttons should […]

Solved: Tar.Gz compress Magento folder over SSH

When you need to to pack and download your whole Magento installation and there are no good tools for this available in your webhost’s admin panel, maybe you can use SSH to backup your Magento installation.   1. Create a SSH connection In order to create a SSH connection – you need a SSH client, […]

The best non-www to www Magento htaccess redirect

There are many ways to redirect a non-www Magento to www. You may want to do this for SEO purposes.  I have tried many ways to redirect Magento to www and several of them broke some of my sites functionality (ie payment returns).  Here is the best code to add to the top of your […]

Solved: Magento Inline translation not working in Chrome

Tried to use inline translation for frontend in Magento. Didn’t work. The icons appeared, but clicking them didn’t have any effect.  How to make inline translation to work in Google Chrome browser?  1. Navigate to \app\code\core\Mage\Core\Model\Translate\Inline.php 2. Row 272, find this code: <script type=”text/javascript”>     new TranslateInline(‘translate-inline-trig’, ‘<?php echo $ajaxUrl ?>’, ‘<?php     […]

Solved: Magento admin login only refreshes, no login with Chrome

When accessing Magento backend via yoursite.com/admin, one might accidentally not be able to log in using Chrome browser. I had this issue occur many times and finally I got tired switching to Firefox for logins and investigated.  Seems that the problem comes from cookies – Magento has more than one cookie and doesn’t know which […]

logo magento

Solved: Please enter a valid URL. Protocol is required (http://, https:// or ftp://)

Oh Magento, Magento, Magento! When doing the most common task ever, installing Magento to a local development machine, I get the following error when using “localhost” as the address root Please enter a valid URL. Protocol is required (http://, https:// or ftp://)  Although the protocol is nicely there submitted by not ME but by Magento’s […]