|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38501 Cann't view blob documents storage in oracle database 9i r2
Submitted: 2006-08-18 13:57 UTC Modified: 2006-08-26 01:00 UTC
From: bbarnett at fomuvel dot com Assigned:
Status: No Feedback Package: OCI8 related
PHP Version: 5.1.5 OS: Windows XP SP2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bbarnett at fomuvel dot com
New email:
PHP Version: OS:


 [2006-08-18 13:57 UTC] bbarnett at fomuvel dot com
I have installed in my develop machine the new version 5.1.5, but when I try to view a document storage in my oracle database send me the next message:

CGI Error
The specified CGI application misbehaved by not returning a complete set of HTTP headers. The headers it did return are

But in my production server using the version PHP Version 5.2.0RC2-dev I can see all the document.

Reproduce code:
// Obtiene el identificador del documento que se desea desplegar
$documentoview = $_REQUEST['documentoview'];

// Actualiza el contador de consultas y verifica que el documento exista
$consultas = "SELECT consultas FROM INTRA_DOCUMENTOS WHERE IDDOCUMENTO = ".$documentoview ;
$consultados = trs_consulta($consultas,$conn);
$consulta = oci_fetch_array($consultados,OCI_RETURN_NULLS);
if (!$consulta){
	// Devuelve a la pantalla de contenido si el documento buscado no existe
	header("Location: ../contenido.php",false); /* Redirigir al navegador */	
$valor = $consulta[0]+1 ;
$actualiza = "update INTRA_DOCUMENTOS set consultas= consultas+1 where IDDOCUMENTO = ".$documentoview;

// Inicia el despliegue del documento
$documentoview = $_REQUEST['documentoview'];
$stmt = oci_parse ($conn, $query);
oci_bind_by_name($stmt, ':MYBLOBID', $documentoview);
oci_execute($stmt, OCI_DEFAULT);
$arr = oci_fetch_assoc($stmt);
$result = $arr['DOCUMENTO']->load();

echo $result;


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-08-18 13:59 UTC]
Please try using this CVS snapshot:
For Windows:

 [2006-08-26 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 23:01:30 2024 UTC