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

  ID: 19377
  Comment by: mohag
  Reported By: pear@mohag.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

------------------------------------------------------------------------

Search Discussions

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
grouppear-bugs @
categoriesphp
postedNov 20, '15 at 7:21a
activeNov 20, '15 at 7:21a
posts1
users1
websitepear.php.net

1 user in discussion

Mohag: 1 post

People

Translate

site design / logo © 2022 Grokbase