|  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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
10 - 3 = ?
Subscribe to this entry?

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

 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.



Add a Patch

Pull Requests

Add a Pull Request


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: Wed Jun 07 00:03:41 2023 UTC