I am not sure why you'd be getting this error and I don't. You need to set the attribute like this:
attributes: mysql_attr_use_buffered_query: true Not sure if that'll work, but if it will that is the syntax it'd be in. - Jon On Sun, May 17, 2009 at 8:28 AM, David Ashwood <da...@inspiredthinking.co.uk > wrote: > I’ve tried updating the databases.yml with both: > > > > options: > > PDO::MYSQL_ATTR_USE_BUFFERED_QUERY: true > > > > attributes: > > PDO::MYSQL_ATTR_USE_BUFFERED_QUERY: true > > > > With the options line above I get an error (unknown option). > > > > Without luck – anybody have a suggestion about how to set this via the > databases.yml? > > > > > > *From:* symfony-users@googlegroups.com [mailto: > symfony-us...@googlegroups.com] *On Behalf Of *David Ashwood > *Sent:* 17 May 2009 14:47 > *To:* symfony-users@googlegroups.com > *Subject:* [symfony-users] sfSympalPlugin > > > > With the latest version of Sympal – I’ve started seeing the following in > the error log and blank pages being shown when viewing the site: > > > > [Sun May 17 12:44:29 2009] [error] [client 87.221.255.175] 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., > referer: http://staging-lluisjulve.aptanacloud.com/admin/content > > > > Regards, > > > > Rubi > > > > > > > -- Jonathan H. Wage (+1 415 992 5468) Open Source Software Developer & Evangelist sensiolabs.com | jwage.com | doctrine-project.org | symfony-project.org --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---