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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-01 15:39 UTC] zeev
Fixed in the latest CVS
 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jun 09 09:03:39 2023 UTC