Thursday, March 4, 2010

Magento Place Order is returning to the cart (basket) page

Hi after upgrading my checkout stopped working and I check each and every possible solution for that, someone is telling that it is due to some other thing etc. etc.

But to know your exact problem first check the javascript errors and then follow this instructions:

Open page "Magentoroot/app/code/core/Mage/Checkout/controllers/OnepageContoller.php"

Search for " $result['error_messages'] "

override this variable with

$result['error_messages'] = $e->__toString();

It will show you the exact problem of what your magento causing.

Hope this helps.

Magento Column 'position' in order clause is ambiguous

I dont know how many people get this error but it took me very long time to resolve this:

The one who know the answer will say its a task of 5 mins but who dont know it will be very very difficult to get rid of this problem, the only thing that you need to do is go to this page

magentoroot/app/code/core/Mage/Catalogue/Model/Layer.php


Search for "function getFilterableAttributes()"

comment the following code
"->setOrder('position', 'ASC') "

your problem is solved