I've encountered a problem with the Zend GData Library. In my drupal status report, it tells me; "The version of the Zend GData library installed (1.10.0) is lower than the recommended version (1.7.2). Some features may not work properly."

When I download and expand 1.7.2 from (http://framework.zend.com/download/gdata) and open the library/Zend/Http folder, it contains this:

Client Folder, Response.php, Client.php, and Exception.php

As you can see from the file layout, the directory Response/Stream.php is missing, but the module expects Stream.php to exist [error message: warning: require_once(Zend/Http/Response/Stream.php] Such a directory exists in 1.10.0, but the module doesn't seem to like this version.

Does the documentation need to be updated to a new version, or am
I doing something wrong? Do you suggest leaving the version 1.10.0 installed?

For confirmation purposes, the directory for the library is supposed to look like this: sites/all/modules/video_upload/providers/youtube/Zend

If this is not the appropriate directory to place the library, that would be a big help too besides the missing files.

CommentFileSizeAuthor
#1 zend_gdata_version_check.patch867 bytesaxolx
#1 message.png19.83 KBaxolx

Comments

axolx’s picture

StatusFileSize
new19.83 KB
new867 bytes

Jonathan- Thanks for this great module that's saving me a good chunk of development!

This issue is due to using the '<' operator for comparing version strings. I'm attaching a screenshot of the message and a suggested patch that replaces < with PHP's version_compare().

jhedstrom’s picture

Component: Documentation » Code
Status: Needs review » Fixed

Thanks axolx, this was committed to 6.x dev. I'd already changed this in 7.x, just forgot to backport it.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.