PDOException #13

miklb opened this Issue May 31, 2011 · 3 comments


None yet
2 participants

miklb commented May 31, 2011

Just upgraded from lessn to lessnmore, and trying to generate a new link I get this error

Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 2014 Cannot execute queries while other unbuffered queries are active. Consider using PDOStatement::fetchAll(). Alternatively, if your code is only ever going to run against mysql, you may enable query buffering by setting the PDO::MYSQL_ATTR_USE_BUFFERED_QUERY attribute.' in /home/www/litl.in/k/-/index.php:335 Stack trace: #0 /home/www/litl.in/k/-/index.php(335): PDO->prepare('SELECT custom_u...') #1

PHP version is and MySQL version is mysql - 5.0.32

Any thoughts or suggestions? Hope this was the correct place to ask this.

miklb commented May 31, 2011

Interestingly, if I create a custom shortlink, it works, the problem is in auto-generating one. I've tried all the different AUTO_SLUG_METHODS, all throw same exception.


alanhogan commented May 31, 2011


Huh. This is a new one on me.

Not quite sure what is going on, but the auto-generation of a slug first involves updating a table to get a sequential seed, which I’d guess is the real difference between your manual slugs and auto-generated slugs’ differing successes.


alanhogan commented Apr 8, 2012

Is this still a problem for you?

Has anyone else encountered this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment