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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Wed Oct 16 07:01:27 2024 UTC