Active
Project:
Video Upload
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2009 at 16:01 UTC
Updated:
15 Nov 2010 at 19:36 UTC
I am getting this error on my admin panel, even after I have uploaded zend to the module.
warning: include_once() [function.include]: Failed opening 'Zend/Loader.php' for inclusion (include_path='.:/Applications/drupal/php/lib/php:sites/all/modules/video_upload/providers/youtube') in /Applications/drupal/apps/drupal/htdocs/sites/all/modules/video_upload/providers/youtube/zend_gdata.inc on line 242.
Becky
Comments
Comment #1
kangaroobin commentedsame problem, any answers?
Comment #2
supernova00 commentedSame problem here also. Can anybody help?
Comment #3
bojanz commentedLooks like you didn't install right (or at all) Zend_GData.
Please check the INSTALL instructions of the module, and try again.
Comment #4
ClearXS commentedInstal.txt:
" Extract the tar archive, and move the subdirectory library/Zend into this directory. For example:
mv ~/downloads/ZendGdata-1.x.x/library/Zend/ /path/to/drupal/modules/video_upload/providers/youtube
replacing 1.x.x with the actual version. The current build has been tested with 1.7.2.
-or-
b) Install the libary somewhere in the existing PHP include_path of the server. "
Actually I already have this installed in: sites/all/libraries/ZendGdata/library/Zend/
http://all.drumi.org/libraries/ZendGdata/ (note that this is a sub-domain pointing to the sites/all dir of another domain)
It should go in all/libraries so:
* other modules can use the same library
* not have to look inside all modules to find;
* monitor new releases & security patches easily;
* Libraries-module preparedness taking care of them
http://drupal.org/project/libraries
Not clear is what path in all/libraries then should be used and conform other modules that need to have it in the same path; think I have used the ZendGdata default dir structure (while that even might change on new releases). Then not clear is if I should remove some surplus files and directories, but suppose they are safe to maintain there.
You say "existing PHP include_path of the server"; I have a host account; how should I do that? Think it is not installed at the server, as I can only find about "Zend Optimizer" in the hoster's help pages.
If it is a real server install, it should never go into the module and not even inside any Drupal path like sites/all/libraries...
http://framework.zend.com/manual/1.10/en/zend.gdata.html - http://framework.zend.com/download/gdata
=> ?
Comment #5
bojanz commentedI agree that this is needed.
Comment #6
jhedstromI concur. In fact, for 2.x, I'd even be in favor of making that the only way to go.
Comment #7
pixelsweatshop commented+1