ZF-8786: library/Zend/Http/Response directory missing from standalone GData download
Description
I am trying to use Zend_Gdata as per Google instructions. My whole file looks like: <?php require_once 'Zend/Loader.php'; // the Zend dir must be in your include_path Zend_Loader::loadClass('Zend_Gdata_YouTube'); Zend_Loader::loadClass('Zend_Gdata_ClientLogin');
When executing, I get: PHP Warning: require_once(Zend/Http/Response/Stream.php): failed to open stream: No such file or directory in /var/lib/gdata/library/Zend/Http/Client.php on line 50 PHP Fatal error: require_once(): Failed opening required 'Zend/Http/Response/Stream.php' (include_path='.:/var/lib/gdata/library') in /var/lib/gdata/library/Zend/Http/Client.php on line 50
There aren't directory Called "Response" in "Http" folder.
Work arround: Comment line 50 in Client.php
Comments
Posted by Satoru Yoshida (satoruyoshida) on 2010-01-12T22:28:18.000+0000
I downloaded ver 1.9.7-minimal and check the Zend_Http directory. It seems to be correct for me.
Posted by Justas Poderys (jpou) on 2010-01-13T08:33:45.000+0000
Apparently this was an mistake on my side. I downloaded: ZendGdata-1.9.7.tar instead of: ZendFramework-1.9.7-minimal.tar.
It indeed work OK with -minimal version. Although, it would be nice to have Responses in ZendGdata archive.
Posted by Trevor Johns (tjohns) on 2010-01-14T14:11:04.000+0000
It looks like the library/Zend/Http/Response directory is indeed missing from the GData-specific downloads (but not others).
Assigning to Matthew to fix the build script.
Posted by Matthew Weier O'Phinney (matthew) on 2010-01-14T17:54:28.000+0000
The classes will be present starting with 1.10.0beta1 (releasing tomorrow).