Re: add the 'symfony' channel
| From: | Gregory Beaver | Date: | Wed, 21 Feb 2007 14:56:07 +0000 |
| Subject: | Re: add the 'symfony' channel | ||
| References: | 1 | Groups: | php.pear.webmaster |
| Request: | Send a blank email to pear-webmaster+get-5715@lists.php.net to get a copy of this message | ||
Alireza Ebrahimi wrote:
> hi.i want to add the 'symfony' channel :
> $ pear channel-discover pear.symfony-project.com
> but i got this error :
> Discovery of channel "pear.symfony-project.com" failed (channel-add: Cannot open
> "http://pear.symfony-project.com/channel.xml")
> when i study found the following error :
> Error 404 - document not found
>
> The requested document /dtd/channel-1.0 was not
> found on this server.
>
>
>
> If you think that this error message is caused by an error in the
> configuration of the server, please contact
> pear-webmaster@lists.php.net.
What PHP version are you using? The channel.xml is there:
<?xml version="1.0" encoding="ISO-8859-1" ?>
<channel version="1.0" xmlns="http://pear.php.net/channel-1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://pear.php.net/dtd/channel-1.0
http://pear.php.net/dtd/channel-1.0.xsd">
<name>pear.symfony-project.com</name>
<summary>symfony project PEAR channel</summary>
<suggestedalias>symfony</suggestedalias>
<servers>
<primary>
<rest>
<baseurl
type="REST1.0">http://pear.symfony-project.com/Chiara_PEAR_Server_REST/</baseurl>
<baseurl
type="REST1.1">http://pear.symfony-project.com/Chiara_PEAR_Server_REST/</baseurl>
</rest>
</primary>
</servers>
</channel>
What is happening is for some weird reason it is trying to validate the
XML schema, and is not parsing the schemaLocation attribute correctly.
It should be grabbing
http://pear.php.net/dtd/channel-1.0.xsd
not
http://pear.php.net/dtd/channel-1.0
Thanks,
Greg