php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #337 SysLog losts ident information.
Submitted: 1998-05-01 12:36 UTC Modified: 1998-05-01 15:39 UTC
From: doka at webest dot com Assigned: zeev (profile)
Status: Closed Package: Other
PHP Version: 3.0 Release Candidate 4 OS: Linux/Intel 2.0.33
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: doka at webest dot com
New email:
PHP Version: OS:

 

 [1998-05-01 12:36 UTC] doka at webest dot com
Hello!

 I have PHP, compiled as Apache's 1.2.6 module. There is
script's fragment, which shows, when syslog losts ident
after call to PostgreSQL (may be under other conditions
too? - i haven't checked):

  .......
 OpenLog("VSH-clean", $LOG_PID, $LOG_CRON);
 SysLog($LOG_INFO, "step #1");
 $timenow = time();
 SysLog($LOG_INFO, "step #2");
 
 $q = "select ord_status, ord_num, ord_time, ui_last, pi_email, pi_ccname from ORD, UI, PI ".
      "where ord_status < 2 and ui_uid = ord_uid and pi_ordnum = ord_num";
 $dtbl = pg_Exec($conn, $q);
 SysLog($LOG_INFO, "step #3");
  ........

 The result is:

VSH-clean[4303]: step #1
VSH-clean[4303]: step #2
pi_ccname[4303]: step #3

 There is error after call to pg_Exec.

/doka

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 15:39 UTC] zeev
Fixed in the latest CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC