Yikes! – Rollback failed. There is no active transaction.

I just spent the last 12 hours or so trying to figure out why my symfony website is producing this error when I try to submit a form. Google didn’t help, so I thought I would post it here in case any of you other symfony programmers out there are having the same problem.

I’m using Doctrine and I’m almost positive you would receive a different message if you are using Propel – maybe even a much better error message that would help you solve the problem in much less than 12 hours. (Actually, I slept during that 12 hours, but as most programmers do, I tried to fix the problem in my dreams :) )

It turns out that the new server I’m using didn’t have the PDO drivers for MySQL enabled in PHP. I had no reason to suspect this since every other managed server I’ve used with this company had those drivers installed by default, so I was a little frustrated when I figured out what the problem was. But, that’s life as a programmer :)

I hope this helps you find your solution quicker!

This entry was posted in on technical stuff and tagged , , , , . Bookmark the permalink.

2 Responses to Yikes! – Rollback failed. There is no active transaction.

  1. Thank you very much Cindy, that solved my problem too! Greets!

  2. claudio corlatti says:

    i can’t believe it!!! now i read the solution i feel like a total dumbass jejeje

    many thanks Cindy!

    if you ever need some help please let me know

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>