For Programmers: Free Programming Magazines  


Home > Archive > PHP Pear > October 2006 > Re: [PEAR] Problem using Config function writeDatasrc









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: [PEAR] Problem using Config function writeDatasrc
arnaud sellenet

2006-10-30, 7:07 pm

Hi
The error is not about config.xml not existing, it's XML/Parser.php =20
that is missing.
it seems that the Config package, when using XML as datasource, =20
depends on the XML_Parser package. Installing this package will fix =20
your problem.

Le 26 oct. 06 =E0 07:53, Matthias Otto a =E9crit :

> Good Morning!
>
> I work with pear and Config.php for the first time and I find a =20
> 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 =20
> open stream: No such file or directory in /usr/share/pear/Config/=20
> Container/XML.php on line 20".
>
> But the datasource file './config/config.xml' exists!?
>
> Thanks in advance
>
> Matthias
>
> --=20
> PEAR General Mailing List (http://pear.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com