next release.
Trevor Johns wrote:
> 2009/7/22 Jeff Busby <jeff@jeffbusby.ca>:
>
>> Hi All,
>>
>> I was using ZF 1.8.0 and recently upgraded to 1.8.4 at which time I started getting the following error when querying Youtube:
>>
>> *Warning*: include(Zend/Gdata/Media/Extension/VideoQuery.php) [function.include <http://dev.yourmagz.local/media/index/article/function.include>]: failed to open stream: No such file or directory in */home/jbusby/workspace/library/Zend/Loader.php* on line *83
>>
>> *The results come back fine, but I'm unable to discover the problem here. I know the file Zend/Gdata/Media/Extension/VideoQuery.php does not exist, it's actually located in the Zend/Gdata/YouTube/ directory. I've search my entire project looking for where the missing file is being called but I've had no luck so far. The block of code that gives me the error is:
>>
>> $yt = new Zend_Gdata_YouTube();
>> $yt->setMajorProtocolVersion(2);
>> $query = $yt->newVideoQuery();
>> $query->setOrderBy('viewCount');
>> $query->setSafeSearch('strict');
>> $query->setFormat($this->_searchFormat);
>> $query->setVideoQuery($this->getTagwords());
>> $query->setMaxResults($this->getLimit());
>> $query->setStartIndex($this->getOffset());
>> $this->_results = $yt->getVideoFeed($query->getQueryUrl(2));
>>
>> Anyone else experienced this and hopefully has a solution?
>>
>> Cheers,
>>
>> Jeff Busby
>>
>
> Jeff,
> This looks like this issue:
>
> http://framework.zend.com/issues/browse/ZF-7013
>
> This will be fixed in the next release of Zend Framework. If you don't
> want to wait that long, you can either:
>
> 1. Download a development snapshot from here:
>
> http://framework.zend.com/code/browse/~tarball=zip/Zend_Framework/standard/trunk/trunk.zip
>
> 2. Use version 1.8.3:
>
> http://framework.zend.com/releases/ZendFramework-1.8.3/ZendFramework-1.8.3.tar.gz
>
> 3. Don't use Zend_Loader's autoloader functionality. (This bug only
> seems to show up if you're trying to autoload the classes.)
>
>
没有评论:
发表评论