Re: Re: oci_bind_by_name, 'Unknown or unsupported datatype given'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Anton,

This seems so fundamental I hesitate to suggest it.
Have you run a script with phpinfo() in it?
Or apache or httpd with the "-l", "-V" or "-t" switches?

Miles

At 06:59 AM 8/10/2005, Anton Channing wrote:
Okay, its seems my problem is actually more fundamental.
I've just tried to run the example from the oci_bind_by_name
documentation on php.net, and get the same error!  The
example doesn't work for me.

I think at this point I need to assume there is something
wrong with the server settings?  Maybe Apache needs
certain configurations in order for this to work?

Anyone have any idea whats causing this?

This is the page with the example I tried to run:
http://uk.php.net/manual/en/function.oci-bind-by-name.php

And this is the output from it:
Warning: oci_bind_by_name() [function.oci-bind-by-name]: Unknown or
unsupported datatype given: 1 in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 28

Warning: oci_bind_by_name() [function.oci-bind-by-name]: Unknown or
unsupported datatype given: 1 in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 29

Warning: oci_bind_by_name() [function.oci-bind-by-name]: Unknown or
unsupported datatype given: 1 in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 41

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 46

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 47

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 46

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 47

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 46

Warning: oci_execute() [function.oci-execute]: OCIStmtExecute:
ORA-01008: not all variables bound in D:\Apache
Group\Apache2\htdocs\test\oci_bind_by_name.php on line 47

On 8/9/05, Anton Channing <antonchanning@xxxxxxxxx> wrote:
> I am currently building a php-oracle application for
> the college I work for, and as part of that application
> I have cause to to create some insert/update procedures.
> My best solution for this is to have an input/output
> parameter representing the id of the field that needs to
> updated.  This works fine.

...

> And finally, this is the error I get (including a stack trace):
> An error has occurred and the page has not loaded correctly.
> Please try and refresh/reload the page. If the error > persists, then please contact MIS and we will look into
>                                                 the problem.
> errno: 2
> errstr: oci_bind_by_name() [<a
> href='function.oci-bind-by-name'>function.oci-bind-by-name</a>]:
> Unknown or unsupported datatype given: 1
> errfile: D:\Apache
> Group\Apache2\htdocs\Learner_Support_Fund\update_equipment.php
> errline: 77

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux