php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23041 OCINewDescriptor()
Submitted: 2003-04-03 15:29 UTC Modified: 2003-04-09 06:37 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: don dot miguel at gmx dot ch Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 4.3.0 OS: Windows 2000
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: don dot miguel at gmx dot ch
New email:
PHP Version: OS:

 

 [2003-04-03 15:29 UTC] don dot miguel at gmx dot ch
My Simple Test Programm is:

putenv('ORACLE_SID=SEMINAR');
putenv('ORACLE_HOME=D:\oracle\ora92');
$conn    = OCIPLogon('michi','michi');
$query = "begin ctx_doc.themes('idx_text','22',:result);end;";
$curs = OCIParse($conn,$query);
$clob = OCINewDescriptor($conn,OCI_D_LOB);
OCIBindByName($curs,":result",&$clob,-1,OCI_B_CLOB);
$success = OCIExecute($curs,OCI_DEFAULT);
echo $clob->load();
$clob->free();
OCIFreeStatement($curs);

Which result is:

Warning: OCIStmtExecute: ORA-22275: invalid LOB locator specified in c:\program files\apache group\apache\htdocs\textseminar\test.php on line 11

Warning: OCILobGetLength: OCI_INVALID_HANDLE in c:\program files\apache group\apache\htdocs\textseminar\test.php on line 12

==> I can't acces the CLOB wich is returned by the PL/SQL procedure: ctx_doc.themes(index_name,textkey,restab)!

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-09 06:37 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Tue May 17 04:05:45 2022 UTC