warning: include_once(/Zend/Loader.php) [function.include-once]: failed to open stream: No such file or directory in /home/vb/domains/vgb.net.ru/sites/all/modules/media_youtube/media_youtube.module on line 267.

Fatal error: Class 'Zend_Loader' not found in /home/vb/domains/vgb.net.ru/sites/all/modules/media_youtube/media_youtube.module on line 366
22 2.0497 55717992 media_youtube_emfield_status( ) ../module.inc:0
23 2.0497 55718192 media_youtube_check_status( ) ../media_youtube.module:156

media_youtube
name = Media: YouTube
; Information added by drupal.org packaging script on 2010-07-11
version = "6.x-1.x-dev"

Embedded Media Field
; Information added by drupal.org packaging script on 2010-07-22
version = "6.x-2.x-dev"

No word about installing Zend. Should I install it and how?

Comments

jlmeredith’s picture

I can confirm this issue using the latest dev versions of both this module and embedded media field.

scarvajal’s picture

I have installed media_youtube 6.x-1.1 with emfield 6.x-2.x-dev today and got the next message in the path admin/content/emfield/emvideo:

"You need to download the Zend PHP library and extract the entire contents of the archive into the sites/all/libraries folder of your server."

There is no mention in the readme or the project page about this and at least for viewing a video it works without downloading the zend library.

I'm afraid however about possible implications.

dredot’s picture

i dragged the Zend folder located in the Library folder...of the download... into the directory mentioned...and the message went away

designguru’s picture

For anyone still having trouble with this - I highly recommend disabling and then uninstalling the youtube module, then re-installing it - worked for me.

q.

dcomfort’s picture

It looks like you need to download and install Zend loader to libraries AND disable Embedded Media field module and associated modules AND uninstall them and then reinstall the latest dev version.

It seems to work fine without losing any data.

See http://drupal.org/node/725940#comment-3469296 and thread for details

gillesbailleux’s picture

@dredot: to be more precise, you download the ZendGdata-1.xx.x folder from http://framework.zend.com/download/gdata and then you upload the "Zend" folder (located in the "library" folder) to sites/all/libraries

Carlos Miranda Levy’s picture

In case anyone still has doubts, this is what needs to be done in shell...
Just substitute drupal_install_directory for public_html or whatever your drupal install folder is...

cd <<<drupal_install_directory>>>/sites/all/libraries
wget http://framework.zend.com/releases/ZendGdata-1.10.8/ZendGdata-1.10.8.tar.gz 
tar -zxvf ZendGdata-1.10.8.tar.gz
mv ZendGdata-1.10.8/library/Zend .
sethviebrock’s picture

For some reason ZendGdata-1.10.2 seems to work best in my case, re the error at http://drupal.org/node/895270
So, replace 1.10.8 with 1.10.2 in the above set of commands.

hedac’s picture

ok but what is the ZendGdata for ?

seworthi’s picture

I believe the Zend library is needed if you use the media_mover module.

I simply commented out (in media_youtube.module) the following functions as these seem to be only related to media_mover: 'media_youtube_media_mover', ' media_youtube_validate_configuration', 'media_youtube_init' , 'media_youtube_autoload', 'media_youtube_zend_path'

You will also need to comment out the first 6 lines (27-32) in media_youtube.admin.inc function 'media_youtube_admin_form()'

I'm using version 6.x-1.1

This is what i did and everything works great with emfield.

PS: I had to add 'module_load_include('inc', 'media_youtube', 'providers/emvideo/youtube');' @ line 27 in media_youtube.admin.inc to fix the call to undefined function, as line 136 call a function in that file.

aaron’s picture

Status: Active » Fixed

sorry about that. it's fixed in dev now.

Status: Fixed » Closed (fixed)

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

glennnz’s picture

+1 for #4