From:  pear@mohag.net ("mohag")
Date:  20 Nov 2015 15:21:35 Hong Kong Time
Newsgroup:  news.php.net/php.pear.bugs
Subject:  

[PEAR-BUG] Bug #19377 [Com]: Call to undefined method Config_Container_XML::XML_Parser()

NNTP-Posting-Host:  null

Edit report at http://pear.php.net/bugs/bug.php?id=19377&edit=1

 ID:               19377
 Comment by:       mohag
 Reported By:      pear at mohag dot net
 Summary:          Call to undefined method
                   Config_Container_XML::XML_Parser()
 Status:           Closed
 Type:             Bug
 Package:          Config
 Operating System: debian sid amd64
 Package Version:  1.10.12
 PHP Version:      5.4.0
 Assigned To:      doconnor
 New Comment:

The manual fix if you have a problematic version from a package is to
replace the problematic line 104 with:
        parent::__construct($this->options['encoding'], 'event');


Previous Comments:
------------------------------------------------------------------------

[2014-03-23 16:25:34] doconnor

-Status: Open +Status: Closed -Assigned To: +Assigned To: doconnor
This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. ------------------------------------------------------------------------ [2012-04-08 12:42:06] heuer Description: ------------ After upgrade to php5 5.4.1~rc1-1 I get "Fatal error: Call to undefined method Config_Container_XML::XML_Parser() in /usr/share/php/Config/Container/XML.php on line 104" With php 5.3.x the script worked fine. Test script: --------------- #!/usr/bin/php parseConfig($configfile,'xml') ?> Actual result: -------------- user@host> php test.php PHP Fatal error: Call to undefined method Config_Container_XML::XML_Parser() in /usr/share/php/Config/Container/XML.php on line 104 ------------------------------------------------------------------------ -- Edit this bug report at http://pear.php.net/bugs/bug.php?id=19377&edit=1