Re: [fw-general] PDOException with message SQLSTATE[HY000]: General error: 2036

2007-02-19 Thread Sam Davey
Hi, I have received a reply from Lukas Foldyna who helpfully suggested the following: try this $db-getConnection()-setAttribute (PDO::ATTR_EMULATE_PREPARES, true); I assumed he meant $db to be an instance of Zend_Db_Adapter returned from the Zend_Db factory. However getConnection is not a

[fw-general] PDOException with message SQLSTATE[HY000]: General error: 2036

2007-02-16 Thread Sam Davey
Hi, I have recently moved from one RedHat Server to a different one and I have come across a problem which I can't resolve. Given that there is evidence that other users have experienced a similar problem I thought I'd create a post here as somewhere to store the solution if one is found. I