ID:               22854
 Updated by:       [EMAIL PROTECTED]
 Reported By:      al2925 at mail dot ru
-Status:           No Feedback
+Status:           Bogus
 Bug Type:         InterBase related
 Operating System: Windows 2000 Server SP3
 PHP Version:      4.3.0
 New Comment:

As the query string is passed untouched to the Interbase client
library, the error is either in the string (which I suspect is the
case) or in Interbase itself. 

My guess is that simply the (number of fields) != (number of values +
placeholders)


Previous Comments:
------------------------------------------------------------------------

[2003-03-31 01:59:45] [EMAIL PROTECTED]

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.



------------------------------------------------------------------------

[2003-03-24 18:11:29] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2003-03-24 11:16:16] al2925 at mail dot ru

I get such warning:

PHP Warning:  ibase_query(): Dynamic SQL Error SQL error code = -804
Count of read-write columns does not equal count of values  in
c:\gentle\php_includes\IbaseConnection.php(86) : runtime-created
function on line 1

The query looks like 

ibase_query($link, 'INSERT INTO tableName (cols, ..) VALUES (cols, ?,
?, ?)', $blob0, $blob1, $blob2);

All parameters are BLOBs. This happens only if the count of parameters
is more than one. I'm running Firebird Superserver for Windows version
1.0.2.908 The error began to occur after I upgraded from PHP 4.3.2 

Please, feel free to contact me via e-mail. 


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22854&edit=1

Reply via email to