[PHPLIB] Bugfix & Problems with view_sessions.php3 From: Guido Gosenson (gg <email protected>)
Date: 12/17/99

Hi *,

Firstly, I noticed a bug in view_sessions.php3 (PHPLIB7.2):

---8<-------------------------------------------------------
while(list($k, $v) = each($sid)) {
      $query = sprintf("delete from %s where name = '%s' and sid = '%s'",
                 $sess->that->database_table,
                 $sess->name,
     //Bugfix|17.12.1999|Guido Gosenson|Exchanged $k with $v
     //$k);
                 $v);
     //EndBugfix
---8<-------------------------------------------------------

If anyone interested could please check this in to the PHPLIB Code Base.
(I'm new to this stuff and don't know where to put it :) )

But now to the problem I'm having with the view_sessions.php3 script:
When I open the script for the first time everything works fine. However,
when I click the 'Refresh'-button (or any other button for that matter),
I receive the following errormessages:
Warning: OCIFetchInto: ORA-03113: Unerwartetes Übertragungsende in Kommunikation
 in db_oci8.inc on line 70
Warning: OCIStmtExecute: ORA-01041: Interner Fehler: hostdef-Erweiterung
existiert nicht in db_oci8.inc on line 54

ORA-01041: Interner Fehler: hostdef-Erweiterung existiert nicht
Query :"update active_sessions set val='<some long string>',
changed='19991217123919' where sid='f5243b2d142cfbfd5e8b498f792e7ce6'
and name='LUQS_Session'"
Warning: OCIStmtExecute: ORA-01041: Interner Fehler: hostdef-Erweiterung
existiert nicht in db_oci8.inc on line 54

ORA-01041: Interner Fehler: hostdef-Erweiterung existiert nicht
Query :"insert into active_sessions ( sid, name, val, changed ) values
('f5243b2d142cfbfd5e8b498f792e7ce6', 'LUQS_Session',
'<some long string>', '19991217123919')"

Does anyone have a clue ??
Any tips are welcome !

Thanks in advance,
Guido Gosenson

Kisters AG
Mailto:GuidoGosenson <email protected>
http://www.kisters.de ftp://ftp.kisters.de

-
PHP3 Base Library Mailing List. Send messages to <phplib <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-request <email protected>> in
the body, not the subject, of your message.