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



 


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to