c9s/MiniPear — Issue #5: Passing URLs with protocol fails
Author: cweiske
Created: 2012-01-27 20:29:13+00:00
State: open

```
$ ./minipear mirror http://pear.chiaraquartet.net/
Starting mirror http://pear.chiaraquartet.net/...
Channel root: /home/cweiske/.minipear/pear/channels/http://pear.chiaraquartet.net/
PHP Fatal error: Call to a member function getElementsByTagName() on a non-object in phar:///home/cweiske/Dev/tools/MiniPear/minipear/MiniPear/PearChannel.php on line 2
PHP Stack trace:
PHP 1. {main}() /home/cweiske/Dev/tools/MiniPear/minipear:0
PHP 2. require() /home/cweiske/Dev/tools/MiniPear/minipear:6
PHP 3. CLIFramework\Application->run() phar:///home/cweiske/Dev/tools/MiniPear/minipear/scripts/minipear.emb:2
PHP 4. CLIFramework\CommandBase->executeWrapper() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/Application.php:2
PHP 5. call_user_func_array() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/CommandBase.php:2
PHP 6. MiniPear\Command\MirrorCommand->execute() phar:///home/cweiske/Dev/tools/MiniPear/minipear/CLIFramework/CommandBase.php:0
PHP 7. MiniPear\PearChannel->loadChannelXml() phar:///home/cweiske/Dev/tools/MiniPear/minipear/MiniPear/Command/MirrorCommand.php:2

```