I have Magento 18.104.22.168 and something is wrong with onePage checkout. I've got gift card extension installed on it. It is a custom one but 100% it works fine.
The problem is that I can't place the order and the only one output I get in logs is:
User Error: Some transactions have not been committed or rolled back in C:\Users\blablabla\Documents\sites\mywebsite\lib\Varien\Db\Adapter\Pdo\Mysql.php on line 4039
I tried to debug it and I found that the problem is in these line:
$service = Mage::getModel('sales/service_quote', $this->getQuote()); $service->submitAll();
After it tries to submit everything - it crashes.
I went deeper to sales/service_quote model and found that everything crash after:
But as I am new to Magento, I have no idea what this model actually does and how to fix it...
Simply when I press "Pay & Place order" button it sends ajax to the web server and respond successfully, but nothing happens after that.
I spent 3 days trying to understand what's wrong with this, so I would really appreciate if someone gives me a hand. I am not really advanced in debugging, so I would really happy if you could give me an advice on how to search the reason of bugs like this. Thanks
P.s. I am using Xampp