php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #23320 Package Log, file /Log/mail.php, class Log_mail no longer inherits from PEAR
Submitted: 2003-04-23 13:09 UTC Modified: 2003-04-28 03:01 UTC
From: rob at intruos dot com Assigned: jon@php.net (profile)
Status: Closed Package: PEAR related
PHP Version: 4.3.1 OS: Redhat 7.2
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: rob at intruos dot com
New email:
PHP Version: OS:

 

 [2003-04-23 13:09 UTC] rob at intruos dot com
When using the Log package and the Log_mail class I receive an error:

Call to undefined function: pear() in /usr/share/pear/Log/mail.php on line 80

I'm looking at the CVS tree and you've got the Log_mail extending Log which isn't extending PEAR so the following line faults:

        /* register the destructor */
        $this->PEAR();

I'm assuming that this file was just overlooked.  Log_file works fine.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-04-28 03:01 UTC] arnaud@php.net
From lastest log release announcement

The new PEAR package Log-1.6.5 (stable) has been released at http://pear.php.net/.

Release notes
-------------
The mail log handler needs to register its own destructer now that the Log class no longer inherits from the PEAR base class.

So it looks like it is good for closing :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 05 12:01:32 2024 UTC