[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#238000: marked as done (cannot declare two gc() functions in session.inc)



Your message dated Sat, 10 Jul 2004 19:12:10 +0200
with message-id <20040710171210.GF1381@djpig.de>
and subject line Package removed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 14 Mar 2004 18:45:32 +0000
>From djw@compsoc.dur.ac.uk Sun Mar 14 10:45:32 2004
Return-path: <djw@compsoc.dur.ac.uk>
Received: from bylands.dur.ac.uk (compsoc.dur.ac.uk) [129.234.200.100] (mail)
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1B2ac8-0001dG-00; Sun, 14 Mar 2004 10:45:32 -0800
Received: from djw by compsoc.dur.ac.uk with local (Exim 3.35 #1 (Debian))
	id 1B2ac6-0007Sq-00; Sun, 14 Mar 2004 18:45:30 +0000
Date: Sun, 14 Mar 2004 18:45:30 +0000
From: Dan Walrond <djw@compsoc.dur.ac.uk>
To: submit@bugs.debian.org
Subject: cannot declare two gc() functions in session.inc
Message-ID: <20040314184530.GC5022@compsoc.dur.ac.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.28i
X-Uptime: 13:30:41 up 21 days, 23:05, 36 users,  load average: 0.05, 0.05, 0.01
Delivered-To: submit@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_12 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
	REMOVE_REMOVAL_NEAR autolearn=no 
	version=2.60-bugs.debian.org_2004_03_12
X-Spam-Level: 

Package: bookmarker
Version: 2.8.0-4
Severity: grave

After upgrading php4 to version 4.3.3-4 bookmarker produced an error
similar to:

Fatal error: Cannot redeclare gc() in
/var/www/foo/bookmark/lib/phplib/session.inc on line 462

The package was completely non-functional and useless.

After a short investigation there were two gc() functions declared.

At line 337 of session.inc

  ##
  ## Garbage collection
  ##
  ## Destroy all session data older than this
  ##
  function gc() {
      $this->that->ac_gc($this->gc_time, $this->name);
  }

And at line 462 of session.inc

  ##
  ## Garbage collection
  ##
  ## Destroy all session data older than this
  ##
  function gc() {
    srand(time());
    if ((rand()%100) < $this->gc_probability) {
      $this->that->ac_gc($this->gc_time, $this->name);
    }
  }

Clearly this is wrong and one should be removed. I removed the first one
and everything started working again.


Hopefully someone will fix this.

Thanks-you
Daniel Walrond

---------------------------------------
Received: (at 238000-done) by bugs.debian.org; 10 Jul 2004 17:16:28 +0000
>From frank@lichtenheld.de Sat Jul 10 10:16:28 2004
Return-path: <frank@lichtenheld.de>
Received: from mail.sorgfalt.net [217.160.169.191] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1BjLSe-0000qW-00; Sat, 10 Jul 2004 10:16:28 -0700
Received: from p54817b73.dip.t-dialin.net ([84.129.123.115] helo=djpigpb.djpig.de)
	by mail.sorgfalt.net with asmtp (Exim 4.34 1)
	id 1BjLSd-0001pW-G9; Sat, 10 Jul 2004 19:16:27 +0200
Received: from djpig by djpigpb.djpig.de with local (Exim 3.36 #1 (Debian))
	id 1BjLOZ-0004R7-00; Sat, 10 Jul 2004 19:12:15 +0200
Date: Sat, 10 Jul 2004 19:12:10 +0200
From: Frank Lichtenheld <djpig@debian.org>
To: 238000-done@bugs.debian.org, 189458-done@bugs.debian.org,
	194634-done@bugs.debian.org, 251120-done@bugs.debian.org,
	174475-done@bugs.debian.org
Subject: Package removed
Message-ID: <20040710171210.GF1381@djpig.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.5.6+20040523i
Sender: Frank Lichtenheld <frank@lichtenheld.de>
Delivered-To: 238000-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-3.0 required=4.0 tests=BAYES_00 autolearn=no 
	version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 
X-CrossAssassin-Score: 4

bookmarker was removed a while ago from unstable, so I close these bugs
now.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: