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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
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: Thu Apr 25 19:01:33 2024 UTC