Jun 19 2008, 01:10 AM
|
Post
#1
|
|
|
Administrator ![]() ![]() Group: Root Admin Posts: 10 Joined: 21-May 08 Member No.: 1 |
I'm getting a Zend DB Exception with a query that works in phpMyAdmin:
UPDATE creatives SET display_url = 'domain.be?Vetements-d\'enfants' WHERE display_url = 'domain.be?VĂȘtements d\'enfants' Results in: Zend_Db_Statement_Exception: SQLSTATE[HY093]: Invalid parameter number: no parameters were bound in D:\Webs\Base\lib\fw\Zend\Db\Statement\Pdo.php The exact same query works fine in phpMyadmin. Apparently this is an issue with PDO itself: http://framework.zend.com/issues/browse/ZF-1343 It seems to be occurring when using a quote and question mark in the same string, but I cannot be sure. Has anyone else figured this out yet? |
|
|
|
![]() ![]() ![]() |
|
Lo-Fi Version | Time is now: 7th September 2010 - 12:35 PM |