Magento Category Move Error Exception General error: 1205 + solution

There is a problem in Magento that when you try to move a category by dragging it in the admin, it can cause the above error, whilst causing the rest of the site to slow down. This is caused by the system trying to re-index every product within the space of a transaction. An easy way to get round this is to switch the indexing mode from auto to manual and then move the categories. Read On →

Gnome 3 Bind Mouse Keys to Alt Tab and Overview

If you have switched to Gnome Shell or Gnome 3 then you are no doubt making a lot of use of the overview and alt tab functionality to switch between your windows. To make this easier (if you have a mouse with extra buttons) you can map your extra buttons to do these actions with a few simple tools. Firstly you need to install xbindkeys and xdotool sudo apt-get install xbindkeys xdotool If you need to know your mouse buttons, try running this command: xev | grep button This will give you a window you can click on with your mouse and it will tell you which button you clicked. Read On →

PrestaShop - Session handling

Like most frameworks and software packages PrestaShop has it’s own way of handling session variables. PrestaShop uses the Cookie class to manage session variables. While this isn’t strictly a singleton you can get a pre initialised instance using Context::getContected->cookie if the FrontController->init() method has been called already. The Cookie class uses the magic __get __isset __set __unset magic methods to handle parameters. Parameters set in the cookie are actually given to the client in an encrypted blob. Read On →

Add Jquery to Any Page via Console

Sometimes you might want to do a little on the fly DOM editing using your favourite Javascript library - jQuery. To do this you might need to include jQuery on the page, you can do this by pasting these lines into your console in Chrome or Firebug in Firefox. var jq = document.createElement('script'); jq.src = "http://code.jquery.com/jquery-latest.min.js"; document.getElementsByTagName('head')[0].appendChild(jq); jQuery.noConflict(); And there you have it, the full power of jQuery at your Read On →

What is DNS and how does it affect site owners?

What DNS is DNS (Domain Name System) is the system used to make sure that when users type in your web address into their browser, they end up on your website. How communication happens on the internet When using the web, every site has its own address. It might have extra bits on the start and end, but the core part will be “yoursitename.com”, or similar. This is your Domain Name. Read On →

Release SagePay Form Orders via API

If you use SagePay Form integration then you might think that it is impossible to release orders created via this integration system via the API. Historically this was true however thanks to the new admin and reporting API you can now grab all of the details you need to perform the kind of admin side integration previously only possible via Server and Direct integrations. This does take a bit of work but if you like the fact that Form alleviates PCI compliance issues, allows your customers to use the nice easy to use Form interface and also gives you easy PayPal integration then this is a great solution. Read On →