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

From: Date: Fri, 20 Nov 2015 07:21:35 +0000
Subject: Bug #19377 [Com]: Call to undefined method Config_Container_XML::XML_Parser()
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-11295@lists.php.net to get a copy of this message
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 <div id="changeset"> <span class="removed">-Status: Open</span> <span class="added">+Status: Closed</span> <span class="removed">-Assigned To:</span> <span class="added">+Assigned To: doconnor</span> </div>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 <? require "Config.php"; $configfile = 'test.xml'; $conf = new Config(); $CONF = $conf->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

« previous php.pear.bugs (#11295) next »