PDOException #13

Open
miklb opened this Issue May 31, 2011 · 3 comments

Comments

Projects
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 5.2.0.8 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.

Owner

alanhogan commented May 31, 2011

@miklb,

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.

Owner

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