Re: Problem using Config function writeDatasrc
| From: | arnaud sellenet | Date: | Sat, 28 Oct 2006 15:49:31 +0000 |
| Subject: | Re: Problem using Config function writeDatasrc | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-25669@lists.php.net to get a copy of this message | ||
Hi
The error is not about config.xml not existing, it's XML/Parser.php that is missing.
it seems that the Config package, when using XML as datasource, depends on the XML_Parser package. Installing this package will fix your problem.
Le 26 oct. 06 à 07:53, Matthias Otto a écrit :
Good Morning! I work with pear and Config.php for the first time and I find a problem using writeDatasrc. If I use this function $root->writeDatasrc( './config/config.xml', 'XML' ); following warning shows up: "require_once(XML/Parser.php) [function.require-once]: failed to open stream: No such file or directory in /usr/share/pear/Config/Container/XML.php on line 20". But the datasource file './config/config.xml' exists!? Thanks in advance Matthias --PEAR General Mailing List (http://pear.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php