You are here: Re: [PHP] oci8 recursive call in log « PHP « IT news, forums, messages
Re: [PHP] oci8 recursive call in log

Posted by "James R." on 10/04/71 11:23

It seems to be that last line of your code which is causing the error. I've
no idea why though.

-James

----- Original Message -----
From: "Ivonne Trejo Silva" <itrejo@puc.cl>
To: <php-general@lists.php.net>
Sent: Monday, August 08, 2005 2:46 PM
Subject: [PHP] oci8 recursive call in log


> Hi! Please excuse my poor English.
>
> I have this error in PHP 4.2.3 with oracle 8.1.7:
>
> [14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call!
> in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
> [14-Jul-2005 16:25:36] PHP Warning: OCI8 Recursive call!
> in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
> [14-Jul-2005 16:25:37] PHP Warning: OCI8 Recursive call!
> in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
> [14-Jul-2005 16:25:38] PHP Warning: OCI8 Recursive call!
> in /ariadna/cgi-bin/dara/pucmatico/config/conecta_bd.php on line 50
>
>
> conecta_bd.php scripts :
>
> session_start();
> if((!isset($SESSION))&&(!isset($flag))) {
> echo"
> <SCRIPT LANGUAGE='JavaScript'>
> <!--
> top.location = 'https://www.puc.cl/pucmatico';
> //-->
> </SCRIPT>";
> exit;
> } # fin del if ...
> clearstatcache();
> $Dir_app = "/ariadna/cgi-bin/dara/pucmatico";
> include_once ($Dir_app.'/programa/libs/decrypt.php');
> $User = "web_pucmat";
> $Pass = file($Dir_app."/config/clave1.php");
> $User_r = "pucmat";
> $Pass_r = file($Dir_app."/config/clave2.php");
> $yyy=decrypt($key,$Pass[0]);
> $xxx=decrypt($key,$Pass_r[0]);
> $db = "(DESCRIPTION_LIST=
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1705))
> (CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
> )
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1706))
> (CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
> )
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1707))
> (CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
> )
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1708))
> (CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
> )
> (DESCRIPTION=
> (ADDRESS=(PROTOCOL=TCP)(HOST=pucmatuc.puc.cl) (PORT=1709))
> (CONNECT_DATA=(SID=ora73)(SERVER=DEDICATED))
> )
> )";
> # Se agrego esta linea para tener debug de las conexiones Oracle
> # 20050724 fgc@puc.cl
> #OCIInternalDebug(1);
> $Conexion = OCILogon($User,$yyy,$db);
> $Consulta = OCIParse ($Conexion, "SET ROLE $User_r IDENTIFIED BY \"$xxx\"
> ");
> OCIExecute($Consulta);
> OCIFreeStatement($Consulta);
> ?>
>
> Any ideas for this?
>
> --
> Ivonne Trejo Silva mailto:itrejo@uc.cl
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация